24 #ifndef PRINTSORTMODE_H
25 #define PRINTSORTMODE_H
27 #include <kdeversion.h>
29 #if KDE_IS_VERSION(3,3,91)
31 #include <kabc/sortmode.h>
33 class PrintSortMode : public KABC::SortMode
36 PrintSortMode( KABC::Field *field, bool ascending = true );
38 virtual bool lesser( const KABC::Addressee&, const KABC::Addressee& ) const;
41 KABC::Field *mSortField;
42 KABC::Field *mGivenNameField;
43 KABC::Field *mFamilyNameField;
44 KABC::Field *mFormattedNameField;
48 #endif // KDE_IS_VERSION
50 #endif // PRINTSORTMODE_H
|