.TH "KPanelAppMenu" 3 "28 Jan 2004" "kdeui Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KPanelAppMenu \- DCop client menu class for the Kicker panel that will insert a submenu into the \fBKDE\fP 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
.RI "\fIEmitted when the user selects an item from the Kicker menu. \fP"
.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
.RI "\fIConstructs a new menu with the given title. \fP"
.ti -1c
.RI "\fBKPanelAppMenu\fP (const  \fBQPixmap\fP &icon, const  \fBQString\fP &title, \fBQObject\fP *\fBparent\fP, const  char *\fBname\fP)"
.br
.RI "\fISame as above, but with an icon for the submenu item. \fP"
.ti -1c
.RI "\fBKPanelAppMenu\fP (\fBQObject\fP *\fBparent\fP, const  char *\fBname\fP)"
.br
.RI "\fIConstructs a new (sub)menu with a given id. \fP"
.ti -1c
.RI "\fB~KPanelAppMenu\fP ()"
.br
.RI "\fIMake sure you actually destroy this thing or the menu will never go away until this application quits or Kicker restarts ;-). \fP"
.ti -1c
.RI "int \fBinsertItem\fP (const  \fBQString\fP &text, int id=-1)"
.br
.RI "\fIInserts an item into the menu. \fP"
.ti -1c
.RI "int \fBinsertItem\fP (const  \fBQPixmap\fP &icon, const  \fBQString\fP &text, int id=-1)"
.br
.RI "\fIInserts an item with a icon. \fP"
.ti -1c
.RI "\fBKPanelAppMenu\fP * \fBinsertMenu\fP (const  \fBQPixmap\fP &icon, const  \fBQString\fP &text, int id=-1)"
.br
.RI "\fIInserts a sub menu with a icon. \fP"
.ti -1c
.RI "void \fBclear\fP ()"
.br
.RI "\fIClears the menu. \fP"
.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 \fBKDE\fP 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 = 0, const char * name = 0)"
.PP
Constructs a new menu with the given title. Definition at line 38 of file kpanelappmenu.cpp.
.PP
References KStdAccel::name().
.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. Definition at line 45 of file kpanelappmenu.cpp.
.PP
References KStdAccel::name().
.SS "KPanelAppMenu::KPanelAppMenu (\fBQObject\fP * parent, const char * name)"
.PP
Constructs a new (sub)menu with a given id. Definition at line 54 of file kpanelappmenu.cpp.
.PP
References QObject::name(), and KStdAccel::name().
.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 ;-). 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 = -1)"
.PP
Inserts an item into the menu. 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 = -1)"
.PP
Inserts an item with a icon. The icon name must be a full path. 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 = -1)"
.PP
Inserts a sub menu with a icon. The icon name must be a full path. 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. 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. 

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