From f9756ca203a06fa60413ef1a96416d87b9dc1a6b Mon Sep 17 00:00:00 2001 From: eilers Date: Wed, 16 Oct 2002 10:52:40 +0000 Subject: Added some docu to the interface and now using the cache infrastucture by zecke.. :) --- (limited to 'libopie/pim/ocontactaccess.h') diff --git a/libopie/pim/ocontactaccess.h b/libopie/pim/ocontactaccess.h index adc66cf..da9c942 100644 --- a/libopie/pim/ocontactaccess.h +++ b/libopie/pim/ocontactaccess.h @@ -17,6 +17,9 @@ * ===================================================================== * History: * $Log$ + * Revision 1.3 2002/10/16 10:52:40 eilers + * Added some docu to the interface and now using the cache infrastucture by zecke.. :) + * * Revision 1.2 2002/10/14 16:21:54 eilers * Some minor interface updates * @@ -91,51 +94,12 @@ class OContactAccess: public QObject, public OPimAccessTemplate */ bool hasQuerySettings ( int querySettings ) const; - /** Add Contact to database. - * @param newcontact The contact to add. - * @return true if added successfully. - */ - bool add (const OContact& newcontact); - - /** Replace contact. - * Replaces given contact with contact with the user id uid. - * @param uid The user ID - * @param contact The new contact - * @return true if successful. - */ - bool replace ( const OContact& contact ); - - /** Remove contact. - * Removes contact with the user id uid. - * @param The contact to remove - * @return true if successful. - */ - bool remove ( const OContact& t ); - - /** Remove contact. - * Removes contact with the user id uid. - * @param The user id of the contact to remove - * @return true if successful. - */ - bool remove ( int uid ); - - /** Load Database * - */ - bool load(); - /** * if the resource was changed externally. * You should use the signal instead of polling possible changes ! */ bool wasChangedExternally()const; - /** Reload database. - * You should execute this function if the external database - * was changed. - * This function will load the external database and afterwards - * rejoin the local changes. Therefore the local database will be set consistent. - */ - bool reload(); /** Save contacts database. * Save is more a "commit". After calling this function, all changes are public available. @@ -158,7 +122,6 @@ class OContactAccess: public QObject, public OPimAccessTemplate // OContactAccessPrivate* d; OContactAccessBackend *m_backEnd; bool m_loading:1; - bool m_changed; private slots: void copMessage( const QCString &msg, const QByteArray &data ); -- cgit v0.9.0.2