JS8Call-Improved master
Loading...
Searching...
No Matches
JSC_checker.h
Go to the documentation of this file.
1#ifndef JSC_CHECKER_H
2#define JSC_CHECKER_H
3
15
16#include <QObject>
17
18class QTextEdit;
19
28class JSCChecker : public QObject {
29 Q_OBJECT
30 public:
35 explicit JSCChecker(QObject *parent = nullptr);
36
47 static void checkRange(QTextEdit *edit, int start, int end);
48
56 static QStringList suggestions(QString word, int n, bool *pFound);
57
58 signals:
59
60 public slots:
61
62 private:
63};
64
65#endif // JSC_CHECKER_H
static QStringList suggestions(QString word, int n, bool *pFound)
Generate up to n suggestion words for word.
Definition JSC_checker.cpp:272
static void checkRange(QTextEdit *edit, int start, int end)
Check the text in edit between start and end.
Definition JSC_checker.cpp:111
JSCChecker(QObject *parent=nullptr)
Construct a checker instance.
Definition JSC_checker.cpp:44