some refactoring

* massive changes inside includes, drop unused definitions
* rewrite some initialization methods to avoid additional
freeing/allocation
* drop some explicit destructors calls
This commit is contained in:
2017-07-14 03:34:05 +03:00
parent e90e1da096
commit d2e6f2fe38
47 changed files with 79 additions and 199 deletions

View File

@ -28,8 +28,8 @@ Row {
// backend
property var backend
AWFormatterConfigFactory {
id: awFormatter
AWPairConfigFactory {
id: awPairConfig
}
AWTelemetryHandler {
id: awTelemetryHandler
@ -49,13 +49,13 @@ Row {
QtControls.Button {
width: parent.width * 3 / 15
text: i18n("Formatters")
onClicked: awFormatter.showFormatterDialog(backend.dictKeys(true))
onClicked: awPairConfig.showFormatterDialog(backend.dictKeys(true))
}
QtControls.Button {
width: parent.width * 3 / 15
text: i18n("User keys")
onClicked: awFormatter.showKeysDialog(backend.dictKeys(true))
onClicked: awPairConfig.showKeysDialog(backend.dictKeys(true))
}
QtControls.Button {