*** moc.y.orig	Thu Oct 16 14:58:44 2003
--- moc.y	Sat Dec  6 19:12:48 2003
***************
*** 1,4 ****
! /****************************************************************************
  ** 
  **
  ** Parser and code generator for meta object compiler
--- 1,4 ----
! 	/****************************************************************************
  ** 
  **
  ** Parser and code generator for meta object compiler
*************** class_head:		  class_key
*** 1152,1157 ****
--- 1152,1163 ----
  			| class_key
  			  IDENTIFIER		/* possible DLL EXPORT macro */
  			  class_name		{ g->className = $3;
+ 						  if ( g->className == "QObject" )
+ 						     Q_OBJECTdetected = TRUE;
+ 						}
+ 			| class_key
+ 			  IDENTIFIER '(' IDENTIFIER ')'		/* possible DLL EXPORT macro with parameter */
+ 			  class_name		{ g->className = $6;
  						  if ( g->className == "QObject" )
  						     Q_OBJECTdetected = TRUE;
  						}
