summaryrefslogtreecommitdiffstats
path: root/kmobile/kmobileclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmobile/kmobileclient.cpp')
-rw-r--r--kmobile/kmobileclient.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmobile/kmobileclient.cpp b/kmobile/kmobileclient.cpp
index 518185534..f587ee2c7 100644
--- a/kmobile/kmobileclient.cpp
+++ b/kmobile/kmobileclient.cpp
@@ -36,10 +36,10 @@ KMobileClient::KMobileClient()
m_kmobileObj = "kmobileIface";
bool ok = attach();
- PRINT_DEBUG << TQString("attached to DCOP server %1\n").arg(ok?"sucessful.":"failed.");
+ PRINT_DEBUG << TQString("attached to DCOP server %1\n").tqarg(ok?"sucessful.":"failed.");
// m_clientAppId = registerAs("kmobileclient");
-// PRINT_DEBUG << TQString("registered as DCOP client %1\n").arg(m_clientAppId);
+// PRINT_DEBUG << TQString("registered as DCOP client %1\n").tqarg(m_clientAppId);
isKMobileAvailable();
}
@@ -54,7 +54,7 @@ KMobileClient::~KMobileClient()
bool KMobileClient::isKMobileAvailable()
{
bool available = isApplicationRegistered(m_kmobileApp);
- PRINT_DEBUG << TQString("KMobile DCOP server: %1\n").arg(available?"available.":"not available");
+ PRINT_DEBUG << TQString("KMobile DCOP server: %1\n").tqarg(available?"available.":"not available");
if (!available) {
startKMobileApplication();
// check again...
@@ -73,7 +73,7 @@ bool KMobileClient::startKMobileApplication()
TQCString replyType;
TQByteArray replyData;
bool ok = call("klauncher", "klauncher", "kdeinit_exec_wait(TQString,TQStringList)", data, replyType, replyData);
- PRINT_DEBUG << TQString("DCOP-CALL to klauncher: %1\n").arg(ok?"ok.":"failed.");
+ PRINT_DEBUG << TQString("DCOP-CALL to klauncher: %1\n").tqarg(ok?"ok.":"failed.");
return ok;
}
@@ -93,7 +93,7 @@ bool KMobileClient::startKMobileApplication()
TQCString replyType; \
TQByteArray replyData; \
bool ok = call(m_kmobileApp, m_kmobileObj, FUNC, data, replyType, replyData, KMOBILECLIENT_USE_EVENTLOOP, KMOBILECLIENT_TIMEOUT); \
- PRINT_DEBUG << TQString("DCOP-CALL to %1: %2\n").arg(FUNC).arg(ok?"ok.":"FAILED.")
+ PRINT_DEBUG << TQString("DCOP-CALL to %1: %2\n").tqarg(FUNC).tqarg(ok?"ok.":"FAILED.")
#define RETURN_TYPE( FUNC, PARAMS, RETURN_TYPE ) \
PREPARE( FUNC, PARAMS ); \