kpanelappmenu.cpp
71 if ( client->call("kicker", "kickerMenuManager", "createMenu(TQPixmap,TQString)", sendData, replyType, replyData ) ) {
73 kdDebug() << "error! replyType for createMenu should be QCstring in KPanelAppMenu::init" << endl;
118 client->call("kicker", realObjId, "insertMenu(TQPixmap,TQString,int)", sendData, replyType, replyData );
TQCString appId() const
bool attach()
bool send(const TQCString &remApp, const TQCString &remObj, const TQCString &remFun, const TQByteArray &data)
bool isAttached() const
bool call(const TQCString &remApp, const TQCString &remObj, const TQCString &remFun, const TQByteArray &data, TQCString &replyType, TQByteArray &replyData, bool useEventLoop, int timeout, bool forceRemote)
TQCString objId() const
DCop client menu class for the Kicker panel that will insert a submenu into the TDE menu.
Definition: kpanelappmenu.h:38
void activated(int id)
Emitted when the user selects an item from the Kicker menu.
KPanelAppMenu * insertMenu(const TQPixmap &icon, const TQString &text, int id=-1)
Inserts a sub menu with a icon.
Definition: kpanelappmenu.cpp:109
~KPanelAppMenu()
Make sure you actually destroy this thing or the menu will never go away until this application quits...
Definition: kpanelappmenu.cpp:87
KPanelAppMenu(const TQString &title, TQObject *parent=0, const char *name=0)
Constructs a new menu with the given title.
Definition: kpanelappmenu.cpp:38
bool process(const TQCString &fun, const TQByteArray &data, TQCString &replyType, TQByteArray &replyData)
Definition: kpanelappmenu.cpp:155
int insertItem(const TQString &text, int id=-1)
Inserts an item into the menu.
Definition: kpanelappmenu.cpp:134
kndbgstream & endl(kndbgstream &s)
kdbgstream kdDebug(int area=0)