kdeui
KPanelAppMenu Class Reference
DCop client menu class for the Kicker panel that will insert a submenu into the KDE menu. More...
#include <kpanelappmenu.h>
Inheritance diagram for KPanelAppMenu:
Signals | |
void | activated (int id) |
Public Member Functions | |
void | clear () |
int | insertItem (const QPixmap &icon, const QString &text, int id=-1) |
int | insertItem (const QString &text, int id=-1) |
KPanelAppMenu * | insertMenu (const QPixmap &icon, const QString &text, int id=-1) |
KPanelAppMenu (QObject *parent, const char *name) | |
KPanelAppMenu (const QPixmap &icon, const QString &title, QObject *parent, const char *name) | |
KPanelAppMenu (const QString &title, QObject *parent=0, const char *name=0) | |
bool | process (const QCString &fun, const QByteArray &data, QCString &replyType, QByteArray &replyData) |
~KPanelAppMenu () | |
Protected Member Functions | |
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.
Definition at line 37 of file kpanelappmenu.h.
Constructor & Destructor Documentation
KPanelAppMenu::KPanelAppMenu | ( | const QPixmap & | icon, | |
const QString & | title, | |||
QObject * | parent, | |||
const char * | name | |||
) |
Same as above, but with an icon for the submenu item.
Definition at line 45 of file kpanelappmenu.cpp.
KPanelAppMenu::KPanelAppMenu | ( | QObject * | parent, | |
const char * | name | |||
) |
KPanelAppMenu::~KPanelAppMenu | ( | ) |
Make sure you actually destroy this thing or the menu will never go away until this application quits or Kicker restarts ;-).
Definition at line 87 of file kpanelappmenu.cpp.
Member Function Documentation
void KPanelAppMenu::activated | ( | int | id | ) | [signal] |
Emitted when the user selects an item from the Kicker menu.
void KPanelAppMenu::clear | ( | ) |
Definition at line 61 of file kpanelappmenu.cpp.
Inserts an item with a icon.
The icon name must be a full path.
Definition at line 96 of file kpanelappmenu.cpp.
int KPanelAppMenu::insertItem | ( | const QString & | text, | |
int | id = -1 | |||
) |
KPanelAppMenu * KPanelAppMenu::insertMenu | ( | const QPixmap & | icon, | |
const QString & | text, | |||
int | id = -1 | |||
) |
Inserts a sub menu with a icon.
The icon name must be a full path.
Definition at line 109 of file kpanelappmenu.cpp.
bool KPanelAppMenu::process | ( | const QCString & | fun, | |
const QByteArray & | data, | |||
QCString & | replyType, | |||
QByteArray & | replyData | |||
) |
The documentation for this class was generated from the following files: