diff options
Diffstat (limited to 'tdeui/kpanelappmenu.cpp')
-rw-r--r-- | tdeui/kpanelappmenu.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tdeui/kpanelappmenu.cpp b/tdeui/kpanelappmenu.cpp index 247d844de..e8eb6faa9 100644 --- a/tdeui/kpanelappmenu.cpp +++ b/tdeui/kpanelappmenu.cpp @@ -60,7 +60,7 @@ KPanelAppMenu::KPanelAppMenu(TQObject *parent, const char *name) void KPanelAppMenu::init(const TQPixmap &icon, const TQString &title) { - DCOPClient *client = kapp->dcopClient(); + DCOPClient *client = tdeApp->dcopClient(); if(!client->isAttached()) client->attach(); TQByteArray sendData, replyData; @@ -86,7 +86,7 @@ void KPanelAppMenu::init(const TQPixmap &icon, const TQString &title) KPanelAppMenu::~KPanelAppMenu() { - DCOPClient *client = kapp->dcopClient(); + DCOPClient *client = tdeApp->dcopClient(); TQByteArray sendData; TQDataStream stream(sendData, IO_WriteOnly); stream << realObjId; @@ -97,7 +97,7 @@ int KPanelAppMenu::insertItem(const TQPixmap &icon, const TQString &text, int id { if ( id < 0 ) id = panelmenu_get_seq_id(); - DCOPClient *client = kapp->dcopClient(); + DCOPClient *client = tdeApp->dcopClient(); TQByteArray sendData; TQDataStream stream(sendData, IO_WriteOnly); stream << icon << text << id; @@ -110,7 +110,7 @@ KPanelAppMenu *KPanelAppMenu::insertMenu(const TQPixmap &icon, const TQString &t { if ( id < 0 ) id = panelmenu_get_seq_id(); - DCOPClient *client = kapp->dcopClient(); + DCOPClient *client = tdeApp->dcopClient(); TQByteArray sendData, replyData; TQCString replyType; TQDataStream stream(sendData, IO_WriteOnly); @@ -135,7 +135,7 @@ int KPanelAppMenu::insertItem(const TQString &text, int id ) { if ( id < 0 ) id = panelmenu_get_seq_id(); - DCOPClient *client = kapp->dcopClient(); + DCOPClient *client = tdeApp->dcopClient(); TQByteArray sendData; TQDataStream stream(sendData, IO_WriteOnly); stream << text << id; @@ -146,7 +146,7 @@ int KPanelAppMenu::insertItem(const TQString &text, int id ) void KPanelAppMenu::clear() { - DCOPClient *client = kapp->dcopClient(); + DCOPClient *client = tdeApp->dcopClient(); TQByteArray sendData; client->send("kicker", realObjId, "clear()", sendData); } |