summaryrefslogtreecommitdiff
path: root/uui/source/trylater.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-02-26 16:53:37 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-02-27 11:22:49 +0100
commit082e69fefb7439fd4f3d543f0c402039e94c1e9c (patch)
tree8348cacdc54a15dae722b93fc198995756924fc0 /uui/source/trylater.hxx
parentf41a08183504a59d6ffc7a00ed7f24e6b19995ab (diff)
convert various MessBox to weld::MessageDialog
Change-Id: I4d2d0393c753114aeb9bb7e646dfdc810f6caa38 Reviewed-on: https://gerrit.libreoffice.org/50398 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'uui/source/trylater.hxx')
-rw-r--r--uui/source/trylater.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/uui/source/trylater.hxx b/uui/source/trylater.hxx
index f03f3cf92187..26b1d6714b9c 100644
--- a/uui/source/trylater.hxx
+++ b/uui/source/trylater.hxx
@@ -19,13 +19,15 @@
#ifndef INCLUDED_UUI_SOURCE_TRYLATER_HXX
#define INCLUDED_UUI_SOURCE_TRYLATER_HXX
-#include <vcl/msgbox.hxx>
+#include <vcl/weld.hxx>
-class TryLaterQueryBox : public MessBox
+class TryLaterQueryBox
{
+private:
+ std::unique_ptr<weld::MessageDialog> m_xQueryBox;
public:
- TryLaterQueryBox(vcl::Window* pParent, const std::locale& rLocale, const OUString& aMessage, bool bEnableOverride);
- virtual ~TryLaterQueryBox() override;
+ TryLaterQueryBox(weld::Window* pParent, const std::locale& rLocale, const OUString& aMessage, bool bEnableOverride);
+ short run() { return m_xQueryBox->run(); }
};
#endif