Mailcommon

invalidfilterinfo.h
1 /*
2  SPDX-FileCopyrightText: 2015-2022 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "mailcommon_private_export.h"
10 #include <QString>
11 namespace MailCommon
12 {
13 class MAILCOMMON_TESTS_EXPORT InvalidFilterInfo
14 {
15 public:
16  InvalidFilterInfo();
17  InvalidFilterInfo(const QString &name, const QString &information);
18 
19  Q_REQUIRED_RESULT QString information() const;
20 
21  Q_REQUIRED_RESULT QString name() const;
22 
23  void setName(const QString &name);
24 
25  void setInformation(const QString &information);
26 
27  Q_REQUIRED_RESULT bool operator==(const InvalidFilterInfo &other) const;
28 
29 private:
30  QString mName;
31  QString mInformation;
32 };
33 }
34 Q_DECLARE_TYPEINFO(MailCommon::InvalidFilterInfo, Q_MOVABLE_TYPE);
bool operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
QString name(StandardShortcut id)
void information(QWidget *parent, const QString &text, const QString &title=QString(), const QString &dontShowAgainName=QString(), Options options=Notify)
The filter dialog.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Sep 24 2022 03:58:15 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.