Improve code style

This commit is contained in:
Simon De Backer
2020-08-16 14:25:14 +02:00
parent 5e3e3aa4bd
commit 6c806d151d
2 changed files with 9 additions and 9 deletions

View File

@@ -42,8 +42,8 @@ class XRefProperties : public PropertiesInterface
void toSettings (QSettings &settings, const QString = QString()) const override;
void fromSettings (const QSettings &settings, const QString = QString()) override;
QDomElement toXml (QDomDocument &xml_document) const override;
bool fromXml(const QDomElement &xml_element) override;
QDomElement toXml (QDomDocument &xml_document) const override;
bool fromXml(const QDomElement &xml_element) override;
static QHash<QString, XRefProperties> defaultProperties();
@@ -73,7 +73,7 @@ class XRefProperties : public PropertiesInterface
void setOffset(const int offset) {m_offset = offset;}
int offset() const {return m_offset;}
void setKey(QString& key) {m_key = key;}
void setKey(QString& key) {m_key = key;}
private:
bool m_show_power_ctc;
@@ -85,7 +85,7 @@ class XRefProperties : public PropertiesInterface
QString m_master_label;
QString m_slave_label;
int m_offset;
QString m_key;
QString m_key;
};
#endif // XREFPROPERTIES_H