#include <QObject>
#include <QString>
-#include <QPointer>
+#include <QWeakPointer>
#include <QHash>
namespace eVaf {
* iRegistry interface implementation.
*
* This class implements the global registry for interfaces. Interfaces are stored in a QHash container
- * and quarded with QPointer.
+ * and quarded with QWeakPointer.
*/
class Registry : public iRegistry
{
private:
/// All the registered interfaces
- QHash<QString, QPointer<QObject> > mInterfaces;
+ QHash<QString, QWeakPointer<QObject> > mInterfaces;
};