diff options
author | Timothy Pearson <[email protected]> | 2011-12-05 16:20:48 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-05 16:20:48 -0600 |
commit | e63beeb5bdb82987b1e00bc35178667786fbad48 (patch) | |
tree | ab77b6ac830b7944d5d1eb9ce8f81feb8fdab948 /dcopjava/tests | |
parent | 67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff) | |
download | tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip |
Fix incorrect conversion
Diffstat (limited to 'dcopjava/tests')
-rw-r--r-- | dcopjava/tests/test.h | 6 | ||||
-rw-r--r-- | dcopjava/tests/test_impl.cpp | 14 | ||||
-rw-r--r-- | dcopjava/tests/test_impl.h | 6 |
3 files changed, 13 insertions, 13 deletions
diff --git a/dcopjava/tests/test.h b/dcopjava/tests/test.h index e404eed0..6eda69d3 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 TTQString stringArg(TTQString in) = 0; - virtual TTQStringList stringListArg(TTQStringList in) = 0; + virtual TQString stringArg(TQString in) = 0; + virtual TQStringList stringListArg(TQStringList in) = 0; - virtual TTQCString cstringArg(TTQCString 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 fecfa009..2b031bcc 100644 --- a/dcopjava/tests/test_impl.cpp +++ b/dcopjava/tests/test_impl.cpp @@ -74,27 +74,27 @@ double test_impl::doubleArg(double in) } -TTQString test_impl::stringArg(TTQString in) +TQString test_impl::stringArg(TQString in) { - cout << "SERVER: TTQString in: " << in << endl; + cout << "SERVER: TQString in: " << in << endl; return "Hello Java"; } -TTQCString test_impl::cstringArg(TTQCString in) +TQCString test_impl::cstringArg(TQCString in) { - cout << "SERVER: TTQCString in: " << in << endl; + cout << "SERVER: TQCString in: " << in << endl; return "Hello Java"; } -TTQStringList test_impl::stringListArg(TTQStringList in) +TQStringList test_impl::stringListArg(TQStringList in) { - cout << "SERVER: TTQStringList in: "; + cout << "SERVER: TQStringList in: "; for (uint i=0; i<in.count(); ++i) cout << in[i] << ", "; cout << endl; - TTQStringList result; + TQStringList result; result << "one" << "two" << "three"; return result; } diff --git a/dcopjava/tests/test_impl.h b/dcopjava/tests/test_impl.h index b96c1560..0c72536b 100644 --- a/dcopjava/tests/test_impl.h +++ b/dcopjava/tests/test_impl.h @@ -27,11 +27,11 @@ public: double doubleArg(double in); - TTQString stringArg(TTQString in); + TQString stringArg(TQString in); - TTQCString cstringArg(TTQCString in); + TQCString cstringArg(TQCString in); - TTQStringList stringListArg(TTQStringList in); + TQStringList stringListArg(TQStringList in); DCOPRef DCOPRefArg(DCOPRef in); |