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 /kabc/kabc2mutt | |
parent | 41b65d69967ad0d35f8b4dd37ac63aad1cebdae9 (diff) | |
download | tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.tar.gz tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.zip |
Rename KABC namespace
Diffstat (limited to 'kabc/kabc2mutt')
-rw-r--r-- | kabc/kabc2mutt/kabc2mutt.cpp | 10 | ||||
-rw-r--r-- | kabc/kabc2mutt/kabc2mutt.h | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/kabc/kabc2mutt/kabc2mutt.cpp b/kabc/kabc2mutt/kabc2mutt.cpp index 144ffe2dd..01ae6fd28 100644 --- a/kabc/kabc2mutt/kabc2mutt.cpp +++ b/kabc/kabc2mutt/kabc2mutt.cpp @@ -39,8 +39,8 @@ KABC2Mutt::KABC2Mutt( TQObject *parent, const char *name ) void KABC2Mutt::run() { - mAddressBook = KABC::StdAddressBook::self( true ); - KABC::StdAddressBook::setAutomaticSave( false ); + mAddressBook = TDEABC::StdAddressBook::self( true ); + TDEABC::StdAddressBook::setAutomaticSave( false ); connect( mAddressBook, TQT_SIGNAL( addressBookChanged( AddressBook* ) ), this, TQT_SLOT( loadingFinished() ) ); @@ -49,7 +49,7 @@ void KABC2Mutt::run() void KABC2Mutt::loadingFinished() { // print addressees - KABC::AddressBook::ConstIterator iaddr; + TDEABC::AddressBook::ConstIterator iaddr; for ( iaddr = mAddressBook->begin(); iaddr != mAddressBook->end(); ++iaddr ) { const TQString name = (*iaddr).givenName() + ' ' + (*iaddr).familyName(); if ( !mQuery.isEmpty() ) { @@ -122,12 +122,12 @@ void KABC2Mutt::loadingFinished() } // print all distribution lists - KABC::DistributionListManager manager( mAddressBook ); + TDEABC::DistributionListManager manager( mAddressBook ); manager.load(); TQStringList dists = manager.listNames(); for ( TQStringList::Iterator iaddr = dists.begin(); iaddr != dists.end(); ++iaddr ) { - KABC::DistributionList *list = manager.list( *iaddr ); + TDEABC::DistributionList *list = manager.list( *iaddr ); if ( list ) { if ( !mQuery.isEmpty() ) { bool match = ((*iaddr).find(mQuery) > -1); diff --git a/kabc/kabc2mutt/kabc2mutt.h b/kabc/kabc2mutt/kabc2mutt.h index 328f06c17..92b7e9680 100644 --- a/kabc/kabc2mutt/kabc2mutt.h +++ b/kabc/kabc2mutt/kabc2mutt.h @@ -51,7 +51,7 @@ class KABC2Mutt : public TQObject bool mAllAddresses; bool mAlternateKeyFormat; - KABC::AddressBook *mAddressBook; + TDEABC::AddressBook *mAddressBook; }; #endif |