Fix missing Q_OBJECT macros

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1245170 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent a2293395d6
commit b39020d342

@ -71,7 +71,8 @@ class MessagesSource
class PoScanner : public TQObject
{
TQ_OBJECT;
Q_OBJECT
TQ_OBJECT
public:

@ -56,6 +56,7 @@ enum Type {
Token_k_dcop,
Token_k_dcop_signals,
Token_Q_OBJECT,
Token_TQ_OBJECT,
Token_signals,
Token_slots,

@ -1980,7 +1980,7 @@ bool Parser::parseMemberSpecification( DeclarationAST::Node& node )
if ( !comment.isEmpty() )
node->setComment( comment );
return true;
} else if( lex->lookAhead(0) == Token_TQ_OBJECT || lex->lookAhead(0) == Token_K_DCOP ){
} else if( lex->lookAhead(0) == Token_Q_OBJECT || lex->lookAhead(0) == Token_TQ_OBJECT || 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 ){

Loading…
Cancel
Save