File indexing completed on 2022-09-27 16:31:44

0001 /*
0002     SPDX-FileCopyrightText: 2015-2022 Laurent Montel <montel@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 
0006 */
0007 
0008 #include "categorywarning.h"
0009 #include <KLocalizedString>
0010 
0011 CategoryWarning::CategoryWarning(QWidget *parent)
0012     : KMessageWidget(parent)
0013 {
0014     setVisible(false);
0015     setMessageType(KMessageWidget::Warning);
0016     setText(i18n("You have a rule as \'*=true\' or \'*=false\' which will override all your specific rule. Better to remove it."));
0017     setWordWrap(true);
0018 }
0019 
0020 CategoryWarning::~CategoryWarning() = default;