diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-07-03 09:11:52 +0200 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-07-03 09:12:58 +0200 |
commit | 3cdd48067c8c865d050a19766948d05c86ec6e40 (patch) | |
tree | 339702b3a68d8703f87ab01b79cfb5f4894eb54c /src/shared/cplusplus/CheckDeclaration.cpp | |
parent | 16286b763d74b5793cf1b564252510d4a43ad71f (diff) | |
download | qt-creator-3cdd48067c8c865d050a19766948d05c86ec6e40.tar.gz |
Introduced ForeachStatementAST and the bits to parse foreach statements when qtMocRun is enabled.
Diffstat (limited to 'src/shared/cplusplus/CheckDeclaration.cpp')
-rw-r--r-- | src/shared/cplusplus/CheckDeclaration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/cplusplus/CheckDeclaration.cpp b/src/shared/cplusplus/CheckDeclaration.cpp index 038d70b9a4..1bd8086cdb 100644 --- a/src/shared/cplusplus/CheckDeclaration.cpp +++ b/src/shared/cplusplus/CheckDeclaration.cpp @@ -251,7 +251,7 @@ bool CheckDeclaration::visit(AccessDeclarationAST *ast) semantic()->switchVisibility(visibility); if (ast->slots_token) semantic()->switchMethodKey(Function::SlotMethod); - else if (accessSpecifier == T_SIGNALS) + else if (accessSpecifier == T_Q_SIGNALS) semantic()->switchMethodKey(Function::SignalMethod); else semantic()->switchMethodKey(Function::NormalMethod); |