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/kaddressbookview.cpp | |
parent | 41b65d69967ad0d35f8b4dd37ac63aad1cebdae9 (diff) | |
download | tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.tar.gz tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.zip |
Rename KABC namespace
Diffstat (limited to 'kaddressbook/kaddressbookview.cpp')
-rw-r--r-- | kaddressbook/kaddressbookview.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kaddressbook/kaddressbookview.cpp b/kaddressbook/kaddressbookview.cpp index 09b713f26..d86103db8 100644 --- a/kaddressbook/kaddressbookview.cpp +++ b/kaddressbook/kaddressbookview.cpp @@ -55,10 +55,10 @@ KAddressBookView::~KAddressBookView() void KAddressBookView::readConfig( TDEConfig *config ) { - mFieldList = KABC::Field::restoreFields( config, "KABCFields" ); + mFieldList = TDEABC::Field::restoreFields( config, "KABCFields" ); if ( mFieldList.isEmpty() ) - mFieldList = KABC::Field::defaultFields(); + mFieldList = TDEABC::Field::defaultFields(); mDefaultFilterType = (DefaultFilterType)config->readNumEntry( "DefaultFilterType", 1 ); mDefaultFilterName = config->readEntry( "DefaultFilterName" ); @@ -74,7 +74,7 @@ TQString KAddressBookView::selectedEmails() bool first = true; TQString emailAddrs; const TQStringList uidList = selectedUids(); - KABC::Addressee addr; + TDEABC::Addressee addr; TQString email; TQStringList::ConstIterator it; @@ -85,7 +85,7 @@ TQString KAddressBookView::selectedEmails() TQString m = TQString(); if ( addr.emails().count() > 1 ) - m = KABC::EmailSelector::getEmail( addr.emails(), addr.preferredEmail(), this ); + m = TDEABC::EmailSelector::getEmail( addr.emails(), addr.preferredEmail(), this ); email = addr.fullEmail( m ); @@ -101,16 +101,16 @@ TQString KAddressBookView::selectedEmails() return emailAddrs; } -KABC::Addressee::List KAddressBookView::addressees() +TDEABC::Addressee::List KAddressBookView::addressees() { if ( mFilter.isEmpty() ) return mCore->searchManager()->contacts(); - KABC::Addressee::List addresseeList; - const KABC::Addressee::List contacts = mCore->searchManager()->contacts(); + TDEABC::Addressee::List addresseeList; + const TDEABC::Addressee::List contacts = mCore->searchManager()->contacts(); - KABC::Addressee::List::ConstIterator it; - KABC::Addressee::List::ConstIterator contactsEnd( contacts.end() ); + TDEABC::Addressee::List::ConstIterator it; + TDEABC::Addressee::List::ConstIterator contactsEnd( contacts.end() ); for ( it = contacts.begin(); it != contactsEnd; ++it ) { if ( mFilter.filterAddressee( *it ) ) addresseeList.append( *it ); @@ -129,7 +129,7 @@ void KAddressBookView::initGUI() layout->addWidget( mViewWidget ); } -KABC::Field::List KAddressBookView::fields() const +TDEABC::Field::List KAddressBookView::fields() const { return mFieldList; } @@ -185,7 +185,7 @@ void KAddressBookView::updateView() setSelected( *it, true ); } else { - const KABC::Addressee::List contacts = mCore->searchManager()->contacts(); + const TDEABC::Addressee::List contacts = mCore->searchManager()->contacts(); if ( !contacts.isEmpty() ) setFirstSelected( true ); else @@ -193,7 +193,7 @@ void KAddressBookView::updateView() } } -ViewConfigureWidget *ViewFactory::configureWidget( KABC::AddressBook *ab, +ViewConfigureWidget *ViewFactory::configureWidget( TDEABC::AddressBook *ab, TQWidget *parent, const char *name ) { |