summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kapp/app_client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/kapp/app_client.cpp')
-rw-r--r--languages/cpp/app_templates/kapp/app_client.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/languages/cpp/app_templates/kapp/app_client.cpp b/languages/cpp/app_templates/kapp/app_client.cpp
index 5c062077..ecde60fb 100644
--- a/languages/cpp/app_templates/kapp/app_client.cpp
+++ b/languages/cpp/app_templates/kapp/app_client.cpp
@@ -2,8 +2,8 @@
#include <kapplication.h>
#include <dcopclient.h>
-#include <qdatastream.h>
-#include <qstring.h>
+#include <tqdatastream.h>
+#include <tqstring.h>
int main(int argc, char **argv)
{
@@ -14,13 +14,13 @@ int main(int argc, char **argv)
client->attach();
// do a 'send' for now
- QByteArray data;
- QDataStream ds(data, IO_WriteOnly);
+ TQByteArray data;
+ TQDataStream ds(data, IO_WriteOnly);
if (argc > 1)
- ds << QString(argv[1]);
+ ds << TQString(argv[1]);
else
- ds << QString("http://www.kde.org");
- client->send("%{APPNAMELC}", "%{APPNAME}Iface", "openURL(QString)", data);
+ ds << TQString("http://www.kde.org");
+ client->send("%{APPNAMELC}", "%{APPNAME}Iface", "openURL(TQString)", data);
return app.exec();
}