summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/tests/kopeteemoticontest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete/tests/kopeteemoticontest.cpp')
-rw-r--r--kopete/libkopete/tests/kopeteemoticontest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kopete/libkopete/tests/kopeteemoticontest.cpp b/kopete/libkopete/tests/kopeteemoticontest.cpp
index ab0ee31a..e8ada405 100644
--- a/kopete/libkopete/tests/kopeteemoticontest.cpp
+++ b/kopete/libkopete/tests/kopeteemoticontest.cpp
@@ -71,7 +71,7 @@ void KopeteEmoticonTest::testEmoticonParser()
TQString fileName = *it;
kdDebug() << "testcase: " << fileName << endl;
TQString outputFileName = fileName;
- outputFileName.tqreplace("input","output");
+ outputFileName.replace("input","output");
// open the input file
TQFile inputFile(basePath + TQString::tqfromLatin1("/") + fileName);
TQFile expectedFile(basePath + TQString::tqfromLatin1("/") + outputFileName);
@@ -94,10 +94,10 @@ void KopeteEmoticonTest::testEmoticonParser()
inputFile.close();
expectedFile.close();
- TQString path = KGlobal::dirs()->findResource( "emoticons", "Default/smile.png" ).tqreplace( "smile.png", TQString() );
+ TQString path = KGlobal::dirs()->findResource( "emoticons", "Default/smile.png" ).replace( "smile.png", TQString() );
Kopete::Emoticons::self();
- TQString result = emo.parse( inputData ).tqreplace( path, TQString() );
+ TQString result = emo.parse( inputData ).replace( path, TQString() );
// HACK to know the test case we applied, concatenate testcase name to both
// input and expected string. WIll remove when I can add some sort of metadata