X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Flibs%2FCommon%2Fregistry.h;h=e8bf68b13128e1ab6e48b6787ad8093fc398eea6;hb=13dedf19c628b9967e4c4106ab0fd967f1df0b90;hp=9c05c5040e9f119fce27700bb84d6939b9def930;hpb=0957525838e501a4609a15b8d7a765da43362025;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);
};