diff options
Diffstat (limited to 'dcop/Mainpage.dox')
-rw-r--r-- | dcop/Mainpage.dox | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dcop/Mainpage.dox b/dcop/Mainpage.dox index ece626186..a92fb4e50 100644 --- a/dcop/Mainpage.dox +++ b/dcop/Mainpage.dox @@ -115,7 +115,7 @@ QDataStream arg(data, IO_WriteOnly); arg << 5; if (!client->send("someAppId", "fooObject/barObject", "doIt(int)", data)) - qDebug("there was some error using DCOP."); + tqDebug("there was some error using DCOP."); \endcode OK, now let's say we wanted to get the data back from the remotely @@ -131,7 +131,7 @@ QDataStream arg(data, IO_WriteOnly); arg << 5; if (!client->call("someAppId", "fooObject/barObject", "doIt(int)", data, replyType, replyData)) - qDebug("there was some error using DCOP."); + tqDebug("there was some error using DCOP."); else { QDataStream reply(replyData, IO_ReadOnly); if (replyType == "QString") { @@ -139,7 +139,7 @@ else { reply >> result; print("the result is: %s",result.latin1()); } else - qDebug("doIt returned an unexpected type of reply!"); + tqDebug("doIt returned an unexpected type of reply!"); } \endcode @@ -175,7 +175,7 @@ bool BarObject::process(const QCString &fun, const QByteArray &data, replyType = "QString"; return true; } else { - qDebug("unknown function call to BarObject::process()"); + tqDebug("unknown function call to BarObject::process()"); return false; } } @@ -216,7 +216,7 @@ bool BarObject::process(const QCString &fun, const QByteArray &data, return true; } else { - qDebug("unknown function call to BarObject::process()"); + tqDebug("unknown function call to BarObject::process()"); return false; } } @@ -329,7 +329,7 @@ Example: \code void MyClass::myAsynchronousMethod(QString someParameter) { - qDebug("myAsyncMethod called with param `" + someParameter + "'"); + tqDebug("myAsyncMethod called with param `" + someParameter + "'"); } \endcode |