summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/backend/opimaccessbackend.h
Unidiff
Diffstat (limited to 'libopie2/opiepim/backend/opimaccessbackend.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/backend/opimaccessbackend.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libopie2/opiepim/backend/opimaccessbackend.h b/libopie2/opiepim/backend/opimaccessbackend.h
index 6666fd6..71f81f4 100644
--- a/libopie2/opiepim/backend/opimaccessbackend.h
+++ b/libopie2/opiepim/backend/opimaccessbackend.h
@@ -133,24 +133,25 @@ private:
133 OPimAccessBackendPrivate *d; 133 OPimAccessBackendPrivate *d;
134 Frontend* m_front; 134 Frontend* m_front;
135 uint m_read; 135 uint m_read;
136 int m_acc; 136 int m_acc;
137 137
138}; 138};
139 139
140template <class T> 140template <class T>
141OPimAccessBackend<T>::OPimAccessBackend(int acc) 141OPimAccessBackend<T>::OPimAccessBackend(int acc)
142 : m_acc( acc ) 142 : m_acc( acc )
143{ 143{
144 m_front = 0l; 144 m_front = 0l;
145 m_read = 20;
145} 146}
146template <class T> 147template <class T>
147OPimAccessBackend<T>::~OPimAccessBackend() { 148OPimAccessBackend<T>::~OPimAccessBackend() {
148 149
149} 150}
150 151
151/* 152/*
152 * Slow but default matchRegexp Implementation 153 * Slow but default matchRegexp Implementation
153 * Create a Big Enough QArray and then iterate 154 * Create a Big Enough QArray and then iterate
154 * over all Records and matchRegexp them. 155 * over all Records and matchRegexp them.
155 * At the end we will resize the array to the actual 156 * At the end we will resize the array to the actual
156 * number of items 157 * number of items