Libksieve

vacationwarningwidget.cpp
1/*
2 SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#include "vacationwarningwidget.h"
8
9#include <KLocalizedString>
10
11using namespace KSieveUi;
12
13VacationWarningWidget::VacationWarningWidget(QWidget *parent)
14 : KMessageWidget(parent)
15{
16 setVisible(false);
17 setCloseButtonVisible(false);
18 setMessageType(Information);
19 setText(
20 i18n("Someone (probably you) changed the vacation script on the server. KMail is no longer able to determine the parameters for the autoreplies. "
21 "Default values will be used."));
22 setWordWrap(true);
23}
24
25VacationWarningWidget::~VacationWarningWidget() = default;
26
27#include "moc_vacationwarningwidget.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 Fri Oct 11 2024 12:07:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.