kpanelmenu.cpp
KPanelMenu(TQWidget *parent=0, const char *name=0)
Construct a KPanelMenu object.
Definition: kpanelmenu.cpp:49
void deinitialize()
Deinitialize the menu: the menu is cleared and the initialized state is set to false.
Definition: kpanelmenu.cpp:143
virtual void hideEvent(TQHideEvent *ev)
Re-implemented for internal reasons.
Definition: kpanelmenu.cpp:98
virtual void slotExec(int id)=0
This is slot is called when an item from the menu has been selected.
bool initialized() const
Tell if the menu has been initialized, that is it already contains items.
Definition: kpanelmenu.cpp:124
const TQString & path() const
Get the directory path associated with this menu, or TQString::null if there's no such associated pat...
Definition: kpanelmenu.cpp:114
void reinitialize()
Reinitialize the menu: the menu is first cleared, the initial state is set to false, and finally initialize() is called.
Definition: kpanelmenu.cpp:134
void slotClear()
Clears the menu, and update the initial state accordingly.
Definition: kpanelmenu.cpp:92
void setPath(const TQString &p)
Set a directory path to be associated with this menu.
Definition: kpanelmenu.cpp:119
static TDEConfig * config()
void setKeyboardShortcutsEnabled(bool enable)
Enables keyboard navigation by searching for the entered key sequence.
Definition: tdepopupmenu.cpp:479
virtual void slotAboutToShow()
This slot is called just before the menu is shown.
Definition: kpanelmenu.cpp:79