summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Fernengel <harald.fernengel@nokia.com>2009-08-28 21:16:29 (GMT)
committerHarald Fernengel <harald.fernengel@nokia.com>2009-08-28 21:16:29 (GMT)
commitd23863952b0c13ccd8b2989d24153d94b3d3f83d (patch)
treec488ca456e4a0aab0779cae002ad073293bea8ef
parentbdb8379d84218c55d573ecef8c3fa13fa57f0bc7 (diff)
downloadQt-d23863952b0c13ccd8b2989d24153d94b3d3f83d.zip
Qt-d23863952b0c13ccd8b2989d24153d94b3d3f83d.tar.gz
Qt-d23863952b0c13ccd8b2989d24153d94b3d3f83d.tar.bz2
trivial: make moc compile again
-rw-r--r--src/corelib/kernel/qmetaobject_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/kernel/qmetaobject_p.h b/src/corelib/kernel/qmetaobject_p.h
index fdf36f3..572e727 100644
--- a/src/corelib/kernel/qmetaobject_p.h
+++ b/src/corelib/kernel/qmetaobject_p.h
@@ -122,6 +122,7 @@ struct QMetaObjectPrivate
static int indexOfSignalRelative(const QMetaObject **baseObject, const char* name);
static int originalClone(const QMetaObject *obj, int local_method_index);
+#ifndef QT_NO_QOBJECT
//defined in qobject.cpp
static bool connect(const QObject *sender, int signal_index,
const QObject *receiver, int method_index,
@@ -131,6 +132,7 @@ struct QMetaObjectPrivate
static inline bool disconnectHelper(QObjectPrivate::Connection *c,
const QObject *receiver, int method_index,
QMutex *senderMutex);
+#endif
};
#ifndef UTILS_H