summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-21 17:31:38 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-21 17:35:58 +0900
commitea4d684558f95f882e439fdcaee807af20f699b2 (patch)
tree2adcee4837cec8d2a8f02f1caed47f95b7dd9689
parent3c9c6c22a3e443bf98087def488e60f381a09bad (diff)
downloadtdesdk-ea4d684558f95f882e439fdcaee807af20f699b2.tar.gz
tdesdk-ea4d684558f95f882e439fdcaee807af20f699b2.zip
Rename Token_Q_OBJECT to Token_TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit aff1b73799d76c43235d27b86ff17b179f4ad2fc)
-rw-r--r--umbrello/umbrello/codeimport/kdevcppparser/lexer.h2
-rw-r--r--umbrello/umbrello/codeimport/kdevcppparser/parser.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/umbrello/umbrello/codeimport/kdevcppparser/lexer.h b/umbrello/umbrello/codeimport/kdevcppparser/lexer.h
index c0eca989..e4dee6c5 100644
--- a/umbrello/umbrello/codeimport/kdevcppparser/lexer.h
+++ b/umbrello/umbrello/codeimport/kdevcppparser/lexer.h
@@ -56,7 +56,7 @@ enum Type {
Token_k_dcop,
Token_k_dcop_signals,
- Token_Q_OBJECT,
+ Token_TQ_OBJECT,
Token_,
Token_signals,
Token_slots,
diff --git a/umbrello/umbrello/codeimport/kdevcppparser/parser.cpp b/umbrello/umbrello/codeimport/kdevcppparser/parser.cpp
index 278690fc..adc729e9 100644
--- a/umbrello/umbrello/codeimport/kdevcppparser/parser.cpp
+++ b/umbrello/umbrello/codeimport/kdevcppparser/parser.cpp
@@ -1980,7 +1980,7 @@ bool Parser::parseMemberSpecification( DeclarationAST::Node& node )
if ( !comment.isEmpty() )
node->setComment( comment );
return true;
- } else if( lex->lookAhead(0) == Token_Q_OBJECT || lex->lookAhead(0) == Token_ || lex->lookAhead(0) == Token_K_DCOP ){
+ } else if( lex->lookAhead(0) == Token_TQ_OBJECT || lex->lookAhead(0) == Token_ || lex->lookAhead(0) == Token_K_DCOP ){
lex->nextToken();
return true;
} else if( lex->lookAhead(0) == Token_signals || lex->lookAhead(0) == Token_k_dcop || lex->lookAhead(0) == Token_k_dcop_signals ){