##// END OF EJS Templates
Merge pull request 222 from SCIQLOP-Initialisation develop...
Merge pull request 222 from SCIQLOP-Initialisation develop Develop

File last commit:

r462:a5a31ade100c
r547:9a7b9cf5359e merge
Show More
ISqpSettingsBindable.h
21 lines | 490 B | text/x-c | CLexer
/ core / include / Settings / ISqpSettingsBindable.h
Alexandre Leroux
Creates interface that defines an object that can load/save QSettings values
r462 #ifndef SCIQLOP_ISQPSETTINGSBINDABLE_H
#define SCIQLOP_ISQPSETTINGSBINDABLE_H
#include <QSettings>
/**
* @brief The ISqpSettingsBindable interface represents an object that can bind a variable
*/
class ISqpSettingsBindable {
public:
virtual ~ISqpSettingsBindable() = default;
/// Loads settings into the object
virtual void loadSettings() = 0;
/// Saves settings from the object
virtual void saveSettings() const = 0;
};
#endif // SCIQLOP_ISQPSETTINGSBINDABLE_H