summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/vcl/weld.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index d059e9cd455d..da1522787258 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -2154,6 +2154,10 @@ public:
// return what modifiers are held
virtual sal_uInt16 get_modifier_state() const = 0;
+ // This function returns the position a new item should be inserted if dnd
+ // is dropped at rPoint
+ virtual int get_drop_index(const Point& rPoint) const = 0;
+
void connect_clicked(const Link<const OString&, void>& rLink) { m_aClickHdl = rLink; }
void connect_menu_toggled(const Link<const OString&, void>& rLink) { m_aToggleMenuHdl = rLink; }
};