X-Git-Url: https://vaikene.ee/gitweb/pswgen09.html?a=blobdiff_plain;f=src%2Flibs%2FCommon%2Fprop.h;h=605a1d8202ea919e8420bca2ad2e14d3b07d563e;hb=4c0329c5c2690bde28212c89029015a5da4c7e34;hp=1574f2546cb3744b2ad51a9b419d02007eb7908f;hpb=36bd93cf4263b118366b3db2d26e8efb1ac1b690;p=evaf
diff --git a/src/libs/Common/prop.h b/src/libs/Common/prop.h
index 1574f25..605a1d8 100644
--- a/src/libs/Common/prop.h
+++ b/src/libs/Common/prop.h
@@ -3,7 +3,7 @@
* @brief Implementation of the iProp interface
* @author Enar Vaikene
*
- * Copyright (c) 2011 Enar Vaikene
+ * Copyright (c) 2011-2019 Enar Vaikene
*
* This file is part of the eVaf C++ cross-platform application development framework.
*
@@ -23,6 +23,7 @@
#include "iprop.h"
#include
+#include
class QSettings;
@@ -44,6 +45,11 @@ class Prop : public iProp
public:
+ /**
+ * Destroys the iProp interface instance
+ */
+ static void destroyInstance();
+
Prop();
virtual ~Prop();
@@ -79,7 +85,7 @@ private: // Members
QHash mProps;
/// Persistent property values
- QSettings * mPersistentProps;
+ QScopedPointer mPersistentProps;
};