summaryrefslogtreecommitdiffstats
path: root/src/kvilib/ext/kvi_stringconversion.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
commit72aaee9802d447ee21340b011856b9b355a58f1a (patch)
treef97a68e4f75e6c25c8492e03fdfe6983fb0aa199 /src/kvilib/ext/kvi_stringconversion.cpp
parent5d03948cd3558c613fae1fad109635f860babcbb (diff)
downloadkvirc-72aaee9802d447ee21340b011856b9b355a58f1a.tar.gz
kvirc-72aaee9802d447ee21340b011856b9b355a58f1a.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kvilib/ext/kvi_stringconversion.cpp')
-rw-r--r--src/kvilib/ext/kvi_stringconversion.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/kvilib/ext/kvi_stringconversion.cpp b/src/kvilib/ext/kvi_stringconversion.cpp
index accba786..2836628c 100644
--- a/src/kvilib/ext/kvi_stringconversion.cpp
+++ b/src/kvilib/ext/kvi_stringconversion.cpp
@@ -49,7 +49,7 @@ namespace KviStringConversion
{
if(!g_szLocalDir.isEmpty())
{
- if(KviTQString::tqfind(buffer,g_szLocalDir)==0)
+ if(KviTQString::find(buffer,g_szLocalDir)==0)
{
buffer.remove(0,g_szLocalDir.length());
buffer.prepend("local://");
@@ -57,7 +57,7 @@ namespace KviStringConversion
}
if(!g_szGlobalDir.isEmpty())
{
- if(KviTQString::tqfind(buffer,g_szGlobalDir)==0)
+ if(KviTQString::find(buffer,g_szGlobalDir)==0)
{
buffer.remove(0,g_szGlobalDir.length());
buffer.prepend("global://");
@@ -72,7 +72,7 @@ namespace KviStringConversion
{
if(!g_szLocalDir.isEmpty())
{
- if(KviTQString::tqfind(buffer,"local://")==0)
+ if(KviTQString::find(buffer,"local://")==0)
{
buffer.remove(0,8);
buffer.prepend(g_szLocalDir);
@@ -80,7 +80,7 @@ namespace KviStringConversion
}
if(!g_szGlobalDir.isEmpty())
{
- if(KviTQString::tqfind(buffer,"global://")==0)
+ if(KviTQString::find(buffer,"global://")==0)
{
buffer.remove(0,9);
buffer.prepend(g_szGlobalDir);
@@ -250,11 +250,11 @@ namespace KviStringConversion
if(bOk && (i >= 0))buffer.setWeight(i);
if(!str.isEmpty())
{
- buffer.setBold(str.tqcontains("b"));
- buffer.setItalic(str.tqcontains("i"));
- buffer.setUnderline(str.tqcontains("u"));
- buffer.setStrikeOut(str.tqcontains("s"));
- buffer.setFixedPitch(str.tqcontains("f"));
+ buffer.setBold(str.contains("b"));
+ buffer.setItalic(str.contains("i"));
+ buffer.setUnderline(str.contains("u"));
+ buffer.setStrikeOut(str.contains("s"));
+ buffer.setFixedPitch(str.contains("f"));
}
return true;
}