Commit fc406d1d authored by Laurent Montel's avatar Laurent Montel 😁

Clean up code

parent 162fdf8a
......@@ -40,9 +40,6 @@ class Q_DECL_HIDDEN LdapClient::Private
public:
Private(LdapClient *qq)
: q(qq)
, mJob(nullptr)
, mActive(false)
, mClientNumber(0)
{
}
......@@ -57,7 +54,6 @@ public:
void finishCurrentObject();
void slotData(KIO::Job *, const QByteArray &data);
void slotData(const QByteArray &data);
void slotInfoMessage(KJob *, const QString &info, const QString &);
void slotDone();
......@@ -67,7 +63,7 @@ public:
QString mScope;
QStringList mAttrs;
QPointer<KJob> mJob;
QPointer<KJob> mJob = nullptr;
bool mActive = false;
KLDAP::LdapObject mCurrentObject;
......@@ -169,11 +165,6 @@ void LdapClient::Private::slotData(KIO::Job *, const QByteArray &data)
parseLDIF(data);
}
void LdapClient::Private::slotData(const QByteArray &data)
{
parseLDIF(data);
}
void LdapClient::Private::slotInfoMessage(KJob *, const QString &info, const QString &)
{
qCDebug(LDAPCLIENT_LOG) << "Job said :" << info;
......
......@@ -152,9 +152,6 @@ private:
Private *const d;
Q_PRIVATE_SLOT(d, void slotData(KIO::Job *, const QByteArray &))
Q_PRIVATE_SLOT(d, void slotData(const QByteArray &))
Q_PRIVATE_SLOT(d, void slotInfoMessage(KJob *, const QString &, const QString &))
Q_PRIVATE_SLOT(d, void slotDone())
//@endcond
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment