Commit 25617b9f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Prepare job for loading server config

parent 12c55322
Pipeline #42506 passed with stage
in 7 minutes and 52 seconds
......@@ -53,6 +53,7 @@ set(kldap_LIB_widgets_SRCS
widgets/ldapclientsearchconfigreadconfigjob.cpp
widgets/ldapclientsearchconfigwriteconfigjob.cpp
widgets/ldapwidgetitem_p.cpp
widgets/ldapwidgetitemreadconfigserverjob.cpp
)
set(kldap_LIB_SRCS
......
/*
* SPDX-FileCopyrightText: 2020 Laurent Montel <montel@kde.org>
*
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#include "ldapwidgetitemreadconfigserverjob.h"
#include "ldapwidgetitem_p.h"
using namespace KLDAP;
LdapWidgetItemReadConfigServerJob::LdapWidgetItemReadConfigServerJob(QObject *parent)
: QObject(parent)
{
}
LdapWidgetItemReadConfigServerJob::~LdapWidgetItemReadConfigServerJob()
{
}
LdapWidgetItem *LdapWidgetItemReadConfigServerJob::ldapWidgetItem() const
{
return mLdapWidgetItem;
}
void LdapWidgetItemReadConfigServerJob::setLdapWidgetItem(LdapWidgetItem *ldapWidgetItem)
{
mLdapWidgetItem = ldapWidgetItem;
}
/*
* SPDX-FileCopyrightText: 2020 Laurent Montel <montel@kde.org>
*
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef LDAPWIDGETITEMREADCONFIGSERVERJOB_H
#define LDAPWIDGETITEMREADCONFIGSERVERJOB_H
#include <QObject>
namespace KLDAP {
class LdapWidgetItem;
class LdapWidgetItemReadConfigServerJob : public QObject
{
Q_OBJECT
public:
explicit LdapWidgetItemReadConfigServerJob(QObject *parent = nullptr);
~LdapWidgetItemReadConfigServerJob() override;
LdapWidgetItem *ldapWidgetItem() const;
void setLdapWidgetItem(LdapWidgetItem *ldapWidgetItem);
private:
LdapWidgetItem *mLdapWidgetItem = nullptr;
};
}
#endif // LDAPWIDGETITEMREADCONFIGSERVERJOB_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