Commit fd8b7576 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add toomanyrecipients widget

parent 50f61885
Pipeline #88607 canceled with stage
......@@ -99,6 +99,7 @@ target_sources(kmailprivate PRIVATE
editor/warningwidgets/attachmentmissingwarning.cpp
editor/warningwidgets/incorrectidentityfolderwarning.cpp
editor/warningwidgets/attachmentaddedfromexternalwarning.cpp
editor/warningwidgets/toomanyrecipientswarning.cpp
editor/potentialphishingemail/potentialphishingemailwarning.cpp
editor/potentialphishingemail/potentialphishingemailjob.cpp
editor/potentialphishingemail/potentialphishingdetaildialog.cpp
......
/*
SPDX-FileCopyrightText: 2021 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "toomanyrecipientswarning.h"
TooManyRecipientsWarning::TooManyRecipientsWarning(QWidget *parent)
: KMessageWidget(parent)
{
setVisible(false);
setCloseButtonVisible(true);
setMessageType(Warning);
setWordWrap(true);
}
TooManyRecipientsWarning::~TooManyRecipientsWarning()
{
}
/*
SPDX-FileCopyrightText: 2021 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include "kmail_private_export.h"
#include <KMessageWidget>
class KMAILTESTS_TESTS_EXPORT TooManyRecipientsWarning : public KMessageWidget
{
Q_OBJECT
public:
explicit TooManyRecipientsWarning(QWidget *parent = nullptr);
~TooManyRecipientsWarning() override;
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment