* @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.
*
#include "iprop.h"
#include <QHash>
+#include <QScopedPointer>
class QSettings;
public:
+ /**
+ * Destroys the iProp interface instance
+ */
+ static void destroyInstance();
+
Prop();
virtual ~Prop();
/**
* Returns the current implementation of the iProp interface
*/
- iProp * interface() const;
+ iProp * _interface() const;
/**
* Initializes the iProp interface implementation
QHash<QString, QVariant> mProps;
/// Persistent property values
- QSettings * mPersistentProps;
+ QScopedPointer<QSettings> mPersistentProps;
};