X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;ds=sidebyside;f=src%2Flibs%2FCommon%2Fregistry.h;h=e8bf68b13128e1ab6e48b6787ad8093fc398eea6;hb=36bd93cf4263b118366b3db2d26e8efb1ac1b690;hp=9c05c5040e9f119fce27700bb84d6939b9def930;hpb=8e0779e2e5a9f947f79c28e2ff121f6ffdd78b3f;p=evaf
diff --git a/src/libs/Common/registry.h b/src/libs/Common/registry.h
index 9c05c50..e8bf68b 100644
--- a/src/libs/Common/registry.h
+++ b/src/libs/Common/registry.h
@@ -24,7 +24,6 @@
#include
#include
-#include
#include
namespace eVaf {
@@ -59,7 +58,15 @@ public:
private:
/// All the registered interfaces
- QHash > mInterfaces;
+ typedef QHash Interfaces;
+ Interfaces mInterfaces;
+
+
+private slots:
+
+ /// Interface object destroyed
+ /// We need to remove the interface from the list of registered interfaces
+ void interfaceDestroyed(QObject * obj = 0);
};