summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/parser/mstring.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
commite985f7e545f4739493965aad69bbecb136dc9346 (patch)
tree54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /klinkstatus/src/parser/mstring.cpp
parentf7670c198945adc3b95ad69a959fe5f8ae55b493 (diff)
downloadtdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz
tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klinkstatus/src/parser/mstring.cpp')
-rw-r--r--klinkstatus/src/parser/mstring.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/klinkstatus/src/parser/mstring.cpp b/klinkstatus/src/parser/mstring.cpp
index aa2cdec7..f84c5809 100644
--- a/klinkstatus/src/parser/mstring.cpp
+++ b/klinkstatus/src/parser/mstring.cpp
@@ -28,7 +28,7 @@ using namespace std;
int findWord(TQString const& s, TQString const& palavra, uint a_partir_do_indice)
{
- int indice = s.find(palavra, a_partir_do_indice, false);
+ int indice = s.tqfind(palavra, a_partir_do_indice, false);
if(indice == -1)
return indice;
@@ -38,7 +38,7 @@ int findWord(TQString const& s, TQString const& palavra, uint a_partir_do_indice
int findChar(TQString const& s, TQChar letra, uint a_partir_do_indice)
{
- int index = s.find(letra, a_partir_do_indice, false);
+ int index = s.tqfind(letra, a_partir_do_indice, false);
if(index == -1)
return index;
else
@@ -173,7 +173,7 @@ vector<TQString> tokenizeWordsSeparatedByDots(TQString s)
if(inicio == -1)
return v;
- int fim = s.find('.', inicio);
+ int fim = s.tqfind('.', inicio);
if(fim == -1)
{
v.push_back(s.mid(inicio));
@@ -200,7 +200,7 @@ vector<TQString> tokenizeWordsSeparatedBy(TQString s, TQChar criteria)
if(inicio == -1)
return v;
- int fim = s.find(criteria, inicio);
+ int fim = s.tqfind(criteria, inicio);
if(fim == -1)
{
v.push_back(s.mid(inicio));