6#include <QtCore/QSettings>
34 I_ASSIGN(m_applicationInfoCompPtr,
"ApplicationInfo",
"Application info",
true,
"ApplicationInfo");
35 I_ASSIGN(m_rootKeyAttrPtr,
"RootKey",
"The root key in the file/registry for the serialized object",
true,
"Data");
36 I_ASSIGN(m_scopeAttrPtr,
"Scope",
"The scope for the settingsin the registry. 0 - User scope.\n1 - System scope",
false, QSettings::UserScope);
42 const QString* filePathPtr =
NULL,
44 bool beQuiet =
true)
const override;
47 const QString& filePath = QString(),
51 const QString& filePath = QString(),
60 I_ATTR(QByteArray, m_rootKeyAttrPtr);
61 I_ATTR(
int, m_scopeAttrPtr);
This interface provides some information about the application.
Consume information about progress of some process.
Interface providing loading and saving of data objects.
OperationState
Result of operation.
Template wrapper adding comprehensive logging functionality to components.
Store and load parameter as global settings.
virtual ifile::IFilePersistence::OperationState SaveToFile(const istd::IChangeable &data, const QString &filePath=QString(), ibase::IProgressManager *progressManagerPtr=NULL) const override
This function saves data data to file filePath.
virtual QString GetTypeDescription(const QString *extensionPtr=NULL) const override
Get description of object type associated with single extension.
virtual bool GetFileExtensions(QStringList &result, const istd::IChangeable *dataObjectPtr=NULL, int flags=-1, bool doAppend=false) const override
Get file extensions supported by this loader.
virtual bool IsOperationSupported(const istd::IChangeable *dataObjectPtr, const QString *filePathPtr=NULL, int flags=-1, bool beQuiet=true) const override
Returns true if object dataObject can be loaded/saved.
virtual ifile::IFilePersistence::OperationState LoadFromFile(istd::IChangeable &data, const QString &filePath=QString(), ibase::IProgressManager *progressManagerPtr=NULL) const override
This function loads data data from file filePath.
ilog::CLoggerComponentBase BaseClass
Common interface for data model objects, which can be changed.
This namespace contains non-UI utility classes based on Qt.