21 #include <tqlistbox.h>
23 #include <tdelibs_export.h>
45 TDEListBox( TQWidget *parent = 0,
const char *name = 0, WFlags f = 0 );
72 void executed( TQListBoxItem *item,
const TQPoint &pos );
91 void slotOnItem( TQListBoxItem *item );
92 void slotOnViewport();
94 void slotSettingsChanged(
int);
99 void slotAutoSelect();
102 void emitExecute( TQListBoxItem *item,
const TQPoint &pos );
104 virtual void keyPressEvent(TQKeyEvent *e);
105 virtual void focusOutEvent( TQFocusEvent *fe );
106 virtual void leaveEvent( TQEvent *e );
107 virtual void contentsMousePressEvent( TQMouseEvent *e );
108 virtual void contentsMouseDoubleClickEvent ( TQMouseEvent *e );
111 bool m_bChangeCursorOverItem;
113 TQListBoxItem* m_pCurrentItem;
115 TQTimer* m_pAutoSelect;
116 int m_autoSelectDelay;
119 void slotMouseButtonClicked(
int btn, TQListBoxItem *item,
const TQPoint &pos );
122 virtual void virtual_hook(
int id,
void* data );
124 class TDEListBoxPrivate;
125 TDEListBoxPrivate*
const d;
A variant of TQListBox that honors KDE's system-wide settings.
void executed(TQListBoxItem *item)
Emitted whenever the user executes an listbox item.
void executed(TQListBoxItem *item, const TQPoint &pos)
Emitted whenever the user executes an listbox item.
void doubleClicked(TQListBoxItem *item, const TQPoint &pos)
This signal gets emitted whenever the user double clicks into the listbox.