summaryrefslogtreecommitdiffstats
path: root/kmymoney2/kmymoneyutils.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit902ba103f2215bcefa22d62b1c9138aa4b88891c (patch)
tree63ef88424b9be33a31e5a8de61343fb8d7633937 /kmymoney2/kmymoneyutils.cpp
parent7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2 (diff)
downloadkmymoney-902ba103f2215bcefa22d62b1c9138aa4b88891c.tar.gz
kmymoney-902ba103f2215bcefa22d62b1c9138aa4b88891c.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/kmymoneyutils.cpp')
-rw-r--r--kmymoney2/kmymoneyutils.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmymoney2/kmymoneyutils.cpp b/kmymoney2/kmymoneyutils.cpp
index 428c259..4fae4e1 100644
--- a/kmymoney2/kmymoneyutils.cpp
+++ b/kmymoney2/kmymoneyutils.cpp
@@ -277,7 +277,7 @@ TQString KMyMoneyUtils::findResource(const char* type, const TQString& filename)
{
TQString language = KGlobal::locale()->language();
TQString country = KGlobal::locale()->country();
- TQString rc, tqmask;
+ TQString rc, mask;
// check that the placeholder is present
if(!filename.find("%1")) {
@@ -286,15 +286,15 @@ TQString KMyMoneyUtils::findResource(const char* type, const TQString& filename)
}
// search the given resource
- tqmask = filename.tqarg("_%1.%2");
- rc = KGlobal::dirs()->findResource(type, tqmask.tqarg(country).tqarg(language));
+ mask = filename.tqarg("_%1.%2");
+ rc = KGlobal::dirs()->findResource(type, mask.tqarg(country).tqarg(language));
if(rc.isEmpty()) {
- tqmask = filename.tqarg("_%1");
- rc = KGlobal::dirs()->findResource(type, tqmask.tqarg(language));
+ mask = filename.tqarg("_%1");
+ rc = KGlobal::dirs()->findResource(type, mask.tqarg(language));
}
if(rc.isEmpty()) {
// qDebug(TQString("html/home_%1.html not found").tqarg(country).latin1());
- rc = KGlobal::dirs()->findResource(type, tqmask.tqarg(country));
+ rc = KGlobal::dirs()->findResource(type, mask.tqarg(country));
}
if(rc.isEmpty()) {
rc = KGlobal::dirs()->findResource(type, filename.tqarg(""));