From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001
From: tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Date: Sat, 31 Jul 2010 19:56:07 +0000
Subject: Trinity Qt initial conversion

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
---
 languages/cpp/app_templates/kdedcop/app.cpp       | 2 +-
 languages/cpp/app_templates/kdedcop/app_iface.h   | 4 ++--
 languages/cpp/app_templates/kdedcop/mainclass.cpp | 4 ++--
 languages/cpp/app_templates/kdedcop/mainclass.h   | 6 +++---
 4 files changed, 8 insertions(+), 8 deletions(-)

(limited to 'languages/cpp/app_templates/kdedcop')

diff --git a/languages/cpp/app_templates/kdedcop/app.cpp b/languages/cpp/app_templates/kdedcop/app.cpp
index e295253a..e4fa554f 100644
--- a/languages/cpp/app_templates/kdedcop/app.cpp
+++ b/languages/cpp/app_templates/kdedcop/app.cpp
@@ -2,7 +2,7 @@
 
 #include "%{APPNAMELC}.h"
 
-#include <qlabel.h>
+#include <tqlabel.h>
 
 #include <kmainwindow.h>
 #include <klocale.h>
diff --git a/languages/cpp/app_templates/kdedcop/app_iface.h b/languages/cpp/app_templates/kdedcop/app_iface.h
index 57bfb059..7049c712 100644
--- a/languages/cpp/app_templates/kdedcop/app_iface.h
+++ b/languages/cpp/app_templates/kdedcop/app_iface.h
@@ -10,10 +10,10 @@ class DCOPDemoIface : virtual public DCOPObject
 
     // Here you should place your DCOP interface.
     // Below are four example methods.
-    virtual QString strVal() const = 0;
+    virtual TQString strVal() const = 0;
     virtual int intVal() const = 0;
 
     virtual void setIntVal( int num ) = 0;
-    virtual void setStrVal( const QString &str ) = 0;
+    virtual void setStrVal( const TQString &str ) = 0;
 
 };
diff --git a/languages/cpp/app_templates/kdedcop/mainclass.cpp b/languages/cpp/app_templates/kdedcop/mainclass.cpp
index 8f334114..a5e0d6a5 100644
--- a/languages/cpp/app_templates/kdedcop/mainclass.cpp
+++ b/languages/cpp/app_templates/kdedcop/mainclass.cpp
@@ -14,7 +14,7 @@ MainClass::~MainClass()
 {
 }
 
-void MainClass::setStrVal(const QString & str) {
+void MainClass::setStrVal(const TQString & str) {
     m_strValue = str;
 }
 
@@ -22,7 +22,7 @@ void MainClass::setIntVal(int val) {
     m_intValue = val;
 }
 
-QString MainClass::strVal() const {
+TQString MainClass::strVal() const {
     return m_strValue;
 }
 
diff --git a/languages/cpp/app_templates/kdedcop/mainclass.h b/languages/cpp/app_templates/kdedcop/mainclass.h
index ca37f2ad..13504f82 100644
--- a/languages/cpp/app_templates/kdedcop/mainclass.h
+++ b/languages/cpp/app_templates/kdedcop/mainclass.h
@@ -18,13 +18,13 @@ public:
 
 
     // Here is the implementation of the example DCOP interface methods.
-    virtual void setStrVal(const QString &);
+    virtual void setStrVal(const TQString &);
     virtual void setIntVal(int);
-    virtual QString strVal() const;
+    virtual TQString strVal() const;
     virtual int intVal() const;
 
 private:
-    QString m_strValue;
+    TQString m_strValue;
     int m_intValue;
 
 };
-- 
cgit v1.2.1