summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-01-30 15:36:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-01-30 20:12:38 +0100
commitb70d96db53085bdd4e66c22857590d5b2cd391f9 (patch)
treeb9b1ff9f4285de3e192711fb7dd7d6972ab2e9e5 /sw/inc
parentc91faacfb7dd26fe7b7c93c7af5d4c330779a59f (diff)
make sorting dialog async
Change-Id: I9773ec07e13144662a06307452b17f9e96527e89 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162759 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/swabstdlg.hxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/sw/inc/swabstdlg.hxx b/sw/inc/swabstdlg.hxx
index 597781c04f13..4ea4085f387e 100644
--- a/sw/inc/swabstdlg.hxx
+++ b/sw/inc/swabstdlg.hxx
@@ -419,6 +419,13 @@ public:
virtual std::optional<SwLanguageListItem> GetSelectedLanguage() = 0;
};
+class AbstractSwSortDlg : public VclAbstractDialog
+{
+protected:
+ virtual ~AbstractSwSortDlg() override = default;
+public:
+ virtual void Apply() = 0;
+};
class AbstractSwTableWidthDlg : public VclAbstractDialog
{
@@ -488,7 +495,7 @@ public:
virtual VclPtr<AbstractSwSelGlossaryDlg> CreateSwSelGlossaryDlg(weld::Window *pParent, const OUString &rShortName) = 0;
- virtual VclPtr<VclAbstractDialog> CreateSwSortingDialog(weld::Window *pParent, SwWrtShell &rSh) = 0;
+ virtual VclPtr<AbstractSwSortDlg> CreateSwSortingDialog(weld::Window *pParent, SwWrtShell &rSh) = 0;
virtual VclPtr<VclAbstractDialog> CreateSwTableHeightDialog(weld::Window *pParent, SwWrtShell &rSh) = 0;
virtual VclPtr<VclAbstractDialog> CreateSwColumnDialog(weld::Window *pParent, SwWrtShell &rSh) = 0;
virtual VclPtr<AbstractSplitTableDialog> CreateSplitTableDialog(weld::Window* pParent, SwWrtShell &rSh) = 0;