diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/svxids.hrc | 5 | ||||
-rw-r--r-- | include/vcl/abstdlg.hxx | 13 |
2 files changed, 17 insertions, 1 deletions
diff --git a/include/svx/svxids.hrc b/include/svx/svxids.hrc index bbca92682819..d430f6de692f 100644 --- a/include/svx/svxids.hrc +++ b/include/svx/svxids.hrc @@ -982,8 +982,11 @@ class SvxSetItem; #define SID_TOGGLE_RESOLVED_NOTES ( SID_SVX_START + 1190 ) +#define SID_INSERT_QRCODE ( SID_SVX_START + 1191 ) +#define SID_EDIT_QRCODE ( SID_SVX_START + 1192 ) + // IMPORTANT NOTE: adjust SID_SVX_FIRSTFREE, when adding new slot id -#define SID_SVX_FIRSTFREE ( SID_SVX_START + 1190 + 1 ) +#define SID_SVX_FIRSTFREE ( SID_SVX_START + 1192 + 1 ) // Overflow check for slot IDs #if SID_SVX_FIRSTFREE > SID_SVX_END 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<css::frame::XModel> xModel) = 0; + // creates instance of QrCodeDialog from cui + virtual VclPtr<AbstractQrCodeGenDialog> + CreateQrCodeGenDialog(weld::Window* pParent, + const css::uno::Reference<css::frame::XModel> xModel, + bool bEditExisting) + = 0; + // creates instance of ScreenshotAnnotationDlg from cui virtual VclPtr<AbstractScreenshotAnnotationDlg> CreateScreenshotAnnotationDlg( vcl::Window* pParent, |