diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2 (patch) | |
tree | 6a288b084438ed144c0fbd4a34a9a22caf4d6b04 /kmymoney2/mymoney/mymoneyutils.cpp | |
parent | 154e6e6105157c321cbd578d238c525da419f868 (diff) | |
download | kmymoney-7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2.tar.gz kmymoney-7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/mymoney/mymoneyutils.cpp')
-rw-r--r-- | kmymoney2/mymoney/mymoneyutils.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/mymoney/mymoneyutils.cpp b/kmymoney2/mymoney/mymoneyutils.cpp index b55c485..08ffff4 100644 --- a/kmymoney2/mymoney/mymoneyutils.cpp +++ b/kmymoney2/mymoney/mymoneyutils.cpp @@ -189,7 +189,7 @@ void operator delete(void *p) throw() { if(enable==true) { CheckMemoryTable::Iterator it; - it = chkmem.table.tqfind(p); + it = chkmem.table.find(p); if(it != chkmem.table.end()) { chkmem.table.remove(it); } @@ -201,7 +201,7 @@ void operator delete [] (void *p) throw() { if(enable==true) { CheckMemoryTable::Iterator it; - it = chkmem.table.tqfind(p); + it = chkmem.table.find(p); if(it != chkmem.table.end()) { chkmem.table.remove(it); } @@ -217,7 +217,7 @@ TQString MyMoneyUtils::getFileExtension(TQString strFileName) if(!strFileName.isEmpty()) { //find last . delminator - int nLoc = strFileName.tqfindRev('.'); + int nLoc = strFileName.findRev('.'); if(nLoc != -1) { strTemp = strFileName.right(strFileName.length() - (nLoc + 1)); @@ -331,7 +331,7 @@ unsigned long extractId(const TQString& txt) int pos; unsigned long rc = 0; - pos = txt.tqfind(TQRegExp("\\d+"), 0); + pos = txt.find(TQRegExp("\\d+"), 0); if(pos != -1) { rc = atol(txt.mid(pos)); } |