summaryrefslogtreecommitdiffstats
path: root/kommander/widgets/treewidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/widgets/treewidget.cpp')
-rw-r--r--kommander/widgets/treewidget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kommander/widgets/treewidget.cpp b/kommander/widgets/treewidget.cpp
index 8a1aabf6..7c1c989a 100644
--- a/kommander/widgets/treewidget.cpp
+++ b/kommander/widgets/treewidget.cpp
@@ -55,7 +55,7 @@ enum Functions {
};
TreeWidget::TreeWidget(TQWidget *a_parent, const char *a_name)
- : KListView(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
+ : TDEListView(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
{
TQStringList states;
states << "default";
@@ -243,7 +243,7 @@ bool TreeWidget::isKommanderWidget() const
void TreeWidget::setCurrentItem(TQListViewItem* item)
{
- KListView::setCurrentItem(item);
+ TDEListView::setCurrentItem(item);
setSelected(item, true);
ensureItemVisible(item);
}
@@ -458,10 +458,10 @@ TQString TreeWidget::handleDCOP(int function, const TQStringList& args)
break;
}
case addColumnTree:
- return TQString::number(KListView::addColumn(args[0], args[1].toInt()));
+ return TQString::number(TDEListView::addColumn(args[0], args[1].toInt()));
break;
case setSortCol:
- KListView::setSorting(args[0].toInt(), args[1].toInt());
+ TDEListView::setSorting(args[0].toInt(), args[1].toInt());
break;
case DCOP::columnCount:
return TQString::number(TQListView::columns() );
@@ -476,7 +476,7 @@ TQString TreeWidget::handleDCOP(int function, const TQStringList& args)
setColAlign(args[0].toInt(), args[1]);
break;
case setAltBackground:
- KListView::setAlternateBackground(TQColor(args[0]));
+ TDEListView::setAlternateBackground(TQColor(args[0]));
break;
case DCOP::removeColumn:
{