kabc
22 #ifndef KABC_RESOURCELDAPKIO_H
23 #define KABC_RESOURCELDAPKIO_H
25 #include "kabc_ldapkio_export.h"
27 #include "kabc/resource.h"
31 class KABC_LDAPKIO_EXPORT ResourceLDAPKIO :
public Resource
43 explicit ResourceLDAPKIO(
const KConfigGroup &group );
44 virtual ~ResourceLDAPKIO();
50 virtual void writeConfig( KConfigGroup &group );
52 virtual bool doOpen();
53 virtual void doClose();
55 virtual Ticket *requestSaveTicket();
56 virtual void releaseSaveTicket( Ticket *ticket );
59 virtual void setReadOnly(
bool value );
62 virtual bool asyncLoad();
63 virtual bool save( Ticket *ticket );
64 virtual bool asyncSave( Ticket *ticket );
66 virtual void removeAddressee(
const Addressee &addr );
68 void setUser(
const QString &user );
71 void setPassword(
const QString &password );
74 void setRealm(
const QString &realm );
77 void setBindDN(
const QString &binddn );
80 void setDn(
const QString &dn );
83 void setHost(
const QString &host );
86 void setPort(
int port );
89 void setVer(
int ver );
92 void setSizeLimit(
int sizelimit );
95 void setTimeLimit(
int timelimit );
98 void setFilter(
const QString &filter );
101 void setIsAnonymous(
bool value );
102 bool isAnonymous()
const;
107 void setRDNPrefix(
int value );
108 int RDNPrefix()
const;
110 void setIsTLS(
bool value );
113 void setIsSSL(
bool value );
116 void setIsSubTree(
bool value );
117 bool isSubTree()
const;
119 void setIsSASL(
bool value );
122 void setMech(
const QString &mech );
125 void setCachePolicy(
int pol );
126 int cachePolicy()
const;
128 void setAutoCache(
bool value );
134 void entries( KIO::Job *job,
const KIO::UDSEntryList &list );
135 void data( KIO::Job *job,
const QByteArray &data );
136 void result( KJob *job );
137 void listResult( KJob *job );
138 void syncLoadSaveResult( KJob *job );
139 void saveResult( KJob *job );
140 void saveData( KIO::Job *job,
QByteArray &data );
141 void loadCacheResult( KJob *job );
144 void leaveModality();
virtual bool readOnly() const
QFuture< void > filter(Sequence &sequence, FilterFunction filterFunction)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:39 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.