Mailcommon

invalidfilterinfowidget.cpp
1 /*
2  SPDX-FileCopyrightText: 2015-2022 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 #include "invalidfilterinfowidget.h"
7 
8 using namespace MailCommon;
9 
10 InvalidFilterInfoWidget::InvalidFilterInfoWidget(QWidget *parent)
11  : KMessageWidget(parent)
12 {
13  setVisible(false);
14  setCloseButtonVisible(false);
15  setMessageType(Information);
16  setWordWrap(true);
17 }
18 
19 InvalidFilterInfoWidget::~InvalidFilterInfoWidget() = default;
20 
21 void InvalidFilterInfoWidget::slotShowDetails(const QString &details)
22 {
23  setText(details);
24  animatedShow();
25 }
The filter dialog.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Oct 1 2022 04:00:53 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.