File indexing completed on 2024-12-29 04:54:49
0001 /* 0002 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "ksieveui_private_export.h" 0010 #include <KMessageWidget> 0011 namespace KSieveUi 0012 { 0013 class KSIEVEUI_TESTS_EXPORT SieveScriptDebuggerWarning : public KMessageWidget 0014 { 0015 Q_OBJECT 0016 public: 0017 explicit SieveScriptDebuggerWarning(QWidget *parent = nullptr); 0018 ~SieveScriptDebuggerWarning() override; 0019 0020 void setErrorMessage(const QString &msg); 0021 void setWarningMessage(const QString &msg); 0022 }; 0023 }