summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/tests/kopeteemoticontest.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit937b2991d8e78166eea904c80ad04d34607017a4 (patch)
tree2accb8161eab09df5d7a5484ea9ea080ad123168 /kopete/libkopete/tests/kopeteemoticontest.cpp
parentdba26cb985af370c33d1767037851705cc561726 (diff)
downloadtdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.tar.gz
tdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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