KLdap

ldapactivitiesabstract.h
1// SPDX-FileCopyrightText: 2024 Laurent Montel <montel@kde.org>
2// SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
3
4#pragma once
5
6#include "kldap_core_export.h"
7#include <QObject>
8
9namespace KLDAPCore
10{
11/**
12 * @brief The LdapActivitiesAbstract class
13 * @author Laurent Montel <montel@kde.org>
14 */
15class KLDAP_CORE_EXPORT LdapActivitiesAbstract : public QObject
16{
17 Q_OBJECT
18public:
19 explicit LdapActivitiesAbstract(QObject *parent = nullptr);
20 ~LdapActivitiesAbstract() override;
21
22 [[nodiscard]] virtual bool filterAcceptsRow(const QStringList &activities) const = 0;
23
24 [[nodiscard]] virtual bool hasActivitySupport() const = 0;
25
26 [[nodiscard]] virtual QString currentActivity() const = 0;
27
28Q_SIGNALS:
29 void activitiesChanged();
30};
31}
The LdapActivitiesAbstract class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 26 2024 11:55:02 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.