summaryrefslogtreecommitdiffstats
path: root/kmymoney2/kmymoneyutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/kmymoneyutils.cpp')
-rw-r--r--kmymoney2/kmymoneyutils.cpp8
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;
}