summaryrefslogtreecommitdiff
path: root/vcl/inc/ilstbox.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-06-06 09:17:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-09-28 08:48:23 +0100
commite9093f294a5792b22c4dd9c6ff4090666e9aedd8 (patch)
treed3d23f4d30af3329c0f728bb53d9736c06604d24 /vcl/inc/ilstbox.hxx
parentd21bee32803a83bb86e3db796c2fad655c9431f4 (diff)
transfer contents of listboxes
Diffstat (limited to 'vcl/inc/ilstbox.hxx')
-rw-r--r--vcl/inc/ilstbox.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/vcl/inc/ilstbox.hxx b/vcl/inc/ilstbox.hxx
index a583f9be03e9..149222831d52 100644
--- a/vcl/inc/ilstbox.hxx
+++ b/vcl/inc/ilstbox.hxx
@@ -196,6 +196,8 @@ public:
first selectable entry after nPos is bForward is false.
*/
sal_uInt16 FindFirstSelectable( sal_uInt16 nPos, bool bForward = true );
+
+ void take_properties(ImplEntryList &rOther);
};
// ---------------------
@@ -388,6 +390,11 @@ public:
inline void EnableMirroring() { mbMirroring = sal_True; }
inline sal_Bool IsMirroring() const { return mbMirroring; }
+ /*
+ * Takes ownership of the rOther properties
+ */
+ virtual void take_properties(Window &rOther);
+
protected:
// ISearchableStringList
virtual ::vcl::StringEntryIdentifier CurrentEntry( String& _out_entryText ) const;
@@ -515,6 +522,8 @@ public:
// pb: #106948# explicit mirroring for calc
inline void EnableMirroring() { maLBWindow.EnableMirroring(); }
inline void SetDropTraget(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& i_xDNDListenerContainer){ mxDNDListenerContainer= i_xDNDListenerContainer; }
+
+ virtual void take_properties(Window &rOther);
};
// -----------------------------