kwidgetlister.cpp
46 KWidgetLister::KWidgetLister( int minWidgets, int maxWidgets, TQWidget *parent, const char* name )
60 mBtnMore = new KPushButton( KGuiItem( i18n( "more widgets", "More" ), "button_more" ), mButtonBox );
63 mBtnFewer = new KPushButton( KGuiItem( i18n( "fewer widgets", "Fewer" ), "button_fewer" ), mButtonBox );
69 // FIXME: We need a KStdGuiItem::clear here and in other locations to be automagically RTL aware - Martijn
70 mBtnClear = new KPushButton( KGuiItem( i18n( "clear widgets", "Clear" ), "locationbar_erase" ), mButtonBox );
virtual void slotFewer()
Called whenever the user clicks on the 'fewer' button.
Definition: kwidgetlister.cpp:99
virtual void clearWidget(TQWidget *)
Called to clear a given widget.
Definition: kwidgetlister.cpp:145
virtual void slotMore()
Called whenever the user clicks on the 'more' button.
Definition: kwidgetlister.cpp:88
virtual void setNumberOfShownWidgetsTo(int aNum)
Sets the number of widgets on scrren to exactly aNum.
Definition: kwidgetlister.cpp:154
virtual void slotClear()
Called whenever the user clicks on the 'clear' button.
Definition: kwidgetlister.cpp:110
virtual void removeLastWidget()
Removes a single (always the last) widget.
Definition: kwidgetlister.cpp:136
virtual TQWidget * createWidget(TQWidget *parent)
Because QT 2.x does not support signals/slots in template classes, we are forced to emulate this by f...
Definition: kwidgetlister.cpp:149