diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-12-11 20:30:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-12-12 21:07:12 +0100 |
commit | 3bd103064ba719013471d9664ea2c1f207b84d90 (patch) | |
tree | b15086268b4858614f19b746e67b870945de1b0b /include/vcl | |
parent | 27995e638e1582b443befa93bc5dfd5970a38ef2 (diff) |
weld SwCaptionOptPage
Change-Id: I3373a39d6d8b39717b7aec69544a9d2957db15d8
Reviewed-on: https://gerrit.libreoffice.org/65010
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/weld.hxx | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index 7edfba8b7496..98521af326c5 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -313,6 +313,7 @@ private: protected: Link<ComboBox&, void> m_aChangeHdl; Link<ComboBox&, bool> m_aEntryActivateHdl; + Link<OUString&, bool> m_aEntryInsertTextHdl; void signal_changed() { m_aChangeHdl.Call(*this); } @@ -379,6 +380,11 @@ public: virtual bool get_popup_shown() const = 0; + void connect_entry_insert_text(const Link<OUString&, bool>& rLink) + { + m_aEntryInsertTextHdl = rLink; + } + // callback returns true to indicated no further processing of activate wanted void connect_entry_activate(const Link<ComboBox&, bool>& rLink) { m_aEntryActivateHdl = rLink; } @@ -413,10 +419,7 @@ protected: void signal_row_activated() { m_aRowActivatedHdl.Call(*this); } bool signal_expanding(TreeIter& rIter) { return m_aExpandingHdl.Call(rIter); } // arg is pair<row,col> - void signal_radio_toggled(const std::pair<int, int>& rRowCol) - { - m_aRadioToggleHdl.Call(rRowCol); - } + void signal_toggled(const std::pair<int, int>& rRowCol) { m_aRadioToggleHdl.Call(rRowCol); } public: virtual void insert(weld::TreeIter* pParent, int pos, const OUString* pStr, const OUString* pId, @@ -459,7 +462,7 @@ public: void connect_changed(const Link<TreeView&, void>& rLink) { m_aChangeHdl = rLink; } void connect_row_activated(const Link<TreeView&, void>& rLink) { m_aRowActivatedHdl = rLink; } - void connect_radio_toggled(const Link<const std::pair<int, int>&, void>& rLink) + void connect_toggled(const Link<const std::pair<int, int>&, void>& rLink) { m_aRadioToggleHdl = rLink; } |