From 8d8b05da5a93bcd8f45a2d1b796ff1e4b1102ff5 Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Sat, 6 Feb 2010 11:05:43 +0100 Subject: Reworked parts of the QtPropertyDeclaration parsing and handling. --- src/shared/cplusplus/ASTMatch0.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/shared/cplusplus/ASTMatch0.cpp') 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; -- cgit v1.2.1