File indexing completed on 2024-03-24 04:42:33
0001 /* 0002 SPDX-FileCopyrightText: 2014 Felix Eisele 0003 0004 SPDX-License-Identifier: LGPL-2.0-only 0005 */ 0006 0007 #ifndef KEDITCOMMENTDIALOG_H 0008 #define KEDITCOMMENTDIALOG_H 0009 0010 #include <QDialog> 0011 0012 class QWidget; 0013 class QTextEdit; 0014 0015 class KEditCommentDialog : public QDialog 0016 { 0017 Q_OBJECT 0018 public: 0019 KEditCommentDialog(QWidget *parent, const QString &commentText, const QString &captionText); 0020 ~KEditCommentDialog() override; 0021 0022 QString getCommentText() const; 0023 0024 private: 0025 QTextEdit *const m_editor; 0026 }; 0027 0028 #endif