summaryrefslogtreecommitdiff
path: root/include/vcl/button.hxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2018-11-28 22:21:57 +0100
committerJan Holesovsky <kendy@collabora.com>2018-12-07 11:52:35 +0100
commitec1b227b435a555464cb2a9fe747631485ebdbf1 (patch)
treeba4790390255eca7bd77e5ce9ecefdd0ea8fc466 /include/vcl/button.hxx
parentbb05164545cfe7101db8fe300dde22d8bac3fc7d (diff)
custom widgets: Rename 'stock' to 'action'.
If the button has this property, it means it is located in the action area, not that it is a stock button per se. Change-Id: Ia57ad24d8cd4ff1d7b74d7ef82da0f352fe3deb3
Diffstat (limited to 'include/vcl/button.hxx')
-rw-r--r--include/vcl/button.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx
index 98ac3ea9f7e9..c078c921a35a 100644
--- a/include/vcl/button.hxx
+++ b/include/vcl/button.hxx
@@ -160,14 +160,14 @@ public:
virtual bool set_property(const OString &rKey, const OUString &rValue) override;
virtual void ShowFocus(const tools::Rectangle& rRect) override;
- void setStock(bool bIsStock)
+ void setAction(bool bIsAction)
{
- mbIsStock = bIsStock;
+ mbIsAction = bIsAction;
}
- bool isStock()
+ bool isAction()
{
- return mbIsStock;
+ return mbIsAction;
}
protected:
@@ -206,7 +206,7 @@ private:
SymbolType meSymbol;
TriState meState;
bool mbPressed;
- bool mbIsStock;
+ bool mbIsAction;
};
inline void PushButton::Check( bool bCheck )