From 94273bcb909fac42ef9427e3d8a614cab8c29c66 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 20 Feb 2013 16:27:27 -0600 Subject: Rename KABC namespace --- kaddressbook/views/kaddressbookiconview.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kaddressbook/views/kaddressbookiconview.cpp') diff --git a/kaddressbook/views/kaddressbookiconview.cpp b/kaddressbook/views/kaddressbookiconview.cpp index f88af5ffe..8b9780183 100644 --- a/kaddressbook/views/kaddressbookiconview.cpp +++ b/kaddressbook/views/kaddressbookiconview.cpp @@ -95,14 +95,14 @@ TQDragObject *AddresseeIconView::dragObject() class AddresseeIconViewItem : public TDEIconViewItem { public: - AddresseeIconViewItem( const KABC::Field::List&, KABC::AddressBook *doc, - const KABC::Addressee &addr, TQIconView *parent ) + AddresseeIconViewItem( const TDEABC::Field::List&, TDEABC::AddressBook *doc, + const TDEABC::Addressee &addr, TQIconView *parent ) : TDEIconViewItem( parent ), mDocument( doc ), mAddressee( addr ) { refresh(); } - const KABC::Addressee &addressee() const { return mAddressee; } + const TDEABC::Addressee &addressee() const { return mAddressee; } void refresh() { @@ -113,7 +113,7 @@ class AddresseeIconViewItem : public TDEIconViewItem TQPixmap icon; TQPixmap defaultIcon( TDEGlobal::iconLoader()->loadIcon( "vcard", TDEIcon::Desktop ) ); - KABC::Picture pic = mAddressee.photo(); + TDEABC::Picture pic = mAddressee.photo(); if ( pic.data().isNull() ) pic = mAddressee.logo(); @@ -130,8 +130,8 @@ class AddresseeIconViewItem : public TDEIconViewItem } private: - KABC::AddressBook *mDocument; - KABC::Addressee mAddressee; + TDEABC::AddressBook *mDocument; + TDEABC::Addressee mAddressee; }; @@ -161,10 +161,10 @@ KAddressBookIconView::~KAddressBookIconView() { } -KABC::Field *KAddressBookIconView::sortField() const +TDEABC::Field *KAddressBookIconView::sortField() const { // we have hardcoded sorting, so we have to return a hardcoded field :( - return KABC::Field::allFields()[ 2 ]; + return TDEABC::Field::allFields()[ 2 ]; } void KAddressBookIconView::readConfig( TDEConfig *config ) @@ -209,9 +209,9 @@ void KAddressBookIconView::refresh( const TQString &uid ) mIconView->clear(); mIconList.clear(); - 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 ) aItem = new AddresseeIconViewItem( fields(), core()->addressBook(), *it, mIconView ); -- cgit v1.2.1