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/kmymoneyutils.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/kmymoneyutils.cpp')
-rw-r--r-- | kmymoney2/kmymoneyutils.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/kmymoneyutils.cpp b/kmymoney2/kmymoneyutils.cpp index fdff861..428c259 100644 --- a/kmymoney2/kmymoneyutils.cpp +++ b/kmymoney2/kmymoneyutils.cpp @@ -227,14 +227,14 @@ bool KMyMoneyUtils::appendCorrectFileExt(TQString& str, const TQString& strExtTo if(!str.isEmpty()) { //find last . delminator - int nLoc = str.tqfindRev('.'); + int nLoc = str.findRev('.'); if(nLoc != -1) { TQString strExt, strTemp; strTemp = str.left(nLoc + 1); strExt = str.right(str.length() - (nLoc + 1)); - if(strExt.tqfind(strExtToUse, 0, FALSE) == -1) { + if(strExt.find(strExtToUse, 0, FALSE) == -1) { // if the extension given contains a period, we remove our's - if(strExtToUse.tqfind('.') != -1) + if(strExtToUse.find('.') != -1) strTemp = strTemp.left(strTemp.length()-1); //append extension to make complete file name strTemp.append(strExtToUse); @@ -280,7 +280,7 @@ TQString KMyMoneyUtils::findResource(const char* type, const TQString& filename) TQString rc, tqmask; // check that the placeholder is present - if(!filename.tqfind("%1")) { + if(!filename.find("%1")) { qWarning("%%1 not found in '%s'", filename.latin1()); return filename; } |