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 --- libtdepim/distributionlist.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'libtdepim/distributionlist.h') diff --git a/libtdepim/distributionlist.h b/libtdepim/distributionlist.h index 433e95b5..6a96a7c5 100644 --- a/libtdepim/distributionlist.h +++ b/libtdepim/distributionlist.h @@ -23,7 +23,7 @@ #include -namespace KABC { +namespace TDEABC { class AddressBook; } @@ -40,7 +40,7 @@ namespace KPIM { * * @author David Faure */ -class DistributionList : public KABC::Addressee +class DistributionList : public TDEABC::Addressee { public: /** @@ -72,7 +72,7 @@ class DistributionList : public KABC::Addressee * Create a distribution list from an addressee object * (this is a kind of down-cast) */ - DistributionList( const KABC::Addressee& addr ); + DistributionList( const TDEABC::Addressee& addr ); /** * Destructor. @@ -108,26 +108,26 @@ class DistributionList : public KABC::Addressee These addresses can be directly used by e.g. a mail client. @param book necessary to look up entries */ - TQStringList emails( KABC::AddressBook* book ) const; + TQStringList emails( TDEABC::AddressBook* book ) const; /** Return list of entries belonging to this distribution list. This function is mainly useful for a distribution list editor. @param book necessary to look up entries */ - Entry::List entries( KABC::AddressBook* book ) const; + Entry::List entries( TDEABC::AddressBook* book ) const; // KDE4: should be a method of Addressee - static bool isDistributionList( const KABC::Addressee& addr ); + static bool isDistributionList( const TDEABC::Addressee& addr ); // KDE4: should be a method of AddressBook - static DistributionList findByName( KABC::AddressBook* book, + static DistributionList findByName( TDEABC::AddressBook* book, const TQString& name, bool caseSensitive = true ); // KDE4: should be a method of AddressBook // A bit slow (but no more than findByName). // From KAddressbook, use Core::distributionLists() instead. - static TQValueList allDistributionLists( KABC::AddressBook* book ); + static TQValueList allDistributionLists( TDEABC::AddressBook* book ); private: -- cgit v1.2.3