class PanelMenu

DCop client menu class for the Kicker panel that will insert a submenu into the KDE menu. More...

Definition#include <panelmenu.h>
InheritsDCOPObject (dcop) [private], QObject (kdecore)
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Signals

Protected Methods


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.

PanelMenu (const QPixmap &icon, const QString &title, QObject *parent, const char *name)

Same as above, but with an icon for the submenu item.

~PanelMenu ()

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.

void clear ()

Clears the menu.

bool process (const QCString &fun, const QByteArray &data, QCString &replyType, QByteArray &reply)

void activated (int id)
[signal]

Emitted when the user selects an item from the Kicker menu.