MailTransport

transportactivitiesabstract.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 "mailtransport_export.h"
10#include <QObject>
11namespace MailTransport
12{
13class MAILTRANSPORT_EXPORT TransportActivitiesAbstract : public QObject
14{
15 Q_OBJECT
16public:
17 explicit TransportActivitiesAbstract(QObject *parent = nullptr);
18 ~TransportActivitiesAbstract() 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}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:17 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.