summaryrefslogtreecommitdiffstats
path: root/src/netlistviewitem.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:06:22 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:06:22 -0600
commit8668a55e039a3b9b8fc39f55d15138a33ea87b22 (patch)
treea57961a28d9d10eee56878e98f6d440d96fdd13c /src/netlistviewitem.cpp
parent0a65b5f1604bb416bffa2f80a7fc7cf4677ff811 (diff)
downloadwlassistant-8668a55e039a3b9b8fc39f55d15138a33ea87b22.tar.gz
wlassistant-8668a55e039a3b9b8fc39f55d15138a33ea87b22.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/netlistviewitem.cpp')
-rw-r--r--src/netlistviewitem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/netlistviewitem.cpp b/src/netlistviewitem.cpp
index 2635e06..96d03a8 100644
--- a/src/netlistviewitem.cpp
+++ b/src/netlistviewitem.cpp
@@ -44,10 +44,10 @@ void NetListViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column
bgColor = cg.color( TQColorGroup::Background);
else {
#if KDE_IS_VERSION(3,4,0)
- bgColor = ((KListViewItem*)this)->backgroundColor(column);
+ bgColor = ((TDEListViewItem*)this)->backgroundColor(column);
#else
- bgColor = ((KListViewItem*)this)->backgroundColor();
+ bgColor = ((TDEListViewItem*)this)->backgroundColor();
#endif
}
@@ -165,7 +165,7 @@ void NetListViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column
}
default:
- KListViewItem::paintCell(p, cg, column, width, alignment);
+ TDEListViewItem::paintCell(p, cg, column, width, alignment);
} //switch
}