KLdap

ldapactivitiesabstractplugin.h
1/*
2 SPDX-FileCopyrightText: 2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8#include "kldapwidgets_export.h"
9#include <QWidget>
10namespace KLDAPWidgets
11{
12class KLDAPWIDGETS_EXPORT LdapActivitiesAbstractPlugin : public QWidget
13{
14 Q_OBJECT
15public:
16 struct ActivitySettings {
17 QStringList activities;
18 bool enabled = false;
19 };
20
21 explicit LdapActivitiesAbstractPlugin(QWidget *parent = nullptr);
22 ~LdapActivitiesAbstractPlugin() override;
23
24 [[nodiscard]] virtual LdapActivitiesAbstractPlugin::ActivitySettings activitiesSettings() const = 0;
25 virtual void setActivitiesSettings(const LdapActivitiesAbstractPlugin::ActivitySettings &activitySettings) = 0;
26};
27}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:07 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.