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
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;
a TQValueList of Addressee, with sorting functionality
SortingCriterion sortingCriterion() const
Returns the active sorting criterion, ie the sorting criterion that will be used by a sort call.
void setReverseSorting(bool r=true)
Determines the direction of sorting.
bool reverseSorting() const
Returns the direction of sorting.
Sort method for sorting an addressee list.
static data, shared by ALL addressee objects
SortingCriterion
Addressee attribute used for sorting.