Diffstat (limited to 'libopie2/opiepim/backend/ocontactaccessbackend_xml.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiepim/backend/ocontactaccessbackend_xml.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libopie2/opiepim/backend/ocontactaccessbackend_xml.h b/libopie2/opiepim/backend/ocontactaccessbackend_xml.h index eaea352..3e4f1e1 100644 --- a/libopie2/opiepim/backend/ocontactaccessbackend_xml.h +++ b/libopie2/opiepim/backend/ocontactaccessbackend_xml.h | |||
@@ -53,34 +53,31 @@ class OPimContactAccessBackend_XML : public OPimContactAccessBackend { | |||
53 | bool save(); | 53 | bool save(); |
54 | 54 | ||
55 | bool load (); | 55 | bool load (); |
56 | 56 | ||
57 | void clear (); | 57 | void clear (); |
58 | 58 | ||
59 | bool wasChangedExternally(); | 59 | bool wasChangedExternally(); |
60 | 60 | ||
61 | QArray<int> allRecords() const; | 61 | QArray<int> allRecords() const; |
62 | 62 | ||
63 | OPimContact find ( int uid ) const; | 63 | OPimContact find ( int uid ) const; |
64 | 64 | ||
65 | QArray<int> queryByExample ( const OPimContact &query, int settings, const QDateTime& d = QDateTime() ); | 65 | QArray<int> queryByExample ( const OPimContact &query, int settings, const QDateTime& d )const; |
66 | |||
67 | QArray<int> matchRegexp( const QRegExp &r ) const; | 66 | QArray<int> matchRegexp( const QRegExp &r ) const; |
68 | 67 | ||
69 | const uint querySettings(); | 68 | const uint querySettings(); |
70 | 69 | ||
71 | bool hasQuerySettings (uint querySettings) const; | 70 | bool hasQuerySettings (uint querySettings) const; |
72 | 71 | ||
73 | // Currently only asc implemented.. | ||
74 | QArray<int> sorted( bool asc, int , int , int ); | ||
75 | bool add ( const OPimContact &newcontact ); | 72 | bool add ( const OPimContact &newcontact ); |
76 | 73 | ||
77 | bool replace ( const OPimContact &contact ); | 74 | bool replace ( const OPimContact &contact ); |
78 | 75 | ||
79 | bool remove ( int uid ); | 76 | bool remove ( int uid ); |
80 | bool reload(); | 77 | bool reload(); |
81 | 78 | ||
82 | private: | 79 | private: |
83 | 80 | ||
84 | enum journal_action { ACTION_ADD, ACTION_REMOVE, ACTION_REPLACE }; | 81 | enum journal_action { ACTION_ADD, ACTION_REMOVE, ACTION_REPLACE }; |
85 | 82 | ||
86 | void addContact_p( const OPimContact &newcontact ); | 83 | void addContact_p( const OPimContact &newcontact ); |