summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kdedcop
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /languages/cpp/app_templates/kdedcop
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/cpp/app_templates/kdedcop')
-rw-r--r--languages/cpp/app_templates/kdedcop/app.cpp2
-rw-r--r--languages/cpp/app_templates/kdedcop/app_iface.h4
-rw-r--r--languages/cpp/app_templates/kdedcop/mainclass.cpp4
-rw-r--r--languages/cpp/app_templates/kdedcop/mainclass.h6
4 files changed, 8 insertions, 8 deletions
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;
};