KIdentityManagement

identityactivitiesabstract.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 "kidentitymanagementcore_export.h"
7#include <QObject>
8
9namespace KIdentityManagementCore
10{
11class KIDENTITYMANAGEMENTCORE_EXPORT IdentityActivitiesAbstract : public QObject
12{
13 Q_OBJECT
14public:
15 explicit IdentityActivitiesAbstract(QObject *parent = nullptr);
16 ~IdentityActivitiesAbstract() override;
17
18 [[nodiscard]] virtual bool filterAcceptsRow(const QStringList &activities) const = 0;
19
20 [[nodiscard]] virtual bool hasActivitySupport() const = 0;
21
22 [[nodiscard]] virtual QString currentActivity() const = 0;
23
24Q_SIGNALS:
25 void activitiesChanged();
26};
27}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:33:11 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.