summaryrefslogtreecommitdiffstats
path: root/kaddressbook/views/contactlistview.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 /kaddressbook/views/contactlistview.cpp
parentb440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff)
downloadtdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz
tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kaddressbook/views/contactlistview.cpp')
-rw-r--r--kaddressbook/views/contactlistview.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kaddressbook/views/contactlistview.cpp b/kaddressbook/views/contactlistview.cpp
index 25c66ac45..a0aec1e90 100644
--- a/kaddressbook/views/contactlistview.cpp
+++ b/kaddressbook/views/contactlistview.cpp
@@ -151,7 +151,7 @@ ContactListViewItem::ContactListViewItem(const KABC::Addressee &a,
KABC::AddressBook *doc,
const KABC::Field::List &fields,
KIMProxy *proxy )
- : KListViewItem(parent), mAddressee(a), mFields( fields ),
+ : TDEListViewItem(parent), mAddressee(a), mFields( fields ),
parentListView( parent ), mDocument(doc), mIMProxy( proxy )
{
if ( mIMProxy )
@@ -196,7 +196,7 @@ void ContactListViewItem::paintCell(TQPainter * p,
int width,
int align)
{
- KListViewItem::paintCell(p, cg, column, width, align);
+ TDEListViewItem::paintCell(p, cg, column, width, align);
if ( !p )
return;
@@ -260,7 +260,7 @@ ContactListView::ContactListView(KAddressBookTableView *view,
KABC::AddressBook* /* doc */,
TQWidget *parent,
const char *name )
- : KListView( parent, name ),
+ : TDEListView( parent, name ),
pabWidget( view ),
oldColumn( 0 )
{
@@ -275,7 +275,7 @@ ContactListView::ContactListView(KAddressBookTableView *view,
viewport()->setAcceptDrops( true );
setAllColumnsShowFocus( true );
setShowSortIndicator(true);
- setSelectionModeExt( KListView::Extended );
+ setSelectionModeExt( TDEListView::Extended );
setDropVisualizer(false);
connect(this, TQT_SIGNAL(dropped(TQDropEvent*)),
@@ -300,14 +300,14 @@ void ContactListView::paintEmptyArea( TQPainter * p, const TQRect & rect )
else
{
// Do a normal paint
- KListView::paintEmptyArea(p, rect);
+ TDEListView::paintEmptyArea(p, rect);
}
}
void ContactListView::contentsMousePressEvent(TQMouseEvent* e)
{
presspos = e->pos();
- KListView::contentsMousePressEvent(e);
+ TDEListView::contentsMousePressEvent(e);
}
@@ -318,7 +318,7 @@ void ContactListView::contentsMouseMoveEvent( TQMouseEvent *e )
emit startAddresseeDrag();
}
else
- KListView::contentsMouseMoveEvent( e );
+ TDEListView::contentsMouseMoveEvent( e );
}
bool ContactListView::acceptDrag(TQDropEvent *e) const