From 4cb435f2a7bbeafb53f067d95ec83e0b3a1a17f8 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 19 Aug 2015 11:13:35 +0200 Subject: Extract all settings into `SettingsHandler` object This enables the user to straight forwardly change all application settings via command mode. During the implementation of this change I discovered that the way I was passing around `StateHandler` and `SettingsHandler` instances using properties was unnecessary. If all object instances are created in a common hierarchy they can access each other by their `id` property - i.e. `settings` and `mode` are available to the whole application without property trickery. --- src/ui.qrc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui.qrc') diff --git a/src/ui.qrc b/src/ui.qrc index 48554f7..916fb43 100644 --- a/src/ui.qrc +++ b/src/ui.qrc @@ -2,6 +2,7 @@ main.qml StateHandler.qml + SettingsHandler.qml list/TerminalItem.qml list/TerminalList.qml command/CommandInput.qml -- cgit v1.2.3