diff options
author | Shubham Goyal <22shubh22@gmail.com> | 2019-07-24 10:31:04 +0530 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-08-01 22:32:11 +0200 |
commit | 02d16928bcd1eb2b6dfd7524ea9af591c0f5f2e0 (patch) | |
tree | dc92a0b8b4e940e8224a6ccef9ee37b4b29a328e /cui/source/factory/dlgfact.cxx | |
parent | 8fe5161a9e36d8285c489da7167d7cca27cb0f1d (diff) |
Make QR Code callable in calc and writer
Change-Id: I73793100478c34a7721821cec1f8ccec0174d20c
Reviewed-on: https://gerrit.libreoffice.org/74598
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'cui/source/factory/dlgfact.cxx')
-rw-r--r-- | cui/source/factory/dlgfact.cxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index ce64ed27db69..37460b879aa0 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -61,6 +61,7 @@ #include <linkdlg.hxx> #include <SignatureLineDialog.hxx> #include <SignSignatureLineDialog.hxx> +#include <QrCodeGenDialog.hxx> #include <SpellDialog.hxx> #include <cfg.hxx> #include <numpages.hxx> @@ -319,6 +320,11 @@ short AbstractSignSignatureLineDialog_Impl::Execute() return m_xDlg->run(); } +short AbstractQrCodeGenDialog_Impl::Execute() +{ + return m_xDlg->run(); +} + IMPL_ABSTDLG_BASE(AbstractScreenshotAnnotationDlg_Impl); short CuiAbstractTabController_Impl::Execute() @@ -1622,6 +1628,13 @@ AbstractDialogFactory_Impl::CreateSignSignatureLineDialog(weld::Window* pParent, std::make_unique<SignSignatureLineDialog>(pParent, xModel)); } +VclPtr<AbstractQrCodeGenDialog> AbstractDialogFactory_Impl::CreateQrCodeGenDialog( + weld::Window* pParent, const Reference<XModel> xModel, bool bEditExisting) +{ + return VclPtr<AbstractQrCodeGenDialog_Impl>::Create( + std::make_unique<QrCodeGenDialog>(pParent, xModel, bEditExisting)); +} + VclPtr<AbstractTipOfTheDayDialog> AbstractDialogFactory_Impl::CreateTipOfTheDayDialog(weld::Window* pParent) { |