diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-06 02:20:08 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-06 02:20:08 +0000 |
commit | 2c11ce11879657392d95e59388ab0aca2bf7b7c6 (patch) | |
tree | 9c2258af8b329728202a2ef8b352484b18d11357 /kdeui/keditlistbox.h | |
parent | 45c2ea753f59bd0de7175c64c98ee4d3892d055f (diff) | |
download | tdelibs-2c11ce11879657392d95e59388ab0aca2bf7b7c6.tar.gz tdelibs-2c11ce11879657392d95e59388ab0aca2bf7b7c6.zip |
Fix FTBFS from Q_PROPERTY
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1227191 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/keditlistbox.h')
-rw-r--r-- | kdeui/keditlistbox.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kdeui/keditlistbox.h b/kdeui/keditlistbox.h index 50271a261..b322b95a3 100644 --- a/kdeui/keditlistbox.h +++ b/kdeui/keditlistbox.h @@ -47,7 +47,7 @@ class KDEUI_EXPORT KEditListBox : public TQGroupBox TQ_OBJECT TQ_SETS( Button ) - TQ_PROPERTY( Button buttons READ buttons WRITE setButtons ) + TQ_PROPERTY( Button buttons READ buttonsProp WRITE setButtonsProp ) Q_PROPERTY( TQStringList items READ items WRITE setItems ) public: @@ -221,11 +221,13 @@ public: * Returns which buttons are visible */ int buttons() const; + inline Button buttonsProp() const { return (Button)buttons(); } /** * Specifies which buttons should be visible */ void setButtons( uint buttons ); + inline void setButtonsProp( Button buttons ) { setButtons((uint)buttons); } signals: void changed(); |