summaryrefslogtreecommitdiffstats
path: root/kplato/kptwbsdefinitionpanel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kptwbsdefinitionpanel.cc')
-rw-r--r--kplato/kptwbsdefinitionpanel.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/kplato/kptwbsdefinitionpanel.cc b/kplato/kptwbsdefinitionpanel.cc
index 8dcfe891..083c9216 100644
--- a/kplato/kptwbsdefinitionpanel.cc
+++ b/kplato/kptwbsdefinitionpanel.cc
@@ -57,7 +57,7 @@ WBSDefinitionPanel::WBSDefinitionPanel(WBSDefinition &def, TQWidget *p, const ch
kdDebug()<<"Map size="<<lev.count()<<endl;
TQMap<int, WBSDefinition::CodeDef>::const_iterator it;
for (it = lev.begin(); it != lev.end(); ++it) {
- levelsTable->verticalHeader()->setLabel(i, TQString("%1").tqarg(it.key()));
+ levelsTable->verticalHeader()->setLabel(i, TQString("%1").arg(it.key()));
TQComboTableItem *item = new TQComboTableItem(levelsTable, codeList, true);
item->setCurrentItem(it.data().code);
levelsTable->setItem(i, 0, item);
@@ -108,7 +108,7 @@ void WBSDefinitionPanel::slotSelectionChanged() {
bool rowSelected = false;
for (int i=0; i < levelsTable->numRows(); ++i) {
if (levelsTable->isRowSelected(i, true)) {
- s += TQString("Row[%1]=selected ").tqarg(i);
+ s += TQString("Row[%1]=selected ").arg(i);
rowSelected = true;
}
}
@@ -141,7 +141,7 @@ void WBSDefinitionPanel::slotAddBtnClicked() {
}
i++;
levelsTable->insertRows(i);
- levelsTable->verticalHeader()->setLabel(i, TQString("%1").tqarg(level->value()));
+ levelsTable->verticalHeader()->setLabel(i, TQString("%1").arg(level->value()));
TQComboTableItem *item = new TQComboTableItem(levelsTable, m_def.codeList(), true);
levelsTable->setItem(i, 0, item);
levelsTable->clearSelection();