Messagelib

dkimmanagerauthenticationserver.h
1 /*
2  SPDX-FileCopyrightText: 2019-2024 Laurent Montel <montel@kde.org>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "messageviewer_export.h"
10 #include <QObject>
11 namespace MessageViewer
12 {
13 /**
14  * @brief The DKIMManagerAuthenticationServer class
15  * @author Laurent Montel <montel@kde.org>
16  */
17 class MESSAGEVIEWER_EXPORT DKIMManagerAuthenticationServer : public QObject
18 {
19  Q_OBJECT
20 public:
21  explicit DKIMManagerAuthenticationServer(QObject *parent = nullptr);
23  static DKIMManagerAuthenticationServer *self();
24 
25  [[nodiscard]] QStringList serverList() const;
26  void setServerList(const QStringList &serverList);
27 
28 private:
29  MESSAGEVIEWER_NO_EXPORT void load();
30  MESSAGEVIEWER_NO_EXPORT void save();
31  QStringList mServerList;
32 };
33 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Feb 15 2024 03:55:20 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.