.TH "KPanelAppMenu" kde3 "11 Jun 2005" "Version Version 3.4.1" "kdeui Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KPanelAppMenu \- DCop client menu class for the Kicker panel that will insert a submenu into the KDE menu.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kpanelappmenu.h>\fP
.PP
Inherits \fBQObject\fP, and \fBDCOPObject\fP.
.PP
.SS "Signals"

.in +1c
.ti -1c
.RI "void \fBactivated\fP (int id)"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKPanelAppMenu\fP (const \fBQString\fP &title, \fBQObject\fP *\fBparent\fP=0, const char *\fBname\fP=0)"
.br
.ti -1c
.RI "\fBKPanelAppMenu\fP (const \fBQPixmap\fP &icon, const \fBQString\fP &title, \fBQObject\fP *\fBparent\fP, const char *\fBname\fP)"
.br
.ti -1c
.RI "\fBKPanelAppMenu\fP (\fBQObject\fP *\fBparent\fP, const char *\fBname\fP)"
.br
.ti -1c
.RI "\fB~KPanelAppMenu\fP ()"
.br
.ti -1c
.RI "int \fBinsertItem\fP (const \fBQString\fP &text, int id=-1)"
.br
.ti -1c
.RI "int \fBinsertItem\fP (const \fBQPixmap\fP &icon, const \fBQString\fP &text, int id=-1)"
.br
.ti -1c
.RI "\fBKPanelAppMenu\fP * \fBinsertMenu\fP (const \fBQPixmap\fP &icon, const \fBQString\fP &text, int id=-1)"
.br
.ti -1c
.RI "void \fBclear\fP ()"
.br
.ti -1c
.RI "bool \fBprocess\fP (const \fBQCString\fP &fun, const \fBQByteArray\fP &data, \fBQCString\fP &replyType, \fBQByteArray\fP &reply)"
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "void \fBinit\fP (const \fBQPixmap\fP &icon, const \fBQString\fP &title)"
.br
.in -1c
.SH "Detailed Description"
.PP 
DCop client menu class for the Kicker panel that will insert a submenu into the KDE menu. 

\fBAuthor:\fP
.RS 4
Daniel M. Duley <mosfet@kde.org> 
.RE
.PP

.PP
Definition at line 37 of file kpanelappmenu.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KPanelAppMenu::KPanelAppMenu (const \fBQString\fP & title, \fBQObject\fP * parent = \fC0\fP, const char * name = \fC0\fP)"
.PP
Constructs a new menu with the given title. 
.PP
Definition at line 38 of file kpanelappmenu.cpp.
.PP
Referenced by insertMenu().
.SS "KPanelAppMenu::KPanelAppMenu (const \fBQPixmap\fP & icon, const \fBQString\fP & title, \fBQObject\fP * parent, const char * name)"
.PP
Same as above, but with an icon for the submenu item. 
.PP
Definition at line 45 of file kpanelappmenu.cpp.
.SS "KPanelAppMenu::KPanelAppMenu (\fBQObject\fP * parent, const char * name)"
.PP
Constructs a new (sub)menu with a given id. 
.PP
Definition at line 54 of file kpanelappmenu.cpp.
.SS "KPanelAppMenu::~\fBKPanelAppMenu\fP ()"
.PP
Make sure you actually destroy this thing or the menu will never go away until this application quits or Kicker restarts ;-). 
.PP
Definition at line 87 of file kpanelappmenu.cpp.
.PP
References DCOPClient::send().
.SH "Member Function Documentation"
.PP 
.SS "int KPanelAppMenu::insertItem (const \fBQString\fP & text, int id = \fC-1\fP)"
.PP
Inserts an item into the menu. 
.PP
Definition at line 134 of file kpanelappmenu.cpp.
.PP
References DCOPClient::send().
.SS "int KPanelAppMenu::insertItem (const \fBQPixmap\fP & icon, const \fBQString\fP & text, int id = \fC-1\fP)"
.PP
Inserts an item with a icon. 
.PP
The icon name must be a full path. 
.PP
Definition at line 96 of file kpanelappmenu.cpp.
.PP
References DCOPClient::send().
.SS "\fBKPanelAppMenu\fP * KPanelAppMenu::insertMenu (const \fBQPixmap\fP & icon, const \fBQString\fP & text, int id = \fC-1\fP)"
.PP
Inserts a sub menu with a icon. 
.PP
The icon name must be a full path. 
.PP
Definition at line 109 of file kpanelappmenu.cpp.
.PP
References DCOPClient::appId(), DCOPClient::call(), KPanelAppMenu(), and DCOPClient::send().
.SS "void KPanelAppMenu::clear ()"
.PP
Clears the menu. 
.PP
Definition at line 147 of file kpanelappmenu.cpp.
.PP
References DCOPClient::send().
.SS "void KPanelAppMenu::activated (int id)\fC [signal]\fP"
.PP
Emitted when the user selects an item from the Kicker menu. 
.PP


.SH "Author"
.PP 
Generated automatically by Doxygen for kdeui Library from the source code.
