KDE3Support
k3panelmenu.cpp
Go to the documentation of this file.
bool initialized() const
Tell if the menu has been initialized, that is it already contains items.
Definition: k3panelmenu.cpp:124
void reinitialize()
Reinitialize the menu: the menu is first cleared, the initial state is set to false,...
Definition: k3panelmenu.cpp:134
void deinitialize()
Deinitialize the menu: the menu is cleared and the initialized state is set to false.
Definition: k3panelmenu.cpp:143
virtual void slotAboutToShow()
This slot is called just before the menu is shown.
Definition: k3panelmenu.cpp:78
virtual void hideEvent(QHideEvent *ev)
Re-implemented for internal reasons.
Definition: k3panelmenu.cpp:97
void setPath(const QString &p)
Set a directory path to be associated with this menu.
Definition: k3panelmenu.cpp:119
virtual void slotExec(int id)=0
This is slot is called when an item from the menu has been selected.
const QString & path() const
Get the directory path associated with this menu, or QString() if there's no such associated path.
Definition: k3panelmenu.cpp:114
void slotClear()
Clears the menu, and update the initial state accordingly.
Definition: k3panelmenu.cpp:91
virtual void hideEvent(QHideEvent *)
void setKeyboardShortcutsEnabled(bool enable)
int timeout
KSharedConfigPtr config()
KAction * clear(const QObject *recvr, const char *slot, QObject *parent)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.