Messagelib

invitationsettings.h
1 /*
2  SPDX-License-Identifier: BSL-1.0
3 */
4 
5 #pragma once
6 
7 #include "messageviewer_export.h"
8 
9 #include <QWidget>
10 
11 namespace MessageViewer
12 {
13 class InvitationSettingsPrivate;
14 /**
15  * @brief The InvitationSettings class
16  */
17 class MESSAGEVIEWER_EXPORT InvitationSettings : public QWidget
18 {
19  Q_OBJECT
20 public:
21  explicit InvitationSettings(QWidget *parent = nullptr);
22  ~InvitationSettings() override;
23  void save();
24  Q_REQUIRED_RESULT QString helpAnchor() const;
25  void doLoadFromGlobalSettings();
26  void doResetToDefaultsOther();
27 
28 Q_SIGNALS:
29  void changed();
30 
31 private:
32  void slotLegacyBodyInvitesToggled(bool on);
33  std::unique_ptr<InvitationSettingsPrivate> const d;
34 };
35 }
The InvitationSettings class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Mar 26 2023 04:08:11 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.