summaryrefslogtreecommitdiffstats
path: root/kapptemplate/kapp/app_client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kapptemplate/kapp/app_client.cpp')
-rw-r--r--kapptemplate/kapp/app_client.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kapptemplate/kapp/app_client.cpp b/kapptemplate/kapp/app_client.cpp
index cd5e065d..53de48f5 100644
--- a/kapptemplate/kapp/app_client.cpp
+++ b/kapptemplate/kapp/app_client.cpp
@@ -2,8 +2,8 @@ echo "Creating $LOCATION_ROOT/${APP_NAME_LC}/${APP_NAME_LC}_client.cpp...";
cat << EOF > $LOCATION_ROOT/${APP_NAME_LC}/${APP_NAME_LC}_client.cpp
#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("${APP_NAME_LC}", "${APP_NAME}Iface", "openURL(QString)", data);
+ ds << TQString("http://www.kde.org");
+ client->send("${APP_NAME_LC}", "${APP_NAME}Iface", "openURL(TQString)", data);
return app.exec();
}