summaryrefslogtreecommitdiffstats
path: root/kplato/kptwbsdefinition.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:38:41 -0600
committerTimothy Pearson <[email protected]>2011-12-19 11:38:41 -0600
commitf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch)
tree1fc538e179833e62caec21956bfe47a252be5a72 /kplato/kptwbsdefinition.cc
parent11191ef0b9908604d1d7aaca382b011ef22c454c (diff)
downloadkoffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz
koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kplato/kptwbsdefinition.cc')
-rw-r--r--kplato/kptwbsdefinition.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/kplato/kptwbsdefinition.cc b/kplato/kptwbsdefinition.cc
index f33d355c..e25f9fe6 100644
--- a/kplato/kptwbsdefinition.cc
+++ b/kplato/kptwbsdefinition.cc
@@ -108,25 +108,25 @@ const TQChar Letters[] = { '?','a','b','c','d','e','f','g','h','i','j','k','l','
TQString WBSDefinition::code(CodeDef &def, uint index) {
if (def.code == "Number") {
- return TQString("%1").tqarg(index);
+ return TQString("%1").arg(index);
}
if (def.code == "Roman, lower case") {
- return TQString("%1").tqarg(toRoman(index));
+ return TQString("%1").arg(toRoman(index));
}
if (def.code == "Roman, upper case") {
- return TQString("%1").tqarg(toRoman(index, true));
+ return TQString("%1").arg(toRoman(index, true));
}
if (def.code == "Letter, lower case") {
if (index > 26) {
index = 0;
}
- return TQString("%1").tqarg(Letters[index]);
+ return TQString("%1").arg(Letters[index]);
}
if (def.code == "Letter, upper case") {
if (index > 26) {
index = 0;
}
- return TQString("%1").tqarg(Letters[index].upper());
+ return TQString("%1").arg(Letters[index].upper());
}
return TQString();
}