From 2c11ce11879657392d95e59388ab0aca2bf7b7c6 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 6 Apr 2011 02:20:08 +0000 Subject: [PATCH] Fix FTBFS from Q_PROPERTY git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1227191 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeui/keditlistbox.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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();