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