diff options
Diffstat (limited to 'sc/source/ui/inc/PivotLayoutTreeList.hxx')
-rw-r--r-- | sc/source/ui/inc/PivotLayoutTreeList.hxx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sc/source/ui/inc/PivotLayoutTreeList.hxx b/sc/source/ui/inc/PivotLayoutTreeList.hxx index 8af3cd1d193d..02120e7b4812 100644 --- a/sc/source/ui/inc/PivotLayoutTreeList.hxx +++ b/sc/source/ui/inc/PivotLayoutTreeList.hxx @@ -12,6 +12,7 @@ #define INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTTREELIST_HXX #include <memory> +#include <tools/solar.h> #include "PivotLayoutTreeListBase.hxx" class ScPivotLayoutTreeList : public ScPivotLayoutTreeListBase @@ -19,19 +20,19 @@ class ScPivotLayoutTreeList : public ScPivotLayoutTreeListBase private: std::vector<std::unique_ptr<ScItemValue> > maItemValues; + DECL_LINK(KeyInputHdl, const KeyEvent&, bool); + DECL_LINK(DoubleClickHdl, weld::TreeView&, void); + public: - ScPivotLayoutTreeList(vcl::Window* pParent, WinBits nBits); + ScPivotLayoutTreeList(std::unique_ptr<weld::TreeView> xControl); virtual ~ScPivotLayoutTreeList() override; - virtual bool DoubleClickHdl() override; void Setup(ScPivotLayoutDialog* pParent, SvPivotTreeListType eType); void FillFields(ScPivotFieldVector& rFieldVector); + virtual void InsertEntryForSourceTarget(weld::TreeView& rSource, int nTarget) override; protected: - virtual void InsertEntryForSourceTarget(SvTreeListEntry* pSource, SvTreeListEntry* pTarget) override; - void InsertEntryForItem(const ScItemValue* pItemValue, sal_uLong nPosition); - - virtual void KeyInput(const KeyEvent& rKeyEvent) override; + void InsertEntryForItem(const ScItemValue* pItemValue, int nPosition); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |