summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/ASTMatch0.cpp
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2010-02-06 11:05:43 +0100
committerErik Verbruggen <erik.verbruggen@nokia.com>2010-02-07 10:49:03 +0100
commit8d8b05da5a93bcd8f45a2d1b796ff1e4b1102ff5 (patch)
tree4aa3c52c3c3d428ccb2da1a68ad54ce698b7a282 /src/shared/cplusplus/ASTMatch0.cpp
parent6ca5f5f5f886449f88d1ff7085f640c46bbc8fb2 (diff)
downloadqt-creator-8d8b05da5a93bcd8f45a2d1b796ff1e4b1102ff5.tar.gz
Reworked parts of the QtPropertyDeclaration parsing and handling.
Diffstat (limited to 'src/shared/cplusplus/ASTMatch0.cpp')
-rw-r--r--src/shared/cplusplus/ASTMatch0.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/shared/cplusplus/ASTMatch0.cpp b/src/shared/cplusplus/ASTMatch0.cpp
index f1d47aaa8a..6a49dba34a 100644
--- a/src/shared/cplusplus/ASTMatch0.cpp
+++ b/src/shared/cplusplus/ASTMatch0.cpp
@@ -105,33 +105,33 @@ bool AccessDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
return false;
}
-bool QPropertyDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
+bool QtPropertyDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
{
- if (QPropertyDeclarationAST *_other = pattern->asQPropertyDeclaration())
+ if (QtPropertyDeclarationAST *_other = pattern->asQtPropertyDeclaration())
return matcher->match(this, _other);
return false;
}
-bool QEnumDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
+bool QtEnumDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
{
- if (QEnumDeclarationAST *_other = pattern->asQEnumDeclaration())
+ if (QtEnumDeclarationAST *_other = pattern->asQtEnumDeclaration())
return matcher->match(this, _other);
return false;
}
-bool QFlagsDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
+bool QtFlagsDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
{
- if (QFlagsDeclarationAST *_other = pattern->asQFlagsDeclaration())
+ if (QtFlagsDeclarationAST *_other = pattern->asQtFlagsDeclaration())
return matcher->match(this, _other);
return false;
}
-bool QDeclareFlagsDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
+bool QtDeclareFlagsDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
{
- if (QDeclareFlagsDeclarationAST *_other = pattern->asQDeclareFlagsDeclaration())
+ if (QtDeclareFlagsDeclarationAST *_other = pattern->asQtDeclareFlagsDeclaration())
return matcher->match(this, _other);
return false;