KLDAPCore::LdapSearchClientReadConfigServerJob Class

The LdapSearchClientReadConfigServerJob class. More...

Header: #include <KLDAPCore/LdapSearchClientReadConfigServerJob>
CMake: find_package(KPim6LdapCore REQUIRED)
target_link_libraries(mytarget PRIVATE KPim6::LdapCore)
Inherits: QObject

Public Functions

LdapSearchClientReadConfigServerJob(QObject *parent = nullptr)
virtual ~LdapSearchClientReadConfigServerJob() override
bool active() const
bool canStart() const
KConfigGroup config() const
int currentIndex() const
KLDAPCore::LdapClient *ldapClient() const
void setActive(bool active)
void setConfig(const KConfigGroup &config)
void setCurrentIndex(int currentIndex)
void setLdapClient(KLDAPCore::LdapClient *ldapClient)
void start()

Detailed Description

Member Function Documentation

[explicit] LdapSearchClientReadConfigServerJob::LdapSearchClientReadConfigServerJob(QObject *parent = nullptr)

Constructs a LdapSearchClientReadConfigServerJob object. parent the parent QObject

[override virtual noexcept] LdapSearchClientReadConfigServerJob::~LdapSearchClientReadConfigServerJob()

Destroys the LdapSearchClientReadConfigServerJob object.

bool LdapSearchClientReadConfigServerJob::active() const

Returns whether the job is active. Returns true if the job is active

See also setActive().

bool LdapSearchClientReadConfigServerJob::canStart() const

Returns whether the job can be started. Returns true if the job can be started

KConfigGroup LdapSearchClientReadConfigServerJob::config() const

Returns the configuration group. Returns the KConfigGroup

See also setConfig().

int LdapSearchClientReadConfigServerJob::currentIndex() const

Returns the current server index. Returns the current index

See also setCurrentIndex().

KLDAPCore::LdapClient *LdapSearchClientReadConfigServerJob::ldapClient() const

Returns the LDAP client. Returns the LdapClient object

See also setLdapClient().

void LdapSearchClientReadConfigServerJob::setActive(bool active)

Sets whether the job is active. active true to activate the job

See also active().

void LdapSearchClientReadConfigServerJob::setConfig(const KConfigGroup &config)

Sets the configuration group. config the KConfigGroup to set

See also config().

void LdapSearchClientReadConfigServerJob::setCurrentIndex(int currentIndex)

Sets the current server index. currentIndex the index to set

See also currentIndex().

void LdapSearchClientReadConfigServerJob::setLdapClient(KLDAPCore::LdapClient *ldapClient)

Sets the LDAP client. ldapClient the LdapClient to set

See also ldapClient().

void LdapSearchClientReadConfigServerJob::start()

Starts the job.