cf12defd28
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
29 lines
486 B
C++
29 lines
486 B
C++
/**
|
|
* test_highlighter.h
|
|
*
|
|
* SPDX-FileCopyrightText: 2006 Laurent Montel <montel@kde.org>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1-or-later
|
|
*/
|
|
|
|
#ifndef KTESTSPELL_H
|
|
#define KTESTSPELL_H
|
|
|
|
#include "highlighter.h"
|
|
#include <QTextEdit>
|
|
|
|
class QContextMenuEvent;
|
|
class TestSpell : public QTextEdit
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
TestSpell();
|
|
public Q_SLOTS:
|
|
void slotActivate();
|
|
|
|
protected:
|
|
void contextMenuEvent(QContextMenuEvent *) override;
|
|
Sonnet::Highlighter *hl;
|
|
};
|
|
#endif
|