summaryrefslogtreecommitdiffstats
path: root/dcopjava/tests
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /dcopjava/tests
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'dcopjava/tests')
-rw-r--r--dcopjava/tests/test.h6
-rw-r--r--dcopjava/tests/test_impl.cpp14
-rw-r--r--dcopjava/tests/test_impl.h6
3 files changed, 13 insertions, 13 deletions
diff --git a/dcopjava/tests/test.h b/dcopjava/tests/test.h
index 6eda69d3..e404eed0 100644
--- a/dcopjava/tests/test.h
+++ b/dcopjava/tests/test.h
@@ -32,10 +32,10 @@ k_dcop:
virtual float floatArg(float in) = 0;
virtual double doubleArg(double in) = 0;
- virtual TQString stringArg(TQString in) = 0;
- virtual TQStringList stringListArg(TQStringList in) = 0;
+ virtual TTQString stringArg(TTQString in) = 0;
+ virtual TTQStringList stringListArg(TTQStringList in) = 0;
- virtual TQCString cstringArg(TQCString in) = 0;
+ virtual TTQCString cstringArg(TTQCString in) = 0;
virtual DCOPRef DCOPRefArg(DCOPRef in) = 0;
diff --git a/dcopjava/tests/test_impl.cpp b/dcopjava/tests/test_impl.cpp
index 2b031bcc..fecfa009 100644
--- a/dcopjava/tests/test_impl.cpp
+++ b/dcopjava/tests/test_impl.cpp
@@ -74,27 +74,27 @@ double test_impl::doubleArg(double in)
}
-TQString test_impl::stringArg(TQString in)
+TTQString test_impl::stringArg(TTQString in)
{
- cout << "SERVER: TQString in: " << in << endl;
+ cout << "SERVER: TTQString in: " << in << endl;
return "Hello Java";
}
-TQCString test_impl::cstringArg(TQCString in)
+TTQCString test_impl::cstringArg(TTQCString in)
{
- cout << "SERVER: TQCString in: " << in << endl;
+ cout << "SERVER: TTQCString in: " << in << endl;
return "Hello Java";
}
-TQStringList test_impl::stringListArg(TQStringList in)
+TTQStringList test_impl::stringListArg(TTQStringList in)
{
- cout << "SERVER: TQStringList in: ";
+ cout << "SERVER: TTQStringList in: ";
for (uint i=0; i<in.count(); ++i)
cout << in[i] << ", ";
cout << endl;
- TQStringList result;
+ TTQStringList result;
result << "one" << "two" << "three";
return result;
}
diff --git a/dcopjava/tests/test_impl.h b/dcopjava/tests/test_impl.h
index 0c72536b..b96c1560 100644
--- a/dcopjava/tests/test_impl.h
+++ b/dcopjava/tests/test_impl.h
@@ -27,11 +27,11 @@ public:
double doubleArg(double in);
- TQString stringArg(TQString in);
+ TTQString stringArg(TTQString in);
- TQCString cstringArg(TQCString in);
+ TTQCString cstringArg(TTQCString in);
- TQStringList stringListArg(TQStringList in);
+ TTQStringList stringListArg(TTQStringList in);
DCOPRef DCOPRefArg(DCOPRef in);