/* KDE Rich Text Editor SPDX-FileCopyrightText: 2008 Stephen Kelly SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef KRICHTEXTEDITOR_H #define KRICHTEXTEDITOR_H #include #include //@cond PRIVATE class QLabel; /** * @internal * Test window for testing KRichTextWidget */ class KRichTextEditor : public KXmlGuiWindow { Q_OBJECT public: KRichTextEditor(); ~KRichTextEditor() override; void setupActions(); private Q_SLOTS: void newFile(); void openFile(); void saveFile(); void saveFileAs(); void saveFileAs(const QString &outputFileName); void cursorPositionChanged(); private: KRichTextWidget *textArea; QString fileName; QLabel *itemLabel; }; //@endcond #endif