summaryrefslogtreecommitdiffstats
path: root/kaddressbook/views/kaddressbookiconview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:27:27 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:27:27 -0600
commit94273bcb909fac42ef9427e3d8a614cab8c29c66 (patch)
tree91b99186971ecb475db3ca41b1b12df24029e389 /kaddressbook/views/kaddressbookiconview.cpp
parent41b65d69967ad0d35f8b4dd37ac63aad1cebdae9 (diff)
downloadtdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.tar.gz
tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.zip
Rename KABC namespace
Diffstat (limited to 'kaddressbook/views/kaddressbookiconview.cpp')
-rw-r--r--kaddressbook/views/kaddressbookiconview.cpp22
1 files changed, 11 insertions, 11 deletions
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 );