diff --git a/src/plugins/texteditor/texteditor.h b/src/plugins/texteditor/texteditor.h index 6e693e36978..16dee4f2f68 100644 --- a/src/plugins/texteditor/texteditor.h +++ b/src/plugins/texteditor/texteditor.h @@ -609,8 +609,8 @@ protected: virtual void slotCursorPositionChanged(); // Used in VcsBase virtual void slotCodeStyleSettingsChanged(const QVariant &); // Used in CppEditor - bool inFindScope(const QTextCursor &cursor); - bool inFindScope(int selectionStart, int selectionEnd); + Q_INVOKABLE bool inFindScope(const QTextCursor &cursor); + Q_INVOKABLE bool inFindScope(int selectionStart, int selectionEnd); private: Internal::TextEditorWidgetPrivate *d;