diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
commit | 479f5f799523bffbcc83dff581a2299c047c6fff (patch) | |
tree | 186aae707ed02aac6c7cab2fb14e97f72aca5e36 /dcopjava/tests | |
parent | f1dbff6145c98324ff82e34448b7483727e8ace4 (diff) | |
download | tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.tar.gz tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'dcopjava/tests')
-rw-r--r-- | dcopjava/tests/test.h | 10 | ||||
-rw-r--r-- | dcopjava/tests/test_impl.cpp | 14 | ||||
-rw-r--r-- | dcopjava/tests/test_impl.h | 6 |
3 files changed, 15 insertions, 15 deletions
diff --git a/dcopjava/tests/test.h b/dcopjava/tests/test.h index 5f215ce7..6eda69d3 100644 --- a/dcopjava/tests/test.h +++ b/dcopjava/tests/test.h @@ -2,8 +2,8 @@ #define _TEST_H_ -#include <qstring.h> -#include <qstringlist.h> +#include <tqstring.h> +#include <tqstringlist.h> #include <dcopobject.h> @@ -32,10 +32,10 @@ k_dcop: virtual float floatArg(float in) = 0; virtual double doubleArg(double in) = 0; - virtual QString stringArg(QString in) = 0; - virtual QStringList stringListArg(QStringList in) = 0; + virtual TQString stringArg(TQString in) = 0; + virtual TQStringList stringListArg(TQStringList in) = 0; - virtual QCString cstringArg(QCString in) = 0; + virtual TQCString cstringArg(TQCString in) = 0; virtual DCOPRef DCOPRefArg(DCOPRef in) = 0; diff --git a/dcopjava/tests/test_impl.cpp b/dcopjava/tests/test_impl.cpp index c220b3f8..2b031bcc 100644 --- a/dcopjava/tests/test_impl.cpp +++ b/dcopjava/tests/test_impl.cpp @@ -74,27 +74,27 @@ double test_impl::doubleArg(double in) } -QString test_impl::stringArg(QString in) +TQString test_impl::stringArg(TQString in) { - cout << "SERVER: QString in: " << in << endl; + cout << "SERVER: TQString in: " << in << endl; return "Hello Java"; } -QCString test_impl::cstringArg(QCString in) +TQCString test_impl::cstringArg(TQCString in) { - cout << "SERVER: QCString in: " << in << endl; + cout << "SERVER: TQCString in: " << in << endl; return "Hello Java"; } -QStringList test_impl::stringListArg(QStringList in) +TQStringList test_impl::stringListArg(TQStringList in) { - cout << "SERVER: QStringList in: "; + cout << "SERVER: TQStringList in: "; for (uint i=0; i<in.count(); ++i) cout << in[i] << ", "; cout << endl; - QStringList result; + TQStringList result; result << "one" << "two" << "three"; return result; } diff --git a/dcopjava/tests/test_impl.h b/dcopjava/tests/test_impl.h index 61986819..0c72536b 100644 --- a/dcopjava/tests/test_impl.h +++ b/dcopjava/tests/test_impl.h @@ -27,11 +27,11 @@ public: double doubleArg(double in); - QString stringArg(QString in); + TQString stringArg(TQString in); - QCString cstringArg(QCString in); + TQCString cstringArg(TQCString in); - QStringList stringListArg(QStringList in); + TQStringList stringListArg(TQStringList in); DCOPRef DCOPRefArg(DCOPRef in); |