massive changes inside

* use pass by ref instead of by value if possible
* use reference in interation over collections
* fix no tag inserting
This commit is contained in:
2017-05-04 15:00:50 +03:00
parent 6e99e262d4
commit 6e62ceaac7
119 changed files with 645 additions and 634 deletions

View File

@ -39,7 +39,7 @@ public:
};
explicit AWAbstractFormatter(QWidget *parent,
const QString filePath = QString());
const QString &filePath = QString());
virtual ~AWAbstractFormatter();
virtual QString convert(const QVariant &_value) const = 0;
void copyDefaults(AbstractExtItem *_other) const;
@ -47,7 +47,7 @@ public:
// properties
QString strType() const;
FormatterClass type() const;
void setStrType(const QString type);
void setStrType(const QString &type);
void setType(const FormatterClass _type = FormatterClass::NoFormat);
public slots: