diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-20 16:27:27 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-20 16:27:27 -0600 |
commit | 94273bcb909fac42ef9427e3d8a614cab8c29c66 (patch) | |
tree | 91b99186971ecb475db3ca41b1b12df24029e389 /kaddressbook/views/kaddressbooktableview.cpp | |
parent | 41b65d69967ad0d35f8b4dd37ac63aad1cebdae9 (diff) | |
download | tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.tar.gz tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.zip |
Rename KABC namespace
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 ); |