diff options
author | Erik Verbruggen <erik.verbruggen@nokia.com> | 2009-07-27 14:35:38 (GMT) |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@nokia.com> | 2009-07-27 14:35:38 (GMT) |
commit | cc287101308fa606eb4de2597b5309c8099654c3 (patch) | |
tree | ccb3b99217cdcff89fe60e5352281d93ef62cf84 | |
parent | 38b6e3bddbb241b101fca8755b6fba338b943302 (diff) | |
download | Qt-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.h | 2 |
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() |