summaryrefslogtreecommitdiffstats
path: root/kmymoney2/kmymoneyutils.cpp
diff options
context:
space:
mode:
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 4516413..4fae4e1 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")
- .arg((KMyMoneyGlobalSettings::listBGColor()).name()).arg(tcolor.name());
+ .tqarg((KMyMoneyGlobalSettings::listBGColor()).name()).tqarg(tcolor.name());
css += TQString(".row-odd, .item1 { background-color: %1; color: %2 }\n")
- .arg((KMyMoneyGlobalSettings::listColor()).name()).arg(tcolor.name());
+ .tqarg((KMyMoneyGlobalSettings::listColor()).name()).tqarg(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.arg("_%1.%2");
- rc = KGlobal::dirs()->findResource(type, mask.arg(country).arg(language));
+ mask = filename.tqarg("_%1.%2");
+ rc = KGlobal::dirs()->findResource(type, mask.tqarg(country).tqarg(language));
if(rc.isEmpty()) {
- mask = filename.arg("_%1");
- rc = KGlobal::dirs()->findResource(type, mask.arg(language));
+ mask = filename.tqarg("_%1");
+ rc = KGlobal::dirs()->findResource(type, mask.tqarg(language));
}
if(rc.isEmpty()) {
- // qDebug(TQString("html/home_%1.html not found").arg(country).latin1());
- rc = KGlobal::dirs()->findResource(type, mask.arg(country));
+ // qDebug(TQString("html/home_%1.html not found").tqarg(country).latin1());
+ rc = KGlobal::dirs()->findResource(type, mask.tqarg(country));
}
if(rc.isEmpty()) {
- rc = KGlobal::dirs()->findResource(type, filename.arg(""));
+ rc = KGlobal::dirs()->findResource(type, filename.tqarg(""));
}
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").arg(exp.cap(1)).arg(exp.cap(2).toULongLong() + 1).arg(exp.cap(3));
+ number = TQString("%1%2%3").tqarg(exp.cap(1)).tqarg(exp.cap(2).toULongLong() + 1).tqarg(exp.cap(3));
} else {
number = "1";
}