summaryrefslogtreecommitdiff
path: root/cui/source/customize/macropg_impl.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-05-16 15:12:48 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-05-17 09:57:03 +0200
commit6b703887165a89b5a9003a3925985ec92292884e (patch)
tree9e38a060feb991aa114b41a129cd0b3186259b2a /cui/source/customize/macropg_impl.hxx
parentc899ad348c375e6c59dbbc30e2458d9cbe226c12 (diff)
weld AssignComponentDialog
Change-Id: I09fac24b81248bc27128d9142487301d4dc8ea6a Reviewed-on: https://gerrit.libreoffice.org/54440 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/customize/macropg_impl.hxx')
-rw-r--r--cui/source/customize/macropg_impl.hxx16
1 files changed, 7 insertions, 9 deletions
diff --git a/cui/source/customize/macropg_impl.hxx b/cui/source/customize/macropg_impl.hxx
index b3d9d3842bf0..61f7fe3ac73c 100644
--- a/cui/source/customize/macropg_impl.hxx
+++ b/cui/source/customize/macropg_impl.hxx
@@ -37,23 +37,21 @@ public:
bool bIDEDialogMode;
};
-class AssignComponentDialog : public ModalDialog
+class AssignComponentDialog : public weld::GenericDialogController
{
private:
- VclPtr<Edit> mpMethodEdit;
- VclPtr<OKButton> mpOKButton;
-
OUString maURL;
- DECL_LINK(ButtonHandler, Button*, void);
+ std::unique_ptr<weld::Entry> mxMethodEdit;
+ std::unique_ptr<weld::Button> mxOKButton;
+
+ DECL_LINK(ButtonHandler, weld::Button&, void);
public:
- AssignComponentDialog( vcl::Window * pParent, const OUString& rURL );
+ AssignComponentDialog(weld::Window* pParent, const OUString& rURL);
virtual ~AssignComponentDialog() override;
- virtual void dispose() override;
- const OUString& getURL() const
- { return maURL; }
+ const OUString& getURL() const { return maURL; }
};
#endif