kabc Library API Documentation

KABC::SortingTraits Namespace Reference

Each trait must implement one static function for equality, one for "less than". More...


Detailed Description

Each trait must implement one static function for equality, one for "less than".

Class name should be the field name. A trait does not necessarily have to stick to just one field: a trait sorting by family name can e.g. sort addressees with equal family name by given name.

If you want to implement reverse sorting, you do not have to write another trait, as AddresseeList takes care of that.

KDE Logo
This file is part of the documentation for kdelibs Version 3.1.0.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Oct 8 12:22:10 2003 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2001