kabc Library API Documentation

KABC::FieldSortMode Class Reference

Inheritance diagram for KABC::FieldSortMode:

Inheritance graph
[legend]
Collaboration diagram for KABC::FieldSortMode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FieldSortMode (KABC::Field *field, bool ascending=true)
virtual bool lesser (const KABC::Addressee &, const KABC::Addressee &) const

Detailed Description

Definition at line 85 of file sortmode.h.


Constructor & Destructor Documentation

FieldSortMode::FieldSortMode KABC::Field field,
bool  ascending = true
 

Constructor.

Creates a FieldSortMethod with the specified field.

Parameters:
field The field.

Definition at line 63 of file sortmode.cpp.


Member Function Documentation

bool FieldSortMode::lesser const KABC::Addressee ,
const KABC::Addressee
const [virtual]
 

Returns whether the first contact is 'smaller' then the second.

Implements KABC::SortMode.

Definition at line 68 of file sortmode.cpp.

References QString::localeAwareCompare(), and KABC::Field::value().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kabc Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Jul 20 14:07:50 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003