File indexing completed on 2025-02-16 04:56:08

0001 /*
0002    SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #include "vacationwarningwidget.h"
0008 
0009 #include <KLocalizedString>
0010 
0011 using namespace KSieveUi;
0012 
0013 VacationWarningWidget::VacationWarningWidget(QWidget *parent)
0014     : KMessageWidget(parent)
0015 {
0016     setVisible(false);
0017     setCloseButtonVisible(false);
0018     setMessageType(Information);
0019     setText(
0020         i18n("Someone (probably you) changed the vacation script on the server. KMail is no longer able to determine the parameters for the autoreplies. "
0021              "Default values will be used."));
0022     setWordWrap(true);
0023 }
0024 
0025 VacationWarningWidget::~VacationWarningWidget() = default;
0026 
0027 #include "moc_vacationwarningwidget.cpp"