File indexing completed on 2025-01-19 04:46:48
0001 /* 0002 SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QDialog> 0010 namespace TextCustomEditor 0011 { 0012 class PlainTextEditorWidget; 0013 } 0014 0015 class ReactionToInvitationDialog : public QDialog 0016 { 0017 Q_OBJECT 0018 public: 0019 explicit ReactionToInvitationDialog(QWidget *parent = nullptr); 0020 ~ReactionToInvitationDialog() override; 0021 0022 [[nodiscard]] QString comment() const; 0023 0024 private: 0025 void slotTextChanged(); 0026 void writeConfig(); 0027 void readConfig(); 0028 TextCustomEditor::PlainTextEditorWidget *const mPlainTextEditor; 0029 QPushButton *mOkButton = nullptr; 0030 };