summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2009-07-27 14:35:38 (GMT)
committerErik Verbruggen <erik.verbruggen@nokia.com>2009-07-27 14:35:38 (GMT)
commitcc287101308fa606eb4de2597b5309c8099654c3 (patch)
treeccb3b99217cdcff89fe60e5352281d93ef62cf84
parent38b6e3bddbb241b101fca8755b6fba338b943302 (diff)
downloadQt-cc287101308fa606eb4de2597b5309c8099654c3.zip
Qt-cc287101308fa606eb4de2597b5309c8099654c3.tar.gz
Qt-cc287101308fa606eb4de2597b5309c8099654c3.tar.bz2
Fixed missing forward declarations, which made gcc fail to compile
anything that included qobject.h Reviewed-by: Thomas Hartmann
-rw-r--r--src/corelib/kernel/qguard_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/kernel/qguard_p.h b/src/corelib/kernel/qguard_p.h
index cbc9cca..a24680b 100644
--- a/src/corelib/kernel/qguard_p.h
+++ b/src/corelib/kernel/qguard_p.h
@@ -93,6 +93,8 @@ protected:
virtual void objectDestroyed(T *) {}
};
+void q_guard_addGuard(QGuard<QObject> *);
+void q_guard_removeGuard(QGuard<QObject> *);
template<class T>
QGuard<T>::QGuard()