summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-21 09:31:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-22 08:31:55 +0200
commita2736303fea5ad2305ca8d38b90f5a21a8ab6a67 (patch)
tree9661b4756f8d1c5c9c4046312c44973024ee6796 /include/svtools
parent2d1fe7fb67ec1ff1b96912c0945d17d54aecb12e (diff)
convert WB_QUICK_SEARCH/WB_FORCE_MAKEVISIBLE to bool fields
Change-Id: Ic297d97911a6c0356d24ffe4b58442dfe866139f Reviewed-on: https://gerrit.libreoffice.org/41407 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/treelistbox.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx
index 72f98265fc4b..987a7c85ae19 100644
--- a/include/svtools/treelistbox.hxx
+++ b/include/svtools/treelistbox.hxx
@@ -229,6 +229,7 @@ class SVT_DLLPUBLIC SvTreeListBox
bool mbContextBmpExpanded;
bool mbAlternatingRowColors;
bool mbUpdateAlternatingRows;
+ bool mbQuickSearch; // Enables type-ahead search in the check list box.
SvTreeListEntry* pHdlEntry;
@@ -537,8 +538,6 @@ protected:
SVT_DLLPRIVATE SvLBoxItem* GetItem_Impl( SvTreeListEntry*, long nX, SvLBoxTab** ppTab );
SVT_DLLPRIVATE void ImplInitStyle();
-protected:
-
void SetupDragOrigin();
void EditItemText( SvTreeListEntry* pEntry, SvLBoxString* pItem,
const Selection& );
@@ -766,6 +765,11 @@ public:
void SetAlternatingRowColors( const bool bEnable );
+ // Enables type-ahead search in the check list box.
+ void SetQuickSearch(bool bEnable) { mbQuickSearch = bEnable; }
+
+ void SetForceMakeVisible(bool bEnable);
+
virtual FactoryFunction GetUITestFactory() const override;
};