Akonadi

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

KDE's Doxygen guidelines are available online.