-rw-r--r-- | libopie2/opiepim/core/opimaccesstemplate.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libopie2/opiepim/core/opimaccesstemplate.h b/libopie2/opiepim/core/opimaccesstemplate.h index 50cb1e4..c5523a8 100644 --- a/libopie2/opiepim/core/opimaccesstemplate.h +++ b/libopie2/opiepim/core/opimaccesstemplate.h @@ -65,7 +65,7 @@ public: virtual List allRecords()const; /** - * queryByExample. + * queryByExample. * @see otodoaccess, ocontactaccess */ virtual List queryByExample( const T& t, int querySettings ); @@ -116,6 +116,7 @@ public: */ virtual bool replace( const T& t) ; + void setReadAhead( uint count ); /** * @internal */ @@ -251,4 +252,8 @@ template <class T> void OPimAccessTemplate<T>::setSaneCacheSize( int size ) { m_cache.setSize( size ); } +template <class T> +void OPimAccessTemplate<T>::setReadAhead( uint count ) { + m_backEnd->setReadAhead( count ); +} #endif |