summaryrefslogtreecommitdiffstats
path: root/kunittest/example/module/samplemodule2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kunittest/example/module/samplemodule2.cpp')
-rw-r--r--kunittest/example/module/samplemodule2.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kunittest/example/module/samplemodule2.cpp b/kunittest/example/module/samplemodule2.cpp
index 87efde28..672ec08a 100644
--- a/kunittest/example/module/samplemodule2.cpp
+++ b/kunittest/example/module/samplemodule2.cpp
@@ -23,7 +23,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <qstringlist.h>
+#include <tqstringlist.h>
#include <kdebug.h>
#include <kunittest/runner.h>
@@ -40,7 +40,7 @@ KUNITTEST_MODULE_REGISTER_TESTER( SomeSampleTester )
void SimpleSampleTester::allTests()
{
kdDebug() << "Debug output belonging to SimpleSampleTester." << endl;
- CHECK( QString("SimpleSample") , QString("SimpleSample") );
+ CHECK( TQString("SimpleSample") , TQString("SimpleSample") );
// operator == is used, so this can't work...
//XFAIL( "SimpleSample" , "SampleSimple" );
@@ -55,7 +55,7 @@ void SomeSampleTester::allTests()
kdDebug() << "Checking operator precedences." << endl;
CHECK( 2.0 * 3.0 / 2.0 * 4.0 / 2.0 , 6.0 );
- QStringList testList;
+ TQStringList testList;
testList << "one" << "two";
- CHECK( testList.count() , (QStringList::size_type) 2 );
+ CHECK( testList.count() , (TQStringList::size_type) 2 );
}