-rw-r--r-- | libopie2/opiepim/backend/odatebookaccessbackend_sql.cpp | 1 | ||||
-rw-r--r-- | libopie2/opiepim/backend/otodoaccessbackend.cpp | 2 | ||||
-rw-r--r-- | libopie2/opiepim/backend/otodoaccessbackend.h | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/libopie2/opiepim/backend/odatebookaccessbackend_sql.cpp b/libopie2/opiepim/backend/odatebookaccessbackend_sql.cpp index 41b714e..629e4da 100644 --- a/libopie2/opiepim/backend/odatebookaccessbackend_sql.cpp +++ b/libopie2/opiepim/backend/odatebookaccessbackend_sql.cpp | |||
@@ -205,12 +205,13 @@ bool ODateBookAccessBackend_SQL::save() | |||
205 | QArray<int> ODateBookAccessBackend_SQL::allRecords()const | 205 | QArray<int> ODateBookAccessBackend_SQL::allRecords()const |
206 | { | 206 | { |
207 | return m_uids; | 207 | return m_uids; |
208 | } | 208 | } |
209 | 209 | ||
210 | QArray<int> ODateBookAccessBackend_SQL::queryByExample(const OPimEvent&, int, const QDateTime& ) { | 210 | QArray<int> ODateBookAccessBackend_SQL::queryByExample(const OPimEvent&, int, const QDateTime& ) { |
211 | qDebug( "Accessing ODateBookAccessBackend_SQL::queryByExample() which is not implemented!" ); | ||
211 | return QArray<int>(); | 212 | return QArray<int>(); |
212 | } | 213 | } |
213 | 214 | ||
214 | void ODateBookAccessBackend_SQL::clear() | 215 | void ODateBookAccessBackend_SQL::clear() |
215 | { | 216 | { |
216 | QString qu = "drop table datebook;"; | 217 | QString qu = "drop table datebook;"; |
diff --git a/libopie2/opiepim/backend/otodoaccessbackend.cpp b/libopie2/opiepim/backend/otodoaccessbackend.cpp index f979976..c7ce123 100644 --- a/libopie2/opiepim/backend/otodoaccessbackend.cpp +++ b/libopie2/opiepim/backend/otodoaccessbackend.cpp | |||
@@ -51,13 +51,13 @@ bool OPimTodoAccessBackend::hasQuerySettings (uint querySettings) const | |||
51 | { | 51 | { |
52 | return false; | 52 | return false; |
53 | } | 53 | } |
54 | 54 | ||
55 | 55 | ||
56 | UIDArray OPimTodoAccessBackend::queryByExample( const UIDArray& uidlist, const OPimTodo& query, int settings, | 56 | UIDArray OPimTodoAccessBackend::queryByExample( const UIDArray& uidlist, const OPimTodo& query, int settings, |
57 | const QDateTime& endperiod )const | 57 | const QDateTime& startperiod )const |
58 | { | 58 | { |
59 | qDebug( "Accessing OPimTodoAccessBackend::queryByExample() which is not implemented!" ); | 59 | qDebug( "Accessing OPimTodoAccessBackend::queryByExample() which is not implemented!" ); |
60 | return UIDArray(); | 60 | return UIDArray(); |
61 | 61 | ||
62 | // odebug << "Using Unaccelerated OPimContactAccessBackend implementation of queryByExample!" << oendl; | 62 | // odebug << "Using Unaccelerated OPimContactAccessBackend implementation of queryByExample!" << oendl; |
63 | 63 | ||
diff --git a/libopie2/opiepim/backend/otodoaccessbackend.h b/libopie2/opiepim/backend/otodoaccessbackend.h index 870ee57..06cece3 100644 --- a/libopie2/opiepim/backend/otodoaccessbackend.h +++ b/libopie2/opiepim/backend/otodoaccessbackend.h | |||
@@ -61,13 +61,13 @@ public: | |||
61 | /** | 61 | /** |
62 | * Check whether settings are correct. | 62 | * Check whether settings are correct. |
63 | * @return <i>true</i> if the given settings are correct and possible. | 63 | * @return <i>true</i> if the given settings are correct and possible. |
64 | */ | 64 | */ |
65 | bool hasQuerySettings (uint querySettings) const; | 65 | bool hasQuerySettings (uint querySettings) const; |
66 | 66 | ||
67 | UIDArray queryByExample( const UIDArray& uidlist, const OPimTodo& query, int settings, const QDateTime& endperiod = QDateTime() )const; | 67 | UIDArray queryByExample( const UIDArray& uidlist, const OPimTodo& query, int settings, const QDateTime& startperiod = QDateTime() )const; |
68 | UIDArray sorted( const UIDArray&, bool asc, int, int, const QArray<int>& )const; | 68 | UIDArray sorted( const UIDArray&, bool asc, int, int, const QArray<int>& )const; |
69 | OPimBackendOccurrence::List occurrences( const QDate&, const QDate& )const; | 69 | OPimBackendOccurrence::List occurrences( const QDate&, const QDate& )const; |
70 | //@} | 70 | //@} |
71 | 71 | ||
72 | private: | 72 | private: |
73 | class Private; | 73 | class Private; |