diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-02-21 21:20:15 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-02-25 20:03:26 +0100 |
commit | d75144cf44779a8f6cc9bccf9b0a6328b94a5b90 (patch) | |
tree | 25b9f3c677c50ad715e1a0bc6bef3d5bf79ef957 /uui/source/sslwarndlg.hxx | |
parent | 8d42909cd326cb26d8ba1fb383b5578f820c72ed (diff) |
convert remaining InfoBox to weld::MessageDialog
Change-Id: I91d828e38d96264cf4a76f30940942556b8f78d8
Reviewed-on: https://gerrit.libreoffice.org/50205
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/sslwarndlg.hxx')
-rw-r--r-- | uui/source/sslwarndlg.hxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/uui/source/sslwarndlg.hxx b/uui/source/sslwarndlg.hxx index 2c0a992dcc2d..2183160ce2ff 100644 --- a/uui/source/sslwarndlg.hxx +++ b/uui/source/sslwarndlg.hxx @@ -19,7 +19,6 @@ #ifndef INCLUDED_UUI_SOURCE_SSLWARNDLG_HXX #define INCLUDED_UUI_SOURCE_SSLWARNDLG_HXX -#include <vcl/fixed.hxx> #include <vcl/button.hxx> #include <vcl/messagedialog.hxx> #include <com/sun/star/security/XCertificate.hpp> @@ -32,19 +31,22 @@ class SSLWarnDialog : public MessageDialog { private: + VclPtr<PushButton> m_xView; const css::uno::Reference< css::uno::XComponentContext >& m_xContext; const css::uno::Reference< css::security::XCertificate >& m_rXCert; - void ViewCert(); + DECL_LINK(ViewCertHdl, Button*, void); public: SSLWarnDialog( vcl::Window* pParent, const css::uno::Reference< css::security::XCertificate >& rXCert, const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual void response(short nResponseId) override; - void setDescription1Text(const OUString &aText) { set_primary_text(aText); } + + virtual void dispose() override; + + virtual ~SSLWarnDialog() override; }; #endif // INCLUDED_UUI_SOURCE_SSLWARNDLG_HXX |