KABC::SortMode Class Reference

#include <sortmode.h>

Inheritance diagram for KABC::SortMode:

KABC::FieldSortMode KABC::NameSortMode List of all members.

Detailed Description

Sort method for sorting an addressee list.

This interface should be reimplemented by classes which shall act as SortModes for KABC::AddresseeList.

Definition at line 36 of file sortmode.h.


Public Member Functions

virtual bool lesser (const KABC::Addressee &first, const KABC::Addressee &second) const =0

Member Function Documentation

virtual bool KABC::SortMode::lesser ( const KABC::Addressee first,
const KABC::Addressee second 
) const [pure virtual]

Reimplement this method and return whether the first contact is 'smaller' than the second.

Implemented in KABC::NameSortMode, and KABC::FieldSortMode.


The documentation for this class was generated from the following file:
KDE Home | KDE Accessibility Home | Description of Access Keys