summaryrefslogtreecommitdiffstats
path: root/dcop/Mainpage.dox
diff options
context:
space:
mode:
Diffstat (limited to 'dcop/Mainpage.dox')
-rw-r--r--dcop/Mainpage.dox12
1 files changed, 6 insertions, 6 deletions
diff --git a/dcop/Mainpage.dox b/dcop/Mainpage.dox
index 186aed76b..ecd2b70f3 100644
--- a/dcop/Mainpage.dox
+++ b/dcop/Mainpage.dox
@@ -59,7 +59,7 @@ DCOPClient::registerAs(const QCString &name) to do so. In the simple
case:
\code
-appId = client->registerAs(kapp->name());
+appId = client->registerAs(tdeApp->name());
\endcode
If you never retrieve the DCOPClient pointer from TDEApplication, the
@@ -73,8 +73,8 @@ call DCOPClient::registerAs() with the new name.
TDEUniqueApplication automatically registers itself to DCOP. If you
are using TDEUniqueApplication you should not attach or register
yourself, this is already done. The appId is by definition
-equal to \p kapp->name(). You can retrieve the registered DCOP client
-by calling \p kapp->dcopClient().
+equal to \p tdeApp->name(). You can retrieve the registered DCOP client
+by calling \p tdeApp->dcopClient().
\section sending_data Sending Data to a Remote Application:
@@ -208,7 +208,7 @@ bool BarObject::process(const QCString &fun, const QByteArray &data,
TQString result = self->doIt(i);
DCOPClientTransaction *myTransaction;
- myTransaction = kapp->dcopClient()->beginTransaction();
+ myTransaction = tdeApp->dcopClient()->beginTransaction();
// start processing...
// Calls slotProcessingDone when finished.
@@ -227,7 +227,7 @@ slotProcessingDone(DCOPClientTransaction *myTransaction, const TQString &result)
QByteArray replyData;
QDataStream reply(replyData, IO_WriteOnly);
reply << result;
- kapp->dcopClient()->endTransaction( myTransaction, replyType, replyData );
+ tdeApp->dcopClient()->endTransaction( myTransaction, replyType, replyData );
}
\endcode
@@ -548,7 +548,7 @@ that an application that was started via TDELauncher terminates:
QByteArray params;
QDataStream stream(params, IO_WriteOnly);
stream << pid;
-kapp->dcopClient()->emitDCOPSignal("clientDied(pid_t)", params);
+tdeApp->dcopClient()->emitDCOPSignal("clientDied(pid_t)", params);
\endcode
The task manager of the Trinity panel connects to this signal. It uses an