|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef PROPERTIESINTERFACE_H
19 #define PROPERTIESINTERFACE_H
23 #include <QDomElement>
43 const QString = QString())
const =0;
52 const QString = QString()) =0;
59 virtual QDomElement
toXml (QDomDocument &xml_document)
const =0;
66 virtual bool fromXml (
const QDomElement &xml_element) =0;
69 #endif // PROPERTIESINTERFACE_H
virtual bool fromXml(const QDomElement &xml_element)=0
fromXml load properties to xml element
virtual void toSettings(QSettings &settings, const QString=QString()) const =0
toSettings Save properties to setting file.
PropertiesInterface()
PropertiesInterface::PropertiesInterface.
Definition: propertiesinterface.cpp:23
virtual void fromSettings(const QSettings &settings, const QString=QString())=0
fromSettings load properties to setting file.
virtual ~PropertiesInterface()
PropertiesInterface::~PropertiesInterface.
Definition: propertiesinterface.cpp:29
The PropertiesInterface class This class is an interface for have common way to use properties in QEl...
Definition: propertiesinterface.h:31
virtual QDomElement toXml(QDomDocument &xml_document) const =0
toXml Save properties to xml element