diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 10:00:36 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 10:00:36 -0600 |
commit | 1fffbdafa12271a1a635caf46777fb8acfb6f31b (patch) | |
tree | 707785bd058e254fd865ca30ed35f37f206aebbc /kommander/widgets/treewidget.cpp | |
parent | 2b0e1de2ffcca7bb93f1fd8ddd32f74041d0d076 (diff) | |
download | tdewebdev-1fffbdafa12271a1a635caf46777fb8acfb6f31b.tar.gz tdewebdev-1fffbdafa12271a1a635caf46777fb8acfb6f31b.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 2b0e1de2ffcca7bb93f1fd8ddd32f74041d0d076.
Diffstat (limited to 'kommander/widgets/treewidget.cpp')
-rw-r--r-- | kommander/widgets/treewidget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kommander/widgets/treewidget.cpp b/kommander/widgets/treewidget.cpp index 914d6b7c..c77d4b8e 100644 --- a/kommander/widgets/treewidget.cpp +++ b/kommander/widgets/treewidget.cpp @@ -208,8 +208,8 @@ TQString TreeWidget::itemsText() if (path.isEmpty()) items.append(itemText(it.current())); else - items.append(TQString("%1%2%3").arg(path).arg(m_pathSeparator) - .arg(itemText(it.current()))); + items.append(TQString("%1%2%3").tqarg(path).tqarg(m_pathSeparator) + .tqarg(itemText(it.current()))); ++it; } return items.join("\n"); @@ -307,7 +307,7 @@ bool TreeWidget::isFunctionSupported(int f) return f == DCOP::insertItem || f == DCOP::text || f == DCOP::setText || f == DCOP::insertItems || f == DCOP::selection || f == DCOP::setSelection || f == DCOP::clear || f == DCOP::removeItem || f == DCOP::currentItem || f == DCOP::setCurrentItem || f == DCOP::findItem || f == DCOP::item || - f == DCOP::itemPath || f == DCOP::itemDepth || f == DCOP::setPixmap || f == DCOP::setColumnCaption || f == DCOP::removeColumn || f == DCOP::columnCount || f == DCOP::geometry || f == DCOP::hasFocus || f == DCOP::getBackgroundColor || f == DCOP::setBackgroundColor || (f > FirstFunction && f < LastFunction) || (f >= TW_FUNCTION && f <= TW_LAST_FUNCTION); + f == DCOP::itemPath || f == DCOP::itemDepth || f == DCOP::setPixmap || f == DCOP::setColumnCaption || f == DCOP::removeColumn || f == DCOP::columnCount || f == DCOP::tqgeometry || f == DCOP::hasFocus || f == DCOP::getBackgroundColor || f == DCOP::setBackgroundColor || (f > FirstFunction && f < LastFunction) || (f >= TW_FUNCTION && f <= TW_LAST_FUNCTION); } TQString TreeWidget::handleDCOP(int function, const TQStringList& args) @@ -342,7 +342,7 @@ TQString TreeWidget::handleDCOP(int function, const TQStringList& args) { if (it.current()->isSelected()) { - selection.append(TQString("%1\n").arg(itemToIndexSafe(it.current()))); + selection.append(TQString("%1\n").tqarg(itemToIndexSafe(it.current()))); } ++it; } @@ -494,7 +494,7 @@ TQString TreeWidget::handleDCOP(int function, const TQStringList& args) case TW_childCount: return TQString::number(childCount()); break; - case DCOP::geometry: + case DCOP::tqgeometry: { TQString geo = TQString::number(this->x())+" "+TQString::number(this->y())+" "+TQString::number(this->width())+" "+TQString::number(this->height()); return geo; |