Libksieve

sieveeditorwarning.cpp
1/*
2 SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6#include "sieveeditorwarning.h"
7
8#include <KLocalizedString>
9using namespace KSieveUi;
10
11SieveEditorWarning::SieveEditorWarning(QWidget *parent)
12 : KMessageWidget(parent)
13{
14 setVisible(false);
15 setCloseButtonVisible(true);
16 setMessageType(Error);
17 setText(i18n("We cannot parse script. We cannot switch to graphical mode"));
18 setWordWrap(true);
19}
20
21SieveEditorWarning::~SieveEditorWarning() = default;
22
23#include "moc_sieveeditorwarning.cpp"
QString i18n(const char *text, const TYPE &arg...)
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.