class PanelMenu
|
DCop client menu class for the Kicker panel that will insert a submenu into
the KDE menu. More... |
|
|
Public Methods
- PanelMenu (const QString &title, QObject *parent = 0, const char *name = 0 )
- PanelMenu (const QPixmap &icon, const QString &title, QObject *parent, const char *name)
- ~PanelMenu ()
- int insertItem (const QString &text, int id = -1)
- int insertItem (const QPixmap &icon, const QString &text, int id = -1 )
- void clear ()
- bool process (const QCString &fun, const QByteArray &data, QCString &replyType, QByteArray &reply)
Signals
Protected Methods
- void init (const QPixmap &icon, const QString &title)
Detailed Description
DCop client menu class for the Kicker panel that will insert a submenu into
the KDE menu.
PanelMenu (const QString &title, QObject *parent = 0, const char *name = 0 )
|
Constructs a new menu with the given title.
Same as above, but with an icon for the submenu item.
Make sure you actually destroy this thing or the menu will never go
away until this application quits or Kicker restarts ;-)
int insertItem (const QString &text, int id = -1)
|
Inserts an item into the menu.
int insertItem (const QPixmap &icon, const QString &text, int id = -1 )
|
Inserts an item with a icon. The icon name must be a full path.
Clears the menu.
bool process (const QCString &fun, const QByteArray &data, QCString &replyType, QByteArray &reply)
|
[signal]
Emitted when the user selects an item from the Kicker menu.
- Author: Daniel M. Duley <mosfet@kde.org>
- Generated: root@tantive.terraplex.com on Sun Feb 27 17:39:25 2000, using kdoc 2.0a33.