Libksieve

sieveimapinstanceinterfacemanager.h
1/*
2 SPDX-FileCopyrightText: 2017-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "ksievecore_export.h"
10#include <QObject>
11namespace KSieveCore
12{
13class SieveImapInstanceInterface;
14class SieveImapInstance;
15/**
16 * @brief The SieveImapInstanceInterfaceManager class
17 * @author Laurent Montel <montel@kde.org>
18 */
19class KSIEVECORE_EXPORT SieveImapInstanceInterfaceManager : public QObject
20{
21 Q_OBJECT
22public:
23 explicit SieveImapInstanceInterfaceManager(QObject *parent = nullptr);
26 void setSieveImapInstanceInterface(SieveImapInstanceInterface *interface);
27 SieveImapInstanceInterface *sieveImapInstanceInterface() const;
28 [[nodiscard]] QList<KSieveCore::SieveImapInstance> sieveImapInstanceList() const;
29
30private:
31 SieveImapInstanceInterface *mInterface = nullptr;
32};
33}
The SieveImapInstanceInterface class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:57:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.