KDE3Support
k3panelmenu.h
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
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 *)
KMenu(const QString &title, QWidget *parent=0L)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.