diff options
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); |