File indexing completed on 2024-10-27 04:50:59
0001 /* 0002 SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include "externaleditorwarning.h" 0008 0009 #include <KLocalizedString> 0010 0011 ExternalEditorWarning::ExternalEditorWarning(QWidget *parent) 0012 : KMessageWidget(parent) 0013 { 0014 setPosition(KMessageWidget::Header); 0015 setVisible(false); 0016 setCloseButtonVisible(false); 0017 setMessageType(Information); 0018 setText(i18n("External editor was started.")); 0019 setWordWrap(true); 0020 } 0021 0022 ExternalEditorWarning::~ExternalEditorWarning() = default; 0023 0024 #include "moc_externaleditorwarning.cpp"