summaryrefslogtreecommitdiff
authorzecke <zecke>2005-06-27 18:10:40 (UTC)
committer zecke <zecke>2005-06-27 18:10:40 (UTC)
commitc3d21fe2179b4841cc95b4ee9ecac6b053e9ee17 (patch) (unidiff)
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>
78 /** Don't return entries which hava any category */ 78 /** Don't return entries which hava any category */
79 DoNotShowWithCategory = FilterCustom << 6 79 DoNotShowWithCategory = FilterCustom << 6
80 }; 80 };
81 81
82 /** 82 /**
83 * Sort order for sorted() 83 * Sort order for sorted()
84 * @see SortOrderBase in OPimBase 84 * @see SortOrderBase in OPimBase
85 */ 85 */
86 enum SortOrder { 86 enum SortOrder {
87 SortTitle = SortCustom, 87 SortTitle = SortCustom,
88 SortFirstName, 88 SortFirstName,
89 SortMiddleName, 89 SortMiddleName,
90 SortLastName, 90 SortLastName,
91 SortSuffix, 91 SortSuffix,
92 SortEmail, 92 SortEmail,
93 SortNickname, 93 SortNickname,
94 SortFileAsName, 94 SortFileAsName,
95 SortAnniversary, 95 SortAnniversary,
96 SortBirthday, 96 SortBirthday,
97 SortGender 97 SortGender,
98 SortBirthdayWithoutYear,
99 SortAnniversaryWithoutYear
98 }; 100 };
99 101
100 /** 102 /**
101 * Create Database with contacts (addressbook). 103 * Create Database with contacts (addressbook).
102 * @param appname Name of application which wants access to the database 104 * @param appname Name of application which wants access to the database
103 * (i.e. "todolist") 105 * (i.e. "todolist")
104 * @param filename The name of the database file. If not set, the default one 106 * @param filename The name of the database file. If not set, the default one
105 * is used. 107 * is used.
106 * @param backend Pointer to an alternative Backend. If not set, we will use 108 * @param backend Pointer to an alternative Backend. If not set, we will use
107 * the default backend. 109 * the default backend.
108 * @param handlesync If <b>true</b> the database stores the current state 110 * @param handlesync If <b>true</b> the database stores the current state
109 * automatically if it receives the signals <i>flush()</i> and <i>reload()</i> 111 * automatically if it receives the signals <i>flush()</i> and <i>reload()</i>