From 902ba103f2215bcefa22d62b1c9138aa4b88891c Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: 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 --- kmymoney2/kmymoneyutils.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kmymoney2/kmymoneyutils.cpp') 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("")); -- cgit v1.2.1