20 #ifndef __COMMON_PROP_H 21 # define __COMMON_PROP_H 71 virtual QVariant
getValue(QString
const & name, QVariant
const & defaultValue)
const;
73 virtual void setValue(QString
const & name, QVariant
const & value,
bool persistent =
false);
79 QHash<QString, QVariant> mProps;
82 QSettings * mPersistentProps;
bool init()
Initializes the iProp interface implementation.
Implementation of the iProp interface.
void done()
Finalizes the iProp interface implementation.
virtual QVariant getValue(QString const &name, QVariant const &defaultValue) const
Returns the value of the global property or variable.
Global properties and variables for eVaf applications.
virtual void setValue(QString const &name, QVariant const &value, bool persistent=false)
Sets the global property or variable.
eVaf properties interface
iProp * _interface() const
Returns the current implementation of the iProp interface.