From d96ce086c617b5b2efc5081cd10a43257a78f488 Mon Sep 17 00:00:00 2001 From: zecke Date: Sun, 13 Oct 2002 02:22:58 +0000 Subject: OPimAccessBackend nothing tried a isDirty()const ... but removed it ORecordList uidAt(uint index ) added Speed Improvements at the SQL backend do not load the list of uids until it's really needed do not reload the uid list until it's really needed we got a bitfield m_dirty there... --- (limited to 'libopie2/opiepim/backend/otodoaccesssql.h') diff --git a/libopie2/opiepim/backend/otodoaccesssql.h b/libopie2/opiepim/backend/otodoaccesssql.h index c1aa2ed..0f6dd2c 100644 --- a/libopie2/opiepim/backend/otodoaccesssql.h +++ b/libopie2/opiepim/backend/otodoaccesssql.h @@ -32,7 +32,7 @@ public: QArray sorted(bool asc, int sortOrder, int sortFilter, int cat ); private: - void update(); + void update()const; void fillDict(); inline bool date( QDate& date, const QString& )const; inline OTodo todo( const OSQLResult& )const; @@ -43,6 +43,7 @@ private: QAsciiDict m_dict; OSQLDriver* m_driver; QArray m_uids; + bool m_dirty : 1; }; -- cgit v0.9.0.2