From 85609aff8e3bd09a68d7868ad6cf3158e261d713 Mon Sep 17 00:00:00 2001 From: Francois Ferrand Date: Wed, 3 Nov 2010 11:02:25 +0100 Subject: CppHighlighter: highlight macro references. Change-Id: I7c90957aa67e03a109af0a722160d4e1c759d716 Reviewed-by: Leandro Melo --- src/plugins/cpptools/cpptoolsreuse.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/plugins/cpptools/cpptoolsreuse.h') 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 -- cgit v1.2.3