Diffstat (limited to 'libopie2/opiepim/backend/odatebookaccessbackend.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiepim/backend/odatebookaccessbackend.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/libopie2/opiepim/backend/odatebookaccessbackend.h b/libopie2/opiepim/backend/odatebookaccessbackend.h index 8927ca1..91f63aa 100644 --- a/libopie2/opiepim/backend/odatebookaccessbackend.h +++ b/libopie2/opiepim/backend/odatebookaccessbackend.h | |||
@@ -85,25 +85,38 @@ public: | |||
85 | /** | 85 | /** |
86 | * this is an overloaded member function | 86 | * this is an overloaded member function |
87 | * @see effectiveNonRepeatingEvents( const QDate& from, const QDate& to ) | 87 | * @see effectiveNonRepeatingEvents( const QDate& from, const QDate& to ) |
88 | */ | 88 | */ |
89 | virtual OPimBackendOccurrence::List effectiveNonRepeatingEvents( const QDateTime& start )const; | 89 | virtual OPimBackendOccurrence::List effectiveNonRepeatingEvents( const QDateTime& start )const; |
90 | 90 | ||
91 | /** | 91 | /** |
92 | * Common and probably inefficent implementation | 92 | * Common and probably inefficent implementation |
93 | * for queryByExample, sorted | 93 | * for queryByExample, sorted |
94 | * and occurrences | 94 | * and occurrences |
95 | */ | 95 | */ |
96 | //@{ | 96 | //@{ |
97 | UIDArray queryByExample( const OPimEvent&, int settings, const QDateTime& d = QDateTime() )const; | 97 | /** |
98 | * Return all possible settings. | ||
99 | * @return All settings provided by the current backend | ||
100 | * (i.e.: query_WildCards & query_IgnoreCase) | ||
101 | */ | ||
102 | const uint querySettings() const; | ||
103 | |||
104 | /** | ||
105 | * Check whether settings are correct. | ||
106 | * @return <i>true</i> if the given settings are correct and possible. | ||
107 | */ | ||
108 | bool hasQuerySettings (uint querySettings) const; | ||
109 | |||
110 | UIDArray queryByExample( const UIDArray& uidlist, const OPimEvent&, int settings, const QDateTime& d = QDateTime() )const; | ||
98 | UIDArray sorted( const UIDArray&, bool asc, int, int, const QArray<int>& )const; | 111 | UIDArray sorted( const UIDArray&, bool asc, int, int, const QArray<int>& )const; |
99 | OPimBackendOccurrence::List occurrences( const QDate&, const QDate& end )const; | 112 | OPimBackendOccurrence::List occurrences( const QDate&, const QDate& end )const; |
100 | OPimBackendOccurrence::List occurrences( const QDateTime& )const; | 113 | OPimBackendOccurrence::List occurrences( const QDateTime& )const; |
101 | //@} | 114 | //@} |
102 | 115 | ||
103 | protected: | 116 | protected: |
104 | static OPimBackendOccurrence::List filterOccurrences(const OPimBackendOccurrence::List, | 117 | static OPimBackendOccurrence::List filterOccurrences(const OPimBackendOccurrence::List, |
105 | const QDateTime& time ); | 118 | const QDateTime& time ); |
106 | private: | 119 | private: |
107 | class Private; | 120 | class Private; |
108 | Private *d; | 121 | Private *d; |
109 | 122 | ||