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=4e44e27e29e6c55343610445c97bbc3abd41f7ca;hpb=f01d61fb753b347bbff2ffb7f224650ac3f9d81e;p=evaf
diff --git a/src/libs/Common/prop.h b/src/libs/Common/prop.h
index 4e44e27..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();
@@ -51,7 +57,7 @@ public:
/**
* Returns the current implementation of the iProp interface
*/
- iProp * interface() const;
+ iProp * _interface() const;
/**
* Initializes the iProp interface implementation
@@ -79,7 +85,7 @@ private: // Members
QHash mProps;
/// Persistent property values
- QSettings * mPersistentProps;
+ QScopedPointer mPersistentProps;
};