22 #ifndef KABC_ADDRESSEELIST_H 23 #define KABC_ADDRESSEELIST_H 25 #include <tqvaluelist.h> 27 #include "addressee.h" 44 namespace SortingTraits
54 class KABC_EXPORT Name
61 class KABC_EXPORT FormattedName
68 class KABC_EXPORT FamilyName
75 class KABC_EXPORT GivenName
142 void sortBy( SortingCriterion c );
149 void sortByField( Field *field = 0 );
156 void sortByMode(
SortMode *mode = 0 );
196 template<
class Trait>
void sortByTrait();
211 Field* sortingField()
const;
214 bool mReverseSorting;
215 SortingCriterion mActiveSortingCriterion;
Sort method for sorting an addressee list.
void setReverseSorting(bool r=true)
Determines the direction of sorting.
static data, shared by ALL addressee objects
a TQValueList of Addressee, with sorting functionality
SortingCriterion
Addressee attribute used for sorting.
bool reverseSorting() const
Returns the direction of sorting.
SortingCriterion sortingCriterion() const
Returns the active sorting criterion, ie the sorting criterion that will be used by a sort call...