summaryrefslogtreecommitdiffstats
path: root/tdeabc/sortmode.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:26:45 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:26:45 -0600
commit45f3927b0ffec2599bc0e1ce361c5386474a85f4 (patch)
tree29e1842fe4d93f4e99481385a771e8bef061158b /tdeabc/sortmode.h
parent04105ef07304a9358e87eff0cb1a6d6f2a725192 (diff)
downloadtdelibs-45f3927b0ffec2599bc0e1ce361c5386474a85f4.tar.gz
tdelibs-45f3927b0ffec2599bc0e1ce361c5386474a85f4.zip
Rename KABC namespace
Diffstat (limited to 'tdeabc/sortmode.h')
-rw-r--r--tdeabc/sortmode.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/tdeabc/sortmode.h b/tdeabc/sortmode.h
index f02662b7d..49f3490ba 100644
--- a/tdeabc/sortmode.h
+++ b/tdeabc/sortmode.h
@@ -25,13 +25,13 @@
#include <tdeabc/addressee.h>
-namespace KABC {
+namespace TDEABC {
/**
@short Sort method for sorting an addressee list.
This interface should be reimplemented by classes which shall act as
- SortModes for KABC::AddresseeList.
+ SortModes for TDEABC::AddresseeList.
*/
class KABC_EXPORT SortMode
{
@@ -40,7 +40,7 @@ class KABC_EXPORT SortMode
Reimplement this method and return whether the first contact is 'smaller'
than the second.
*/
- virtual bool lesser( const KABC::Addressee &first, const KABC::Addressee &second ) const = 0;
+ virtual bool lesser( const TDEABC::Addressee &first, const TDEABC::Addressee &second ) const = 0;
};
class KABC_EXPORT NameSortMode : public SortMode
@@ -73,7 +73,7 @@ class KABC_EXPORT NameSortMode : public SortMode
/**
Returns whether the first contact is 'smaller' then the second.
*/
- virtual bool lesser( const KABC::Addressee&, const KABC::Addressee& ) const;
+ virtual bool lesser( const TDEABC::Addressee&, const TDEABC::Addressee& ) const;
private:
NameType mNameType;
@@ -94,15 +94,15 @@ class KABC_EXPORT FieldSortMode : public SortMode
@param field The field.
@param ascending true for ascending sort, false for descending.
*/
- FieldSortMode( KABC::Field *field, bool ascending = true );
+ FieldSortMode( TDEABC::Field *field, bool ascending = true );
/**
Returns whether the first contact is 'smaller' then the second.
*/
- virtual bool lesser( const KABC::Addressee&, const KABC::Addressee& ) const;
+ virtual bool lesser( const TDEABC::Addressee&, const TDEABC::Addressee& ) const;
private:
- KABC::Field *mField;
+ TDEABC::Field *mField;
bool mAscendingOrder;
class FieldSortModePrivate;