summaryrefslogtreecommitdiff
authorzecke <zecke>2005-06-27 18:10:40 (UTC)
committer zecke <zecke>2005-06-27 18:10:40 (UTC)
commitc3d21fe2179b4841cc95b4ee9ecac6b053e9ee17 (patch) (side-by-side diff)
tree08b679694ca1de724e3017f2dd259e47f3498fd1
parentcecffa1dc3a7bd1526be00e7bc4a4a151e6f2c9c (diff)
downloadopie-c3d21fe2179b4841cc95b4ee9ecac6b053e9ee17.zip
opie-c3d21fe2179b4841cc95b4ee9ecac6b053e9ee17.tar.gz
opie-c3d21fe2179b4841cc95b4ee9ecac6b053e9ee17.tar.bz2
Add the two new sort flags
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/core/ocontactaccess.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libopie2/opiepim/core/ocontactaccess.h b/libopie2/opiepim/core/ocontactaccess.h
index 9a2ecaf..88bf672 100644
--- a/libopie2/opiepim/core/ocontactaccess.h
+++ b/libopie2/opiepim/core/ocontactaccess.h
@@ -78,32 +78,34 @@ class OPimContactAccess: public QObject, public OPimAccessTemplate<OPimContact>
/** Don't return entries which hava any category */
DoNotShowWithCategory = FilterCustom << 6
};
/**
* Sort order for sorted()
* @see SortOrderBase in OPimBase
*/
enum SortOrder {
SortTitle = SortCustom,
SortFirstName,
SortMiddleName,
- SortLastName,
+ SortLastName,
SortSuffix,
SortEmail,
SortNickname,
SortFileAsName,
SortAnniversary,
SortBirthday,
- SortGender
+ SortGender,
+ SortBirthdayWithoutYear,
+ SortAnniversaryWithoutYear
};
/**
* Create Database with contacts (addressbook).
* @param appname Name of application which wants access to the database
* (i.e. "todolist")
* @param filename The name of the database file. If not set, the default one
* is used.
* @param backend Pointer to an alternative Backend. If not set, we will use
* the default backend.
* @param handlesync If <b>true</b> the database stores the current state
* automatically if it receives the signals <i>flush()</i> and <i>reload()</i>