Mailcommon

invalidfilterinfo.h
1/*
2 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org>
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>
11namespace MailCommon
12{
13class MAILCOMMON_TESTS_EXPORT InvalidFilterInfo
14{
15public:
16 InvalidFilterInfo();
17 InvalidFilterInfo(const QString &name, const QString &information);
18
19 [[nodiscard]] QString information() const;
20
21 [[nodiscard]] QString name() const;
22
23 void setName(const QString &name);
24
25 void setInformation(const QString &information);
26
27 [[nodiscard]] bool operator==(const InvalidFilterInfo &other) const;
28
29private:
30 QString mName;
31 QString mInformation;
32};
33}
34Q_DECLARE_TYPEINFO(MailCommon::InvalidFilterInfo, Q_RELOCATABLE_TYPE);
void information(QWidget *parent, const QString &text, const QString &title=QString(), const QString &dontShowAgainName=QString(), Options options=Notify)
QString name(StandardAction id)
bool operator==(const StyleDelim &l, const StyleDelim &r)
The filter dialog.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:02:04 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.