Diffstat (limited to 'libopie2/opiepim/backend/odatebookaccessbackend_sql.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiepim/backend/odatebookaccessbackend_sql.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libopie2/opiepim/backend/odatebookaccessbackend_sql.h b/libopie2/opiepim/backend/odatebookaccessbackend_sql.h index b624159..a649d25 100644 --- a/libopie2/opiepim/backend/odatebookaccessbackend_sql.h +++ b/libopie2/opiepim/backend/odatebookaccessbackend_sql.h | |||
@@ -57,30 +57,29 @@ public: | |||
57 | bool reload(); | 57 | bool reload(); |
58 | bool save(); | 58 | bool save(); |
59 | 59 | ||
60 | QArray<int> allRecords()const; | 60 | QArray<int> allRecords()const; |
61 | QArray<int> matchRegexp(const QRegExp &r) const; | 61 | QArray<int> matchRegexp(const QRegExp &r) const; |
62 | QArray<int> queryByExample( const OPimEvent&, int, const QDateTime& d = QDateTime() ); | 62 | QArray<int> queryByExample( const OPimEvent&, int, const QDateTime& d = QDateTime() ); |
63 | OPimEvent find( int uid )const; | 63 | OPimEvent find( int uid )const; |
64 | void clear(); | 64 | void clear(); |
65 | bool add( const OPimEvent& ev ); | 65 | bool add( const OPimEvent& ev ); |
66 | bool remove( int uid ); | 66 | bool remove( int uid ); |
67 | bool replace( const OPimEvent& ev ); | 67 | bool replace( const OPimEvent& ev ); |
68 | 68 | ||
69 | QArray<UID> rawEvents()const; | ||
70 | QArray<UID> rawRepeats()const; | 69 | QArray<UID> rawRepeats()const; |
71 | QArray<UID> nonRepeats()const; | 70 | QArray<UID> nonRepeats()const; |
72 | 71 | ||
73 | OPimEvent::ValueList directNonRepeats(); | 72 | OPimEvent::ValueList directNonRepeats()const; |
74 | OPimEvent::ValueList directRawRepeats(); | 73 | OPimEvent::ValueList directRawRepeats()const; |
75 | 74 | ||
76 | private: | 75 | private: |
77 | bool loadFile(); | 76 | bool loadFile(); |
78 | QString m_fileName; | 77 | QString m_fileName; |
79 | QArray<int> m_uids; | 78 | QArray<int> m_uids; |
80 | 79 | ||
81 | QMap<int, QString> m_fieldMap; | 80 | QMap<int, QString> m_fieldMap; |
82 | QMap<QString, int> m_reverseFieldMap; | 81 | QMap<QString, int> m_reverseFieldMap; |
83 | 82 | ||
84 | Opie::DB::OSQLDriver* m_driver; | 83 | Opie::DB::OSQLDriver* m_driver; |
85 | 84 | ||
86 | class Private; | 85 | class Private; |