diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2019-03-11 22:40:32 -0400 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2019-03-12 13:44:08 +0100 |
commit | e5a0bafa330c58d6c9352d3acbe4e97fafa1ad56 (patch) | |
tree | 099192880087ea92589323def40c64c367d71ea2 /include | |
parent | ab71569a7c1e1a262bfbfac998cf4acb092ed383 (diff) |
Make the Help URL configurable
When the Help URL is blank, the Help
buttons are hidden LOK (but not desktop).
Change-Id: Ibd76452108d1e3a92fb43f2c0af0586b0cbed073
Reviewed-on: https://gerrit.libreoffice.org/69071
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/button.hxx | 2 | ||||
-rw-r--r-- | include/vcl/settings.hxx | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx index fbba11e5ef81..af8354994025 100644 --- a/include/vcl/button.hxx +++ b/include/vcl/button.hxx @@ -269,6 +269,8 @@ private: HelpButton( const HelpButton & ) = delete; HelpButton & operator= ( const HelpButton & ) = delete; + virtual void StateChanged( StateChangedType nStateChange ) override; + public: explicit HelpButton( vcl::Window* pParent, WinBits nStyle = 0 ); diff --git a/include/vcl/settings.hxx b/include/vcl/settings.hxx index 494e2bb8f24f..3f03059c7fc3 100644 --- a/include/vcl/settings.hxx +++ b/include/vcl/settings.hxx @@ -650,6 +650,8 @@ public: void SetTipTimeout( sal_uLong nTipTimeout ); sal_uLong GetTipTimeout() const; sal_uLong GetBalloonDelay() const; + OUString GetHelpURL() const; + void SetHelpURL(const OUString& rsHelpURL); bool operator ==( const HelpSettings& rSet ) const; bool operator !=( const HelpSettings& rSet ) const; |