summaryrefslogtreecommitdiffstats
path: root/kmobile/testlibkmobile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmobile/testlibkmobile.cpp')
-rw-r--r--kmobile/testlibkmobile.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kmobile/testlibkmobile.cpp b/kmobile/testlibkmobile.cpp
index f89d3871f..e8ff85580 100644
--- a/kmobile/testlibkmobile.cpp
+++ b/kmobile/testlibkmobile.cpp
@@ -5,8 +5,8 @@
#include <kapplication.h>
#include <dcopclient.h>
-#include <qdatastream.h>
-#include <qstring.h>
+#include <tqdatastream.h>
+#include <tqstring.h>
#include <kdebug.h>
int main(int argc, char **argv)
@@ -19,22 +19,22 @@ int main(int argc, char **argv)
DCOPClient *client = app.dcopClient();
client->attach();
- QByteArray data;
- QDataStream ds(data, IO_WriteOnly);
-// ds << QString("a");
+ TQByteArray data;
+ TQDataStream ds(data, IO_WriteOnly);
+// ds << TQString("a");
- QCString replyType;
- QByteArray replyData;
+ TQCString replyType;
+ TQByteArray replyData;
ok = client->call("kmobile", "kmobileIface", "deviceNames()", data, replyType, replyData);
- QDataStream reply(replyData, IO_ReadOnly);
- QStringList deviceNames;
+ TQDataStream reply(replyData, IO_ReadOnly);
+ TQStringList deviceNames;
reply >> deviceNames;
- kdDebug() << QString("%1\n").arg(ok?"Ok":"Failure");
- kdDebug() << QString("Number of currently registered drivers: %1\n").arg(deviceNames.count());
+ kdDebug() << TQString("%1\n").arg(ok?"Ok":"Failure");
+ kdDebug() << TQString("Number of currently registered drivers: %1\n").arg(deviceNames.count());
for (int i=0; i<deviceNames.count(); i++)
- kdDebug() << QString("Device %1: %2\n").arg(i+1).arg(deviceNames[i]);
+ kdDebug() << TQString("Device %1: %2\n").arg(i+1).arg(deviceNames[i]);
// return app.exec();
}