diff options
Diffstat (limited to 'kaddressbook/views/kaddressbooktableview.cpp')
-rw-r--r-- | kaddressbook/views/kaddressbooktableview.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kaddressbook/views/kaddressbooktableview.cpp b/kaddressbook/views/kaddressbooktableview.cpp index 6d8d0c971..ad39eb644 100644 --- a/kaddressbook/views/kaddressbooktableview.cpp +++ b/kaddressbook/views/kaddressbooktableview.cpp @@ -71,7 +71,7 @@ class TableViewFactory : public ViewFactory TQString description() const { return i18n( "A listing of contacts in a table. Each cell of " "the table holds a field of the contact." ); } - ViewConfigureWidget *configureWidget( KABC::AddressBook *ab, TQWidget *parent, + ViewConfigureWidget *configureWidget( TDEABC::AddressBook *ab, TQWidget *parent, const char *name = 0 ) { return new ConfigureTableViewWidget( ab, parent, name ); @@ -121,8 +121,8 @@ void KAddressBookTableView::reconstructListView() mListView->setShowIM( mIMProxy != 0 ); // Add the columns - const KABC::Field::List fieldList( fields() ); - KABC::Field::List::ConstIterator it; + const TDEABC::Field::List fieldList( fields() ); + TDEABC::Field::List::ConstIterator it; int c = 0; for ( it = fieldList.begin(); it != fieldList.end(); ++it ) { @@ -167,7 +167,7 @@ void KAddressBookTableView::reconstructListView() mListView->show(); } -KABC::Field *KAddressBookTableView::sortField() const +TDEABC::Field *KAddressBookTableView::sortField() const { // we have hardcoded sorting, so we have to return a hardcoded field :( return ( mListView->sortColumn() == -1 ? fields()[ 0 ] : fields()[ mListView->sortColumn() ] ); @@ -230,9 +230,9 @@ void KAddressBookTableView::refresh( const TQString &uid ) mListView->clear(); currentItem = 0; - const KABC::Addressee::List addresseeList( addressees() ); - KABC::Addressee::List::ConstIterator it( addresseeList.begin() ); - const KABC::Addressee::List::ConstIterator endIt( addresseeList.end() ); + const TDEABC::Addressee::List addresseeList( addressees() ); + TDEABC::Addressee::List::ConstIterator it( addresseeList.begin() ); + const TDEABC::Addressee::List::ConstIterator endIt( addresseeList.end() ); for ( ; it != endIt; ++it ) { ContactListViewItem *item = new ContactListViewItem( *it, mListView, core()->addressBook(), fields(), mIMProxy ); |