diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-09-30 17:42:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-10-01 18:46:21 +0200 |
commit | 0d1df8d5ea2ee25903044d7cb72d00a721a1b902 (patch) | |
tree | b80e43a012428ba0c67129bfe9e74d211bf1fa51 /include/vcl | |
parent | 38bef03742c94376a974f84693ff2e48693e6839 (diff) |
weld SvxLineTabPage
Change-Id: I91d7ec8a51ce935db40c57feeeed7b160cf4dad8
Reviewed-on: https://gerrit.libreoffice.org/61172
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 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index 687f9d28ab1b..558e7a1d34f9 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -1039,6 +1039,23 @@ public: virtual void set_sensitive(const OString& rIdent, bool bSensitive) = 0; virtual void set_active(const OString& rIdent, bool bActive) = 0; virtual void show(const OString& rIdent, bool bShow) = 0; + + virtual void insert(int pos, const OUString& rId, const OUString& rStr, + const OUString* pIconName, VirtualDevice* pImageSufface) + = 0; + void append(const OUString& rId, const OUString& rStr) + { + insert(-1, rId, rStr, nullptr, nullptr); + } + void append(const OUString& rId, const OUString& rStr, const OUString& rImage) + { + insert(-1, rId, rStr, &rImage, nullptr); + } + void append(const OUString& rId, const OUString& rStr, VirtualDevice& rImage) + { + insert(-1, rId, rStr, nullptr, &rImage); + } + virtual ~Menu() {} }; |