summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-11-30 13:29:23 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-12-02 11:10:31 +0100
commitcd5bef5e19c2812386ab6afee4b3bc43fe5541b9 (patch)
treeacaca75e4a2972beb0fc8c0867f048ccc238ec67 /include
parente84d236a81af429e92f3da39a83cca02da8fe3aa (diff)
weld ScShareDocumentDlg
Change-Id: I790f957c9ebc6d87a94a355c30215245aaabeb30 Reviewed-on: https://gerrit.libreoffice.org/64345 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/seleng.hxx4
-rw-r--r--include/vcl/vclenum.hxx2
-rw-r--r--include/vcl/weld.hxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/include/vcl/seleng.hxx b/include/vcl/seleng.hxx
index e3642330276d..a95bbedc15fc 100644
--- a/include/vcl/seleng.hxx
+++ b/include/vcl/seleng.hxx
@@ -23,6 +23,7 @@
#include <vcl/dllapi.h>
#include <vcl/timer.hxx>
#include <vcl/event.hxx>
+#include <vcl/vclenum.hxx>
#include <o3tl/typed_flags_set.hxx>
namespace vcl { class Window; }
@@ -34,9 +35,6 @@ class CommandEvent;
#define SELENG_AUTOREPEAT_INTERVAL_MIN 25
#define SELENG_AUTOREPEAT_INTERVAL_MAX 300
-enum class SelectionMode { NONE, Single, Range, Multiple };
-
-
class VCL_DLLPUBLIC FunctionSet
{
public:
diff --git a/include/vcl/vclenum.hxx b/include/vcl/vclenum.hxx
index 4ada41058a22..a55c5b0ceb35 100644
--- a/include/vcl/vclenum.hxx
+++ b/include/vcl/vclenum.hxx
@@ -23,6 +23,8 @@
#include <sal/types.h>
#include <tools/fontenum.hxx>
+enum class SelectionMode { NONE, Single, Range, Multiple };
+
enum class TimeFieldFormat : sal_Int32 { F_NONE, F_SEC, F_SEC_CS };
enum class MenuItemType { DONTKNOW, STRING, IMAGE, STRINGIMAGE, SEPARATOR };
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index 946966ca3214..e14c1b34ad45 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -528,7 +528,7 @@ public:
virtual void set_column_fixed_widths(const std::vector<int>& rWidths) = 0;
virtual OUString get_column_title(int nColumn) const = 0;
- virtual void set_selection_mode(bool bMultiple) = 0;
+ virtual void set_selection_mode(SelectionMode eMode) = 0;
virtual int count_selected_rows() const = 0;
};