diff options
Diffstat (limited to 'kdeui/tests/kaccelgentest.cpp')
-rw-r--r-- | kdeui/tests/kaccelgentest.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kdeui/tests/kaccelgentest.cpp b/kdeui/tests/kaccelgentest.cpp index d619bdfba..f5f95ac57 100644 --- a/kdeui/tests/kaccelgentest.cpp +++ b/kdeui/tests/kaccelgentest.cpp @@ -1,13 +1,13 @@ #include "kaccelgen.h" -#include <qstringlist.h> +#include <tqstringlist.h> #include <iostream> using std::cout; using std::endl; -void check( const QString &what, const QStringList &expected, const QStringList &received ) +void check( const TQString &what, const TQStringList &expected, const TQStringList &received ) { cout << "Testing " << what.latin1() << ": "; if ( expected == received ) { @@ -21,20 +21,20 @@ void check( const QString &what, const QStringList &expected, const QStringList int main() { - QStringList input; + TQStringList input; input << "foo" << "bar item" << "&baz" << "bif" << "boz" << "boz 2" << "yoyo && dyne"; - QStringList expected; + TQStringList expected; expected << "&foo" << "bar &item" << "&baz" << "bif" << "b&oz" << "boz &2" << "&yoyo && dyne"; - QStringList output; + TQStringList output; KAccelGen::generate( input, output ); - check( "QStringList value generation", expected, output ); + check( "TQStringList value generation", expected, output ); - QMap<QString,QString> map; - for (QStringList::ConstIterator it = input.begin(); it != input.end(); ++it) { + TQMap<TQString,TQString> map; + for (TQStringList::ConstIterator it = input.begin(); it != input.end(); ++it) { map.insert(*it, *it); } input.sort(); |