diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:16:01 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:16:01 -0600 |
commit | 9771f17f8cc5252b12ec5f3edf47ff9bffdf997f (patch) | |
tree | b9e389db87bdba126010d03fb5bccdc748d0e6fa /klinkstatus/src/ui/treeview.cpp | |
parent | 9930e16dde86b7de9b792613d826f4f8648b9768 (diff) | |
download | tdewebdev-9771f17f8cc5252b12ec5f3edf47ff9bffdf997f.tar.gz tdewebdev-9771f17f8cc5252b12ec5f3edf47ff9bffdf997f.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'klinkstatus/src/ui/treeview.cpp')
-rw-r--r-- | klinkstatus/src/ui/treeview.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/klinkstatus/src/ui/treeview.cpp b/klinkstatus/src/ui/treeview.cpp index 882ca58f..bb24ac65 100644 --- a/klinkstatus/src/ui/treeview.cpp +++ b/klinkstatus/src/ui/treeview.cpp @@ -40,7 +40,7 @@ TreeView::TreeView(TQWidget *parent, const char *name) - : KListView(parent, name), + : TDEListView(parent, name), ResultView(), current_column_(0) { @@ -106,7 +106,7 @@ double TreeView::columnsWidth() const void TreeView::clear() { - KListView::clear(); + TDEListView::clear(); } void TreeView::removeColunas() @@ -116,7 +116,7 @@ void TreeView::removeColunas() void TreeView::show(ResultView::Status const& status) { - TQListViewItemIterator it(static_cast<KListView*> (this)); + TQListViewItemIterator it(static_cast<TDEListView*> (this)); while(it.current()) { TreeViewItem* item = myItem(it.current()); @@ -197,7 +197,7 @@ bool TreeView::isEmpty() const void TreeView::resizeEvent(TQResizeEvent *e) { - KListView::resizeEvent(e); + TDEListView::resizeEvent(e); resetColumns(); clipper()->repaint(); } @@ -394,7 +394,7 @@ TreeViewItem* TreeView::myItem(TQListViewItem* item) const TreeViewItem::TreeViewItem(TreeView* parent, TQListViewItem* after, LinkStatus const* linkstatus) - : KListViewItem(parent, after), + : TDEListViewItem(parent, after), last_child_(0), root_(parent) { init(linkstatus); @@ -402,7 +402,7 @@ TreeViewItem::TreeViewItem(TreeView* parent, TQListViewItem* after, TreeViewItem::TreeViewItem(TreeView* root, TQListViewItem* listview_item, TQListViewItem* after, LinkStatus const* linkstatus) - : KListViewItem(listview_item, after), + : TDEListViewItem(listview_item, after), last_child_(0), root_(root) { @@ -470,7 +470,7 @@ void TreeViewItem::paintCell(TQPainter * p, const TQColorGroup & cg, int column, TQColor color(item.textStatusColor()); m_cg.setColor(TQColorGroup::Text, color); - KListViewItem::paintCell(p, m_cg, column, width, align); + TDEListViewItem::paintCell(p, m_cg, column, width, align); setHeight(22); } |