diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:33:40 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:33:40 -0600 |
commit | 4fb897b216c41c13f128c71bcc66f60e2dc601c4 (patch) | |
tree | 2891b54cd6ec39db133da0110028ec93fc006751 /dcop/HOWTO | |
parent | 8fc8811ef6079a15decd33f1ea5d95dd718e4557 (diff) | |
download | tdelibs-4fb897b216c41c13f128c71bcc66f60e2dc601c4.tar.gz tdelibs-4fb897b216c41c13f128c71bcc66f60e2dc601c4.zip |
Rename additional global TQt functions
Diffstat (limited to 'dcop/HOWTO')
-rw-r--r-- | dcop/HOWTO | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dcop/HOWTO b/dcop/HOWTO index c12939ce9..b0e653dfe 100644 --- a/dcop/HOWTO +++ b/dcop/HOWTO @@ -152,7 +152,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."); OK, now let's say we wanted to get the data back from the remotely called function. You have to execute a call() instead of a send(). @@ -166,7 +166,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") { @@ -174,7 +174,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!"); } N.B.: You cannot call() a method belonging to an application which has @@ -216,7 +216,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; } } @@ -255,7 +255,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; } } @@ -421,7 +421,7 @@ Example: void MyClass::myAsynchronousMethod(QString someParameter) { - qDebug("myAsyncMethod called with param `" + someParameter + "'"); + tqDebug("myAsyncMethod called with param `" + someParameter + "'"); } |