KABC::ResourceLDAPKIO Class Reference
Inheritance diagram for KABC::ResourceLDAPKIO:

Detailed Description
Definition at line 33 of file resourceldapkio.h.
Public Types | |
enum | CachePolicy { Cache_No, Cache_NoConnection, Cache_Always } |
Public Member Functions | |
ResourceLDAPKIO (const KConfig *) | |
virtual void | init () |
virtual void | writeConfig (KConfig *) |
virtual bool | doOpen () |
virtual void | doClose () |
virtual Ticket * | requestSaveTicket () |
virtual void | releaseSaveTicket (Ticket *) |
virtual bool | readOnly () const |
virtual void | setReadOnly (bool value) |
virtual bool | load () |
virtual bool | asyncLoad () |
virtual bool | save (Ticket *) |
virtual bool | asyncSave (Ticket *) |
virtual void | removeAddressee (const Addressee &addr) |
void | setUser (const QString &user) |
QString | user () const |
void | setPassword (const QString &password) |
QString | password () const |
void | setRealm (const QString &realm) |
QString | realm () const |
void | setBindDN (const QString &binddn) |
QString | bindDN () const |
void | setDn (const QString &dn) |
QString | dn () const |
void | setHost (const QString &host) |
QString | host () const |
void | setPort (int port) |
int | port () const |
void | setVer (int ver) |
int | ver () const |
void | setSizeLimit (int sizelimit) |
int | sizeLimit () |
void | setTimeLimit (int timelimit) |
int | timeLimit () |
void | setFilter (const QString &filter) |
QString | filter () const |
void | setIsAnonymous (bool value) |
bool | isAnonymous () const |
void | setAttributes (const QMap< QString, QString > &attributes) |
QMap< QString, QString > | attributes () const |
void | setRDNPrefix (int value) |
int | RDNPrefix () const |
void | setIsTLS (bool value) |
bool | isTLS () const |
void | setIsSSL (bool value) |
bool | isSSL () const |
void | setIsSubTree (bool value) |
bool | isSubTree () const |
void | setIsSASL (bool value) |
bool | isSASL () const |
void | setMech (const QString &mech) |
QString | mech () const |
void | setCachePolicy (int pol) |
int | cachePolicy () const |
void | setAutoCache (bool value) |
bool | autoCache () |
QString | cacheDst () const |
Protected Slots | |
void | entries (KIO::Job *, const KIO::UDSEntryList &) |
void | data (KIO::Job *, const QByteArray &) |
void | result (KIO::Job *) |
void | listResult (KIO::Job *) |
void | syncLoadSaveResult (KIO::Job *) |
void | saveResult (KIO::Job *) |
void | saveData (KIO::Job *, QByteArray &) |
void | loadCacheResult (KIO::Job *) |
Member Function Documentation
|
Loads all addressees asyncronously. You have to make sure that either the loadingFinished() or loadingError() signal is emitted from within this function. The default implementation simply calls the synchronous load.
Reimplemented from KABC::Resource. |
|
Saves all addressees asynchronously. You have to make sure that either the savingFinished() or savingError() signal is emitted from within this function. The default implementation simply calls the synchronous save.
Reimplemented from KABC::Resource. |
|
Call this after you used one of the set. .. methods |
|
Loads all addressees synchronously.
Implements KABC::Resource. |
|
Releases the ticket previousely requested with requestSaveTicket(). The resource has to remove its locks in this function. This function is also responsible for deleting the ticket. Implements KABC::Resource. |
|
Removes an addressee from resource.
Reimplemented from KABC::Resource. |
|
Request a ticket, you have to pass through save() to allow locking. The resource has to create its locks in this function. Implements KABC::Resource. |
|
Saves all addressees synchronously.
Implements KABC::Resource. |
|
Writes the resource specific config to file.
Reimplemented from KABC::Resource. |
The documentation for this class was generated from the following file: