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 14 years ago
parent a2293395d6
commit b39020d342

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

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

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

Loading…
Cancel
Save