summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/kaccelgentest.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeui/tests/kaccelgentest.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/tests/kaccelgentest.cpp')
-rw-r--r--kdeui/tests/kaccelgentest.cpp16
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();