summaryrefslogtreecommitdiffstats
path: root/kplato/kptwbsdefinitionpanel.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /kplato/kptwbsdefinitionpanel.cc
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
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();