Warning, file /frameworks/sonnet/examples/highlighterexample.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /** 0002 * test_highlighter.h 0003 * 0004 * SPDX-FileCopyrightText: 2006 Laurent Montel <montel@kde.org> 0005 * 0006 * SPDX-License-Identifier: LGPL-2.1-or-later 0007 */ 0008 0009 #ifndef KTESTSPELL_H 0010 #define KTESTSPELL_H 0011 0012 #include "highlighter.h" 0013 #include <QTextEdit> 0014 0015 class QContextMenuEvent; 0016 class TestSpell : public QTextEdit 0017 { 0018 Q_OBJECT 0019 public: 0020 TestSpell(); 0021 public Q_SLOTS: 0022 void slotActivate(); 0023 0024 protected: 0025 void contextMenuEvent(QContextMenuEvent *) override; 0026 Sonnet::Highlighter *hl; 0027 }; 0028 #endif