From 9771f17f8cc5252b12ec5f3edf47ff9bffdf997f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:16:01 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kommander/widgets/treewidget.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kommander/widgets/treewidget.cpp') 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: { -- cgit v1.2.1