Commit 5400b85a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Start to implement async job

parent aabec3f9
Pipeline #41829 passed with stage
in 8 minutes and 42 seconds
......@@ -50,6 +50,7 @@ set(kldap_LIB_widgets_SRCS
widgets/ldapclientsearch.cpp
widgets/ldapclientsearchconfig.cpp
widgets/ldapconfigurewidget.cpp
widgets/ldapclientsearchconfigreadconfigjob.cpp
)
set(kldap_LIB_SRCS
......
......@@ -71,6 +71,7 @@ void LdapClientSearchConfig::clearWalletPassword()
}
}
//Move as async.
void LdapClientSearchConfig::readConfig(KLDAP::LdapServer &server, KConfigGroup &config, int j, bool active)
{
QString prefix;
......
/*
* SPDX-FileCopyrightText: 2020 Laurent Montel <montel@kde.org>
*
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#include "ldapclientsearchconfigreadconfigjob.h"
using namespace KLDAP;
LdapClientSearchConfigReadConfigJob::LdapClientSearchConfigReadConfigJob(QObject *parent)
: QObject(parent)
{
}
LdapClientSearchConfigReadConfigJob::~LdapClientSearchConfigReadConfigJob()
{
}
void LdapClientSearchConfigReadConfigJob::start()
{
//TODO
}
/*
* SPDX-FileCopyrightText: 2020 Laurent Montel <montel@kde.org>
*
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef LDAPCLIENTSEARCHCONFIGREADCONFIGJOB_H
#define LDAPCLIENTSEARCHCONFIGREADCONFIGJOB_H
#include <QObject>
namespace KLDAP {
class LdapClientSearchConfigReadConfigJob : public QObject
{
Q_OBJECT
public:
explicit LdapClientSearchConfigReadConfigJob(QObject *parent = nullptr);
~LdapClientSearchConfigReadConfigJob() override;
void start();
};
}
#endif // LDAPCLIENTSEARCHCONFIGREADCONFIGJOB_H
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