Replace @IMPORT_QT_QUICK@ with "import QtQuick 2.0" QFSFileEngine and QAbstractFileEngineHandler are not available in Qt5 We will hardcode import QtQuick 2.0 to make Qt5 happy and will replace it with QtQuick 1.1 when not using Qt5
Indent and drop unneeded com.nokia.meego import
First attempt at removing QtQuick 1.1 hardcoding from qml files. We replace QtQuick import with a macro which will get replaced during runtime with the correct version via a custom QFileSystemEngine subclass
Updated copyright year
Reworked mode animation. Use a series of property change notifications and bindings to derive the animation/ The PauseAnimation {} is needed because the dimmer doesn't fully dim without it :(
Code cleanup
One cannot set mode and deviceId. Use camera::reset() instead. This will simplify the code for QML bindings.
Don't check camera mode if cam is null
Added copyright headers and COPYING file.
Tweaked the mode switch animation and now it works better
Now we set the camera mode when the settings mode changes
Initial import