From bbd3085b8da5c5dc718042793393e43d2c51a67a Mon Sep 17 00:00:00 2001 From: Simon De Backer Date: Sun, 19 Jul 2020 20:06:22 +0200 Subject: [PATCH] Fix indentation code + Mod doc --- sources/properties/propertiesinterface.h | 40 +++++++++++++++++++----- 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/sources/properties/propertiesinterface.h b/sources/properties/propertiesinterface.h index 54914e9d8..a3cdc27f3 100644 --- a/sources/properties/propertiesinterface.h +++ b/sources/properties/propertiesinterface.h @@ -30,14 +30,38 @@ class PropertiesInterface { public: - PropertiesInterface(); - virtual ~PropertiesInterface(); - // Save/load properties to setting file. QString is use for prefix a word befor the name of each paramètre - virtual void toSettings (QSettings &settings, const QString = QString()) const =0; - virtual void fromSettings (const QSettings &settings, const QString = QString()) =0; - // Save/load properties to xml element - virtual QDomElement toXml (QDomDocument &xml_document) const =0; - virtual bool fromXml (const QDomElement &xml_element) =0; + PropertiesInterface(); + virtual ~PropertiesInterface(); + /** + @brief toSettings + Save properties to setting file. + @param settings : is use for prefix a word + befor the name of each paramètre + */ + virtual void toSettings (QSettings &settings, + const QString = QString()) const =0; + /** + @brief fromSettings + load properties to setting file. + @param settings : is use for prefix a word + befor the name of each paramètre + */ + virtual void fromSettings (const QSettings &settings, + const QString = QString()) =0; + /** + @brief toXml + Save properties to xml element + @param xml_document + @return QDomElement + */ + virtual QDomElement toXml (QDomDocument &xml_document) const =0; + /** + @brief fromXml + load properties to xml element + @param xml_element + @return true / false + */ + virtual bool fromXml (const QDomElement &xml_element) =0; }; #endif // PROPERTIESINTERFACE_H