Modify SameGame to use QML Singleton
authorAntti Piira <apiira@blackberry.com>
Thu, 24 Oct 2013 00:34:18 +0000 (17:34 -0700)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 29 Oct 2013 18:18:46 +0000 (19:18 +0100)
commit77faf3f2c79d3d914e03ba9fc152c6b6054037ba
tree5c6b64920ee64e082f260a4194b30f38dd1e0f27
parentd232fa7c8cd01364d32a95eef7e711f3ae857d2c
Modify SameGame to use QML Singleton

Converts SameGame to use QML Singleton for storing global settings
data that was previously stored in javascript files. In addition
adds a BlackBerry specific selector to load a different singleton
settings instance.

Change-Id: If511e5efd0e539c764ab70eca4fb0f2874b6240e
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
13 files changed:
examples/quick/demos/samegame/content/+blackberry/Settings.qml [new file with mode: 0644]
examples/quick/demos/samegame/content/+blackberry/settings.js [deleted file]
examples/quick/demos/samegame/content/BBSettings.qml [new file with mode: 0644]
examples/quick/demos/samegame/content/BlockEmitter.qml
examples/quick/demos/samegame/content/GameArea.qml
examples/quick/demos/samegame/content/PaintEmitter.qml
examples/quick/demos/samegame/content/SamegameText.qml
examples/quick/demos/samegame/content/Settings.qml [new file with mode: 0644]
examples/quick/demos/samegame/content/qmldir [new file with mode: 0644]
examples/quick/demos/samegame/content/samegame.js
examples/quick/demos/samegame/content/settings.js [deleted file]
examples/quick/demos/samegame/samegame.qml
examples/quick/demos/samegame/samegame.qrc