summaryrefslogtreecommitdiffstats
path: root/src/gui/plvitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/plvitem.cpp')
-rw-r--r--src/gui/plvitem.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/plvitem.cpp b/src/gui/plvitem.cpp
index 55f6f6a..24b12ac 100644
--- a/src/gui/plvitem.cpp
+++ b/src/gui/plvitem.cpp
@@ -16,8 +16,8 @@
#include <tqvariant.h>
//BEGIN class PLVItem
-PLVItem::PLVItem(KListView *listview, const TQString &id, Variant *data)
- : KListViewItem(listview, data->editorCaption())
+PLVItem::PLVItem(TDEListView *listview, const TQString &id, Variant *data)
+ : TDEListViewItem(listview, data->editorCaption())
{
p_data = data;
m_id = id;
@@ -45,7 +45,7 @@ int PLVItem::width ( const TQFontMetrics & fm, const TQListView * lv, int c ) co
{
if ( c == 0 )
return 100;
-// return KListViewItem::width( fm, lv, c );
+// return TDEListViewItem::width( fm, lv, c );
else
return 200;
}
@@ -54,7 +54,7 @@ int PLVItem::width ( const TQFontMetrics & fm, const TQListView * lv, int c ) co
//BEGIN class PLVColorItem
-PLVColorItem::PLVColorItem(KListView *listview, const TQString &id, Variant *data)
+PLVColorItem::PLVColorItem(TDEListView *listview, const TQString &id, Variant *data)
: PLVItem(listview,id,data)
{
}
@@ -74,10 +74,10 @@ void PLVColorItem::paintCell ( TQPainter * p, const TQColorGroup & cg, int colum
{
p->setBackgroundColor( p_data->value().toColor() );
TQBrush brush( p_data->value().toColor() );
- p->fillRect(TQRect(0,0,listView()->columnWidth(1),KListViewItem::height()),brush);
+ p->fillRect(TQRect(0,0,listView()->columnWidth(1),TDEListViewItem::height()),brush);
}
else
- KListViewItem::paintCell(p,cg,column,width,align);
+ TDEListViewItem::paintCell(p,cg,column,width,align);
}
void PLVColorItem::updateData(TQVariant value)