X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;ds=inline;f=src%2Flibs%2FCommon%2Fprop.h;h=605a1d8202ea919e8420bca2ad2e14d3b07d563e;hb=de270ece1b764b19968e14420f538321f1c06b15;hp=1574f2546cb3744b2ad51a9b419d02007eb7908f;hpb=a81a943bee20df3c7eb34bafb3e3fe878facfe4e;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;
};