diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-02-07 21:19:37 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-02-08 10:59:15 +0100 |
commit | eb25b3c94053b4b614d7c8f983158d6519e530c1 (patch) | |
tree | b6961d95abaad7977bf1ebf6e37f5bb699ffec70 /include/vcl | |
parent | 74ed61e793ff9641a2c67b83327b066cb9a1af3d (diff) |
weld AddConditionDialog
Change-Id: Ib685ea89b31c1f000bc2276e3362ba059f997422
Reviewed-on: https://gerrit.libreoffice.org/67521
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 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index bcb6a898105a..e4248c61a314 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -1231,6 +1231,11 @@ class VCL_DLLPUBLIC TextView : virtual public Container private: OUString m_sSavedValue; +protected: + Link<TextView&, void> m_aChangeHdl; + + void signal_changed() { m_aChangeHdl.Call(*this); } + public: virtual void set_text(const OUString& rText) = 0; virtual OUString get_text() const = 0; @@ -1246,6 +1251,8 @@ public: void save_value() { m_sSavedValue = get_text(); } bool get_value_changed_from_saved() const { return m_sSavedValue != get_text(); } + + void connect_changed(const Link<TextView&, void>& rLink) { m_aChangeHdl = rLink; } }; class VCL_DLLPUBLIC Expander : virtual public Container |