Libksieve

sievescriptdebuggerwarning.cpp
1/*
2 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#include "sievescriptdebuggerwarning.h"
8
9using namespace KSieveUi;
10
11SieveScriptDebuggerWarning::SieveScriptDebuggerWarning(QWidget *parent)
12 : KMessageWidget(parent)
13{
14 setCloseButtonVisible(true);
15 hide();
16}
17
18SieveScriptDebuggerWarning::~SieveScriptDebuggerWarning() = default;
19
20void SieveScriptDebuggerWarning::setErrorMessage(const QString &msg)
21{
23 setText(msg);
25}
26
27void SieveScriptDebuggerWarning::setWarningMessage(const QString &msg)
28{
30 setText(msg);
32}
33
34#include "moc_sievescriptdebuggerwarning.cpp"
void animatedShow()
void setMessageType(KMessageWidget::MessageType type)
void setText(const QString &text)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.