class KPanelMenu
|
DCop client menu class for the Kicker panel that will insert a submenu into
the KDE menu. More... |
|
|
Public Methods
- KPanelMenu (const QString &title, QObject *parent = 0, const char *name = 0 )
- KPanelMenu (const QPixmap &icon, const QString &title, QObject *parent, const char *name)
- KPanelMenu (QObject *parent, const char *name)
- ~KPanelMenu ()
- int insertItem (const QString &text, int id = -1)
- int insertItem (const QPixmap &icon, const QString &text, int id = -1 )
- KPanelMenu * insertMenu (const QPixmap &icon, const QString &text, int id=-1)
- void clear ()
- bool process (const QCString &fun, const QByteArray &data, QCString &replyType, QByteArray &reply)
- void init (const QPixmap &icon, const QString &title)
Signals
Protected Methods
- KPanelMenu (const QString &title, QObject *parent = 0, const char *name = 0 )
- KPanelMenu (const QPixmap &icon, const QString &title, QObject *parent, const char *name)
- KPanelMenu (QObject *parent, const char *name)
- ~KPanelMenu ()
- int insertItem (const QString &text, int id = -1)
- int insertItem (const QPixmap &icon, const QString &text, int id = -1 )
- KPanelMenu * insertMenu (const QPixmap &icon, const QString &text, int id=-1)
- void clear ()
- bool process (const QCString &fun, const QByteArray &data, QCString &replyType, QByteArray &reply)
- void init (const QPixmap &icon, const QString &title)
DCop client menu class for the Kicker panel that will insert a submenu into
the KDE menu.
KPanelMenu (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.
KPanelMenu (QObject *parent, const char *name)
|
Constructs a new (sub)menu with a given id.
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.
Inserts a sub menu 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)
|
Reimplemented from DCOPObject.
[signal]
Emitted when the user selects an item from the Kicker menu.
[protected:
]
- Author: Daniel M. Duley <mosfet@kde.org>
- Generated: marc@yogi on Tue Mar 27 13:07:09 2001, using kdoc 2.0a48.