From 189e536f1a74ecc2d9dcf35b9f5b3d54a2d1901e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:10:12 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kuser/kuservw.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kuser/kuservw.cpp') diff --git a/kuser/kuservw.cpp b/kuser/kuservw.cpp index b98495e..9fae9d5 100644 --- a/kuser/kuservw.cpp +++ b/kuser/kuservw.cpp @@ -24,8 +24,8 @@ #include "kuservw.h" -KUserViewItem::KUserViewItem(KListView *parent, KU::KUser *aku) - : KListViewItem(parent), mUser(aku) +KUserViewItem::KUserViewItem(TDEListView *parent, KU::KUser *aku) + : TDEListViewItem(parent), mUser(aku) { } @@ -53,7 +53,7 @@ void KUserViewItem::paintCell( TQPainter *p, const TQColorGroup &cg, if ( mUser->getDisabled() ) _cg.setColor( TQColorGroup::Text, TDEGlobalSettings::visitedLinkColor() ); - KListViewItem::paintCell( p, _cg, column, width, alignment ); + TDEListViewItem::paintCell( p, _cg, column, width, alignment ); _cg.setColor( TQColorGroup::Text, c ); } @@ -81,7 +81,7 @@ TQString KUserViewItem::text(int num) const } KUserView::KUserView(TQWidget *parent, const char *name) - : KListView( parent, name ) + : TDEListView( parent, name ) { setSelectionMode( TQListView::Extended ); } @@ -92,7 +92,7 @@ KUserView::~KUserView() void KUserView::insertItem(KU::KUser *aku) { KUserViewItem *userItem = new KUserViewItem(this, aku); - KListView::insertItem(userItem); + TDEListView::insertItem(userItem); } void KUserView::removeItem(KU::KUser *aku) { -- cgit v1.2.1