#ifndef JSC_CHECKER_H #define JSC_CHECKER_H /** * (C) 2018 Jordan Sherer - All Rights Reserved **/ #include class QTextEdit; class JSCChecker : public QObject { Q_OBJECT public: explicit JSCChecker(/*QTextEdit * edit, */ QObject *parent = nullptr); static void checkRange(QTextEdit * edit, int start, int end); static QStringList suggestions(QString word, int n, bool *pFound); signals: public slots: //void handleContentsChange(int, int, int); private: //QTextEdit *m_edit; }; #endif // JSC_CHECKER_H