diff options
Diffstat (limited to 'src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FActTimer.qml')
-rw-r--r-- | src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FActTimer.qml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FActTimer.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FActTimer.qml new file mode 100644 index 0000000000..e31937a2b9 --- /dev/null +++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FActTimer.qml @@ -0,0 +1,25 @@ +// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+import com.ford.hmiframework 1.0
+
+FAction {
+ id: theAction
+
+ property variant timer
+ property int action: 1
+
+ onExecute: {
+ switch(action)
+ {
+ case TM.Start:
+ timer.start();
+ break;
+ case TM.Restart:
+ timer.restart();
+ break;
+ case TM.Stop:
+ timer.stop();
+ break;
+ }
+ }
+}
|