summaryrefslogtreecommitdiffstats
path: root/kdeui
diff options
context:
space:
mode:
Diffstat (limited to 'kdeui')
-rw-r--r--kdeui/keditlistbox.h4
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();