From 02d16928bcd1eb2b6dfd7524ea9af591c0f5f2e0 Mon Sep 17 00:00:00 2001 From: Shubham Goyal <22shubh22@gmail.com> Date: Wed, 24 Jul 2019 10:31:04 +0530 Subject: 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 --- include/vcl/abstdlg.hxx | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'include/vcl') diff --git a/include/vcl/abstdlg.hxx b/include/vcl/abstdlg.hxx index b4b839c71fe4..365a8f6e04ed 100644 --- a/include/vcl/abstdlg.hxx +++ b/include/vcl/abstdlg.hxx @@ -119,6 +119,12 @@ protected: virtual ~AbstractSignSignatureLineDialog() override = default; }; +class VCL_DLLPUBLIC AbstractQrCodeGenDialog : public VclAbstractDialog +{ +protected: + virtual ~AbstractQrCodeGenDialog() override = default; +}; + class VCL_DLLPUBLIC AbstractTipOfTheDayDialog : public VclAbstractDialog { protected: @@ -149,6 +155,13 @@ public: const css::uno::Reference xModel) = 0; + // creates instance of QrCodeDialog from cui + virtual VclPtr + CreateQrCodeGenDialog(weld::Window* pParent, + const css::uno::Reference xModel, + bool bEditExisting) + = 0; + // creates instance of ScreenshotAnnotationDlg from cui virtual VclPtr CreateScreenshotAnnotationDlg( vcl::Window* pParent, -- cgit