diff options
Diffstat (limited to 'vcl/inc/iconview.hxx')
-rw-r--r-- | vcl/inc/iconview.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/inc/iconview.hxx b/vcl/inc/iconview.hxx index c5ece6d4aeb1..bc84a6ea436d 100644 --- a/vcl/inc/iconview.hxx +++ b/vcl/inc/iconview.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SVTOOLS_ICONVIEW_HXX #define INCLUDED_SVTOOLS_ICONVIEW_HXX +#include <tools/json_writer.hxx> #include <vcl/toolkit/treelistbox.hxx> class IconView final : public SvTreeListBox @@ -47,11 +48,18 @@ public: virtual FactoryFunction GetUITestFactory() const override; virtual void DumpAsPropertyTree(tools::JsonWriter& rJsonWriter) override; + void SetDumpElemToPropertyTreeHdl(const Link<const tools::json_prop_query&, bool>& rLink) + { + maDumpElemToPropertyTreeHdl = rLink; + } + protected: virtual void CalcEntryHeight(SvTreeListEntry const* pEntry) override; private: Link<SvTreeListEntry*, OUString> maEntryAccessibleDescriptionHdl; + Link<const tools::json_prop_query&, bool> maDumpElemToPropertyTreeHdl; + void DumpEntryAndSiblings(tools::JsonWriter& rJsonWriter, SvTreeListEntry* pEntry); }; #endif |