File indexing completed on 2024-05-12 05:52:35

0001 /*
0002     SPDX-FileCopyrightText: 2015-2024 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;
0021 
0022 #include "moc_categorywarning.cpp"