diff options
| author | Francois Ferrand <[email protected]> | 2010-11-03 11:02:25 +0100 |
|---|---|---|
| committer | Leandro Melo <[email protected]> | 2012-04-13 02:07:37 +0200 |
| commit | 85609aff8e3bd09a68d7868ad6cf3158e261d713 (patch) | |
| tree | 9a09fa06d8277f779b3a4471974f34558f632256 /src/plugins/cpptools/cpptoolsreuse.h | |
| parent | 85ce5aba6211385785476164ab95b37140e5b20d (diff) | |
CppHighlighter: highlight macro references.
Change-Id: I7c90957aa67e03a109af0a722160d4e1c759d716
Reviewed-by: Leandro Melo <[email protected]>
Diffstat (limited to 'src/plugins/cpptools/cpptoolsreuse.h')
| -rw-r--r-- | src/plugins/cpptools/cpptoolsreuse.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cpptoolsreuse.h b/src/plugins/cpptools/cpptoolsreuse.h index 6bdfb1bec64..d914aeb9f14 100644 --- a/src/plugins/cpptools/cpptoolsreuse.h +++ b/src/plugins/cpptools/cpptoolsreuse.h @@ -36,6 +36,7 @@ #include "cpptools_global.h" QT_FORWARD_DECLARE_CLASS(QTextCursor) +QT_FORWARD_DECLARE_CLASS(QStringRef) namespace CPlusPlus { class Symbol; @@ -52,6 +53,8 @@ bool CPPTOOLS_EXPORT isOwnershipRAIIType(CPlusPlus::Symbol *symbol, bool CPPTOOLS_EXPORT isValidIdentifier(const QString &s); +bool CPPTOOLS_EXPORT isQtKeyword(const QStringRef &text); + } // CppTools #endif // CPPTOOLSREUSE_H |
