summaryrefslogtreecommitdiff
path: root/include/sfx2/prnmon.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-04-20 13:05:24 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-04-23 12:33:44 +0200
commitc0af8057188c0e95831f9e6d1ef96a424da6f9b2 (patch)
tree6509c67d0cfcc42e3b107004167f2efcccda43cd /include/sfx2/prnmon.hxx
parent27e26fc4286f66ab1bf4c807d86b8f3254c5c68b (diff)
weld SfxPrintOptionsDialog
and SwMMResultPrintDialog Change-Id: Icded6a26a3a151293bea0c9173334cf634283e89 Reviewed-on: https://gerrit.libreoffice.org/53299 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 'include/sfx2/prnmon.hxx')
-rw-r--r--include/sfx2/prnmon.hxx19
1 files changed, 9 insertions, 10 deletions
diff --git a/include/sfx2/prnmon.hxx b/include/sfx2/prnmon.hxx
index 4f1bacd93e80..66dec0442723 100644
--- a/include/sfx2/prnmon.hxx
+++ b/include/sfx2/prnmon.hxx
@@ -22,33 +22,32 @@
#include <memory>
#include <sal/config.h>
#include <sfx2/dllapi.h>
-
-#include <vcl/button.hxx>
-#include <vcl/dialog.hxx>
#include <sfx2/printer.hxx>
+#include <vcl/weld.hxx>
class SfxViewShell;
struct SfxPrintOptDlg_Impl;
-class SfxPrintOptionsDialog : public ModalDialog
+class SfxPrintOptionsDialog : public weld::GenericDialogController
{
private:
std::unique_ptr<SfxPrintOptDlg_Impl> pDlgImpl;
SfxViewShell* pViewSh;
std::unique_ptr<SfxItemSet> pOptions;
VclPtr<SfxTabPage> pPage;
+ std::unique_ptr<weld::Widget> m_xHelpBtn;
+ std::unique_ptr<weld::Container> m_xContainer;
+ DECL_LINK(HelpRequestHdl, weld::Widget&, bool);
public:
- SfxPrintOptionsDialog( vcl::Window *pParent,
- SfxViewShell *pViewShell,
- const SfxItemSet *rOptions );
+ SfxPrintOptionsDialog(weld::Window *pParent,
+ SfxViewShell *pViewShell,
+ const SfxItemSet *rOptions);
virtual ~SfxPrintOptionsDialog() override;
- virtual void dispose() override;
- virtual short Execute() override;
- virtual bool EventNotify( NotifyEvent& rNEvt ) override;
+ short execute();
const SfxItemSet& GetOptions() const { return *pOptions; }
void DisableHelp();