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 'libopie/pim/orecordlist.h') diff --git a/libopie/pim/orecordlist.h b/libopie/pim/orecordlist.h index 08f5c85..5404910 100644 --- a/libopie/pim/orecordlist.h +++ b/libopie/pim/orecordlist.h @@ -109,6 +109,7 @@ public: uint count()const; T operator[]( uint i ); + int uidAt(uint i ); // FIXME implemenent remove /* ConstIterator begin()const; @@ -262,4 +263,8 @@ T ORecordList::operator[]( uint i ) { /* forward */ return m_acc->find( m_ids[i], m_ids, i ); } +template +int ORecordList::uidAt( uint i ) { + return m_ids[i]; +} #endif -- cgit v0.9.0.2