summaryrefslogtreecommitdiffstats
path: root/lib/cppparser/driver.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-05 17:12:16 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-05 17:12:16 +0000
commit093de0db4fea89b3f94a2359c6981f353d035eb7 (patch)
treec8bc2c9eafdeb30b61da299945a8282d8bb668e6 /lib/cppparser/driver.cpp
parent03df9d8aeb40bdfb21f516a69a36ac4df6a90247 (diff)
downloadtdevelop-093de0db4fea89b3f94a2359c6981f353d035eb7.tar.gz
tdevelop-093de0db4fea89b3f94a2359c6981f353d035eb7.zip
Fix missing Q_OBJECT macros
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1245170 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/cppparser/driver.cpp')
-rw-r--r--lib/cppparser/driver.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/cppparser/driver.cpp b/lib/cppparser/driver.cpp
index 52b196e5..b3ace734 100644
--- a/lib/cppparser/driver.cpp
+++ b/lib/cppparser/driver.cpp
@@ -597,6 +597,7 @@ void Driver::setupLexer( Lexer * lexer ) {
lexer->addSkipWord( "KDE_DEPRECATED" );
// qt
+ lexer->addSkipWord( "Q_OBJECT" );
lexer->addSkipWord( "TQ_OBJECT" );
lexer->addSkipWord( "TQ_OVERRIDE", SkipWordAndArguments );
lexer->addSkipWord( "Q_ENUMS", SkipWordAndArguments );