summaryrefslogtreecommitdiffstats
path: root/kmymoney2/kmymoneyutils.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:37:08 -0600
committerTimothy Pearson <[email protected]>2011-12-19 11:37:08 -0600
commitc70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6 (patch)
tree9a07481bb1245dac332e7db600c556e1db79ecf3 /kmymoney2/kmymoneyutils.cpp
parent28723595822268551d3e050c3a83bf6ca5e17dd5 (diff)
downloadkmymoney-c70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6.tar.gz
kmymoney-c70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kmymoney2/kmymoneyutils.cpp')
-rw-r--r--kmymoney2/kmymoneyutils.cpp20
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";
}