diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-01-31 10:35:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-01-31 17:22:08 +0100 |
commit | d1ac38a3d269ce862c17da00885c8b0b0bee5e6c (patch) | |
tree | 7b95a1afbf53a18aa5837236d0b974a5224f8d78 /sw/inc | |
parent | 09c29b56fe8af1f3428a96017fec4d921e023906 (diff) |
make change-db dialog async
Change-Id: I3310592cb2e7922f86ead8a6e19792e5852a4ca1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162806
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/swabstdlg.hxx | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sw/inc/swabstdlg.hxx b/sw/inc/swabstdlg.hxx index 4877095d761c..2af7aea2ef29 100644 --- a/sw/inc/swabstdlg.hxx +++ b/sw/inc/swabstdlg.hxx @@ -451,6 +451,15 @@ protected: public: virtual void Apply() = 0; }; + +class AbstractChangeDbDialog : public VclAbstractDialog +{ +protected: + virtual ~AbstractChangeDbDialog() override = default; +public: + virtual void UpdateFields() = 0; +}; + class SwAbstractDialogFactory { public: @@ -475,7 +484,7 @@ public: virtual std::shared_ptr<AbstractSwBreakDlg> CreateSwBreakDlg(weld::Window *pParent, SwWrtShell &rSh) = 0; virtual std::shared_ptr<AbstractSwTranslateLangSelectDlg> CreateSwTranslateLangSelectDlg(weld::Window *pParent, SwWrtShell &rSh) = 0; - virtual VclPtr<VclAbstractDialog> CreateSwChangeDBDlg(SwView& rVw) = 0; + virtual VclPtr<AbstractChangeDbDialog> CreateSwChangeDBDlg(SwView& rVw) = 0; virtual VclPtr<SfxAbstractTabDialog> CreateSwCharDlg(weld::Window* pParent, SwView& pVw, const SfxItemSet& rCoreSet, SwCharDlgMode nDialogMode, const OUString* pFormatStr = nullptr) = 0; virtual VclPtr<AbstractSwConvertTableDlg> CreateSwConvertTableDlg(SwView& rView, bool bToTable) = 0; |