diff options
Diffstat (limited to 'libtdepim/addressesdialog.cpp')
-rw-r--r-- | libtdepim/addressesdialog.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libtdepim/addressesdialog.cpp b/libtdepim/addressesdialog.cpp index d86995404..68fd906e3 100644 --- a/libtdepim/addressesdialog.cpp +++ b/libtdepim/addressesdialog.cpp @@ -93,7 +93,7 @@ struct AddressesDialog::AddressesDialogPrivate { AddresseeViewItem::AddresseeViewItem( AddresseeViewItem *parent, const KABC::Addressee& addr, int emailIndex ) - : TQObject( 0 ), KListViewItem( parent, addr.realName(), + : TQObject( 0 ), TDEListViewItem( parent, addr.realName(), ( emailIndex == 0 ? addr.preferredEmail() : addr.emails()[ emailIndex ] ) ) { d = new AddresseeViewItemPrivate; @@ -113,8 +113,8 @@ AddresseeViewItem::AddresseeViewItem( AddresseeViewItem *parent, const KABC::Add } } -AddresseeViewItem::AddresseeViewItem( KListView *lv, const TQString& name, Category cat ) - : TQObject(0), KListViewItem( lv, name ) +AddresseeViewItem::AddresseeViewItem( TDEListView *lv, const TQString& name, Category cat ) + : TQObject(0), TDEListViewItem( lv, name ) { d = new AddresseeViewItemPrivate; d->category = cat; @@ -122,7 +122,7 @@ AddresseeViewItem::AddresseeViewItem( KListView *lv, const TQString& name, Categ AddresseeViewItem::AddresseeViewItem( AddresseeViewItem *parent, const TQString& name, const KABC::Addressee::List &lst ) - : TQObject(0), KListViewItem( parent, name, i18n("<group>") ) + : TQObject(0), TDEListViewItem( parent, name, i18n("<group>") ) { d = new AddresseeViewItemPrivate; d->category = FilledGroup; @@ -130,7 +130,7 @@ AddresseeViewItem::AddresseeViewItem( AddresseeViewItem *parent, const TQString } AddresseeViewItem::AddresseeViewItem( AddresseeViewItem *parent, const TQString& name ) - : TQObject(0), KListViewItem( parent, name, i18n("<group>") ) + : TQObject(0), TDEListViewItem( parent, name, i18n("<group>") ) { d = new AddresseeViewItemPrivate; d->category = DistList; @@ -194,7 +194,7 @@ int AddresseeViewItem::compare( TQListViewItem * i, int col, bool ascending ) const { if ( category() == Group || category() == Entry ) - return KListViewItem::compare( i , col, ascending ); + return TDEListViewItem::compare( i , col, ascending ); AddresseeViewItem *item = static_cast<AddresseeViewItem*>( i ); int a = static_cast<int>( category() ); @@ -1063,7 +1063,7 @@ AddressesDialog::filterChanged( const TQString& txt ) } KABC::Addressee::List -AddressesDialog::allAddressee( KListView* view, bool onlySelected ) const +AddressesDialog::allAddressee( TDEListView* view, bool onlySelected ) const { KABC::Addressee::List lst; TQListViewItemIterator it( view ); |