summaryrefslogtreecommitdiffstats
path: root/kaddressbook/kaddressbookview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/kaddressbookview.cpp')
-rw-r--r--kaddressbook/kaddressbookview.cpp24
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 )
{