summaryrefslogtreecommitdiffstats
path: root/src/tools/moc/moc.h
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2010-08-18 16:10:01 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2010-08-19 13:21:26 (GMT)
commit6cf0ad80bb8a168115772aa5c3b4abec3e372ccc (patch)
tree653e5ca61f01394888122a9d6e6745a6618df7bb /src/tools/moc/moc.h
parent380b3dbd3ec3de31fb9be72a5cfd02543d291a62 (diff)
downloadQt-6cf0ad80bb8a168115772aa5c3b4abec3e372ccc.zip
Qt-6cf0ad80bb8a168115772aa5c3b4abec3e372ccc.tar.gz
Qt-6cf0ad80bb8a168115772aa5c3b4abec3e372ccc.tar.bz2
moc: Error if the NOTIFY signal is invalid.
Previously, an invalid NOTIFY signal would be silently ignored. Now it throws an error Reviewed-by: Joao Task-number: QTBUG-7684
Diffstat (limited to 'src/tools/moc/moc.h')
-rw-r--r--src/tools/moc/moc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/moc/moc.h b/src/tools/moc/moc.h
index 9f349b5..5e47d9a 100644
--- a/src/tools/moc/moc.h
+++ b/src/tools/moc/moc.h
@@ -238,6 +238,7 @@ public:
bool testFunctionAttribute(Token tok, FunctionDef *def);
void checkSuperClasses(ClassDef *def);
+ void checkProperties(ClassDef* cdef);
};
inline QByteArray noRef(const QByteArray &type)