diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:31:01 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:31:01 -0600 |
commit | 252fce5a2a5384702fbcc1c9987284d7bd2e6943 (patch) | |
tree | d5768ff1e9065f29bec60c94d31880b38b4e82f2 /kmymoney2/kmymoneyutils.cpp | |
parent | 69ef6c4beaa37474a2170d0bfe842de647f53102 (diff) | |
download | kmymoney-252fce5a2a5384702fbcc1c9987284d7bd2e6943.tar.gz kmymoney-252fce5a2a5384702fbcc1c9987284d7bd2e6943.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kmymoney2/kmymoneyutils.cpp')
-rw-r--r-- | kmymoney2/kmymoneyutils.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kmymoney2/kmymoneyutils.cpp b/kmymoney2/kmymoneyutils.cpp index 4fae4e1..4516413 100644 --- a/kmymoney2/kmymoneyutils.cpp +++ b/kmymoney2/kmymoneyutils.cpp @@ -266,9 +266,9 @@ TQString KMyMoneyUtils::variableCSS(void) TQString css; css += "<style type=\"text/css\">\n<!--\n"; css += TQString(".row-even, .item0 { background-color: %1; color: %2 }\n") - .tqarg((KMyMoneyGlobalSettings::listBGColor()).name()).tqarg(tcolor.name()); + .arg((KMyMoneyGlobalSettings::listBGColor()).name()).arg(tcolor.name()); css += TQString(".row-odd, .item1 { background-color: %1; color: %2 }\n") - .tqarg((KMyMoneyGlobalSettings::listColor()).name()).tqarg(tcolor.name()); + .arg((KMyMoneyGlobalSettings::listColor()).name()).arg(tcolor.name()); css += "-->\n</style>\n"; return css; } @@ -286,18 +286,18 @@ TQString KMyMoneyUtils::findResource(const char* type, const TQString& filename) } // search the given resource - mask = filename.tqarg("_%1.%2"); - rc = KGlobal::dirs()->findResource(type, mask.tqarg(country).tqarg(language)); + mask = filename.arg("_%1.%2"); + rc = KGlobal::dirs()->findResource(type, mask.arg(country).arg(language)); if(rc.isEmpty()) { - mask = filename.tqarg("_%1"); - rc = KGlobal::dirs()->findResource(type, mask.tqarg(language)); + mask = filename.arg("_%1"); + rc = KGlobal::dirs()->findResource(type, mask.arg(language)); } if(rc.isEmpty()) { - // qDebug(TQString("html/home_%1.html not found").tqarg(country).latin1()); - rc = KGlobal::dirs()->findResource(type, mask.tqarg(country)); + // qDebug(TQString("html/home_%1.html not found").arg(country).latin1()); + rc = KGlobal::dirs()->findResource(type, mask.arg(country)); } if(rc.isEmpty()) { - rc = KGlobal::dirs()->findResource(type, filename.tqarg("")); + rc = KGlobal::dirs()->findResource(type, filename.arg("")); } if(rc.isEmpty()) { @@ -374,7 +374,7 @@ TQString KMyMoneyUtils::nextCheckNumber(const MyMoneyAccount& acc) TQString number; TQRegExp exp(TQString("(.*\\D)?(\\d+)(\\D.*)?")); if(exp.search(acc.value("lastNumberUsed")) != -1) { - number = TQString("%1%2%3").tqarg(exp.cap(1)).tqarg(exp.cap(2).toULongLong() + 1).tqarg(exp.cap(3)); + number = TQString("%1%2%3").arg(exp.cap(1)).arg(exp.cap(2).toULongLong() + 1).arg(exp.cap(3)); } else { number = "1"; } |