summaryrefslogtreecommitdiffstats
path: root/src/moc/moc.l
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-02-13 17:43:39 -0600
committerTimothy Pearson <[email protected]>2012-02-13 17:43:39 -0600
commit359640943bcf155faa9a067dde9e00a123276290 (patch)
treefb3d55ea5e18949042fb0064123fb73d2b1eb932 /src/moc/moc.l
parenta829bcdc533e154000803d517200d32fe762e85c (diff)
downloadtqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz
tqt3-359640943bcf155faa9a067dde9e00a123276290.zip
Automated update from Qt3
Diffstat (limited to 'src/moc/moc.l')
-rw-r--r--src/moc/moc.l8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/moc/moc.l b/src/moc/moc.l
index ea5669661..9ddce077f 100644
--- a/src/moc/moc.l
+++ b/src/moc/moc.l
@@ -124,7 +124,7 @@ STRING {ALMOSTSTRING}\"
<OUTSIDE>"template" { X;
BEGIN QT_DEF;
return TEMPLATE; }
-<QT_DEF>"Q_OBJECT" { X; return Q_OBJECT; }
+<QT_DEF>"TQ_OBJECT" { X; return TQ_OBJECT; }
<QT_DEF>"signals" { X; return SIGNALS; }
<QT_DEF>"slots" { X; return SLOTS; }
<QT_DEF>"Q_CLASSINFO" { X; return Q_CLASSINFO; }
@@ -144,11 +144,11 @@ STRING {ALMOSTSTRING}\"
<IN_CLASS>"signals" { X;if( classPLevel == 1 ) return SIGNALS; }
<IN_CLASS>"slots" { X;if( classPLevel == 1 ) return SLOTS; }
<IN_CLASS>"Q_CLASSINFO" { X;if( classPLevel == 1 ) return Q_CLASSINFO; }
-<IN_CLASS>"Q_OBJECT" { X;
+<IN_CLASS>"TQ_OBJECT" { X;
if ( classPLevel == 1 )
- return Q_OBJECT;
+ return TQ_OBJECT;
else if ( classPLevel > 1 )
- moc_warn( "Cannot use Q_OBJECT in nested class." );
+ moc_warn( "Cannot use TQ_OBJECT in nested class." );
}
<IN_CLASS>"Q_PROPERTY" { X;if( classPLevel == 1 ) return Q_PROPERTY; }
<IN_CLASS>"Q_OVERRIDE" { X;if( classPLevel == 1 ) return Q_OVERRIDE; }