summaryrefslogtreecommitdiffstats
path: root/akregator/src/treenodeitem.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
commitfd5d099065a748cac49e20a13481f85666c53c71 (patch)
treea0f1672cd88eb0e69b9ddc2ed9b08ecd98538bd3 /akregator/src/treenodeitem.cpp
parentb440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff)
downloadtdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz
tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'akregator/src/treenodeitem.cpp')
-rw-r--r--akregator/src/treenodeitem.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/akregator/src/treenodeitem.cpp b/akregator/src/treenodeitem.cpp
index 3299e2783..4e60ea9af 100644
--- a/akregator/src/treenodeitem.cpp
+++ b/akregator/src/treenodeitem.cpp
@@ -37,24 +37,24 @@
namespace Akregator {
TreeNodeItem::TreeNodeItem(FolderItem* parent, TreeNode* node)
- : KListViewItem(parent), m_node(node)
+ : TDEListViewItem(parent), m_node(node)
{
initialize(node);
}
-TreeNodeItem::TreeNodeItem(KListView* parent, TreeNode* node)
- : KListViewItem(parent), m_node(node)
+TreeNodeItem::TreeNodeItem(TDEListView* parent, TreeNode* node)
+ : TDEListViewItem(parent), m_node(node)
{
initialize(node);
}
-TreeNodeItem::TreeNodeItem(KListView* parent, TreeNodeItem* after, TreeNode* node) : KListViewItem(parent, after), m_node(node)
+TreeNodeItem::TreeNodeItem(TDEListView* parent, TreeNodeItem* after, TreeNode* node) : TDEListViewItem(parent, after), m_node(node)
{
initialize(node);
}
TreeNodeItem::TreeNodeItem(FolderItem* parent, TreeNodeItem* after, TreeNode* node)
- : KListViewItem(parent, after), m_node(node)
+ : TDEListViewItem(parent, after), m_node(node)
{
initialize(node);
}
@@ -91,17 +91,17 @@ void TreeNodeItem::nodeChanged()
TreeNodeItem* TreeNodeItem::firstChild() const
{
- return static_cast<TreeNodeItem*>(KListViewItem::firstChild());
+ return static_cast<TreeNodeItem*>(TDEListViewItem::firstChild());
}
TreeNodeItem* TreeNodeItem::nextSibling() const
{
- return static_cast<TreeNodeItem*>(KListViewItem::nextSibling());
+ return static_cast<TreeNodeItem*>(TDEListViewItem::nextSibling());
}
FolderItem* TreeNodeItem::parent() const
{
- return static_cast<FolderItem*>(KListViewItem::parent());
+ return static_cast<FolderItem*>(TDEListViewItem::parent());
}
@@ -114,7 +114,7 @@ void TreeNodeItem::paintCell( TQPainter * p, const TQColorGroup & cg,
if (u <= 0)
{
- KListViewItem::paintCell(p,cg,column,width,align);
+ TDEListViewItem::paintCell(p,cg,column,width,align);
return;
}
@@ -123,7 +123,7 @@ void TreeNodeItem::paintCell( TQPainter * p, const TQColorGroup & cg,
setText( column, " " );
// draw bg
- KListViewItem::paintCell(p,cg,column,width,align);
+ TDEListViewItem::paintCell(p,cg,column,width,align);
setText( column, oldText);