Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KABC::ResourceIMAP Class Reference

#include <resourceimap.h>

Inheritance diagram for KABC::ResourceIMAP:

List of all members.

Public Methods

 ResourceIMAP (AddressBook *ab)
virtual ~ResourceIMAP ()
virtual bool open ()
virtual void close ()
virtual Ticket * requestSaveTicket ()
virtual bool load ()
virtual bool save (Ticket *ticket)
virtual QString identifier () const
virtual void cleanUp ()

Detailed Description

This class implements a KAddressBook resource that keeps its addresses in an IMAP folder in KMail (or other conforming email clients).

Definition at line 37 of file resourceimap.h.


Constructor & Destructor Documentation

KABC::ResourceIMAP::ResourceIMAP (  AddressBook *    ab ) 
 

Constructor

virtual KABC::ResourceIMAP::~ResourceIMAP (    )  [virtual]
 

Destructor.


Member Function Documentation

virtual void KABC::ResourceIMAP::cleanUp (    )  [virtual]
 

This method is called by an error handler if the application crashed

virtual void KABC::ResourceIMAP::close (    )  [virtual]
 

Close the resource and returns if it was successfully

virtual QString KABC::ResourceIMAP::identifier (    )  [virtual]
 

Returns a unique identifier.

virtual bool KABC::ResourceIMAP::load (    )  [virtual]
 

Load all addressees to the addressbook

virtual bool KABC::ResourceIMAP::open (    )  [virtual]
 

Open the resource and returns if it was successfully

virtual Ticket* KABC::ResourceIMAP::requestSaveTicket (    )  [virtual]
 

Request a ticket, you have to pass through save() to allow locking.

virtual bool KABC::ResourceIMAP::save (  Ticket *    ticket )  [virtual]
 

Save all addressees to the addressbook.

Parameters:
ticket  The ticket you get by requestSaveTicket()


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:31 2003 for kdelibs by doxygen1.2.18