summaryrefslogtreecommitdiff
path: root/src/imports/positioning
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2015-06-09 11:48:30 +0200
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-06-09 10:06:55 +0000
commit844fdfcc54fa91af5a75f53ee372d065b283797f (patch)
treec14a9c0d4948aaaea17d52c6e44bdf3e63091a60 /src/imports/positioning
parentfa8f8b17bd7e51f36be43b4847c750e778c17a52 (diff)
downloadqtlocation-844fdfcc54fa91af5a75f53ee372d065b283797f.tar.gz
Update qmltypes for QtPositioning
Change-Id: I242622fbb6ba5f63b1fa76e2c01d75f978c8e98a Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/imports/positioning')
-rw-r--r--src/imports/positioning/plugins.qmltypes84
1 files changed, 83 insertions, 1 deletions
diff --git a/src/imports/positioning/plugins.qmltypes b/src/imports/positioning/plugins.qmltypes
index 9ea738f4..853c55cb 100644
--- a/src/imports/positioning/plugins.qmltypes
+++ b/src/imports/positioning/plugins.qmltypes
@@ -1,4 +1,4 @@
-import QtQuick.tooling 1.1
+import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
@@ -7,6 +7,7 @@ import QtQuick.tooling 1.1
// 'qmlplugindump -nonrelocatable QtPositioning 5.5'
Module {
+ dependencies: []
Component {
name: "LocationSingleton"
prototype: "QObject"
@@ -60,6 +61,16 @@ Module {
type: "QGeoCircle"
Parameter { name: "center"; type: "QGeoCoordinate" }
}
+ Method {
+ name: "shapeToCircle"
+ type: "QGeoCircle"
+ Parameter { name: "shape"; type: "QGeoShape" }
+ }
+ Method {
+ name: "shapeToRectangle"
+ type: "QGeoRectangle"
+ Parameter { name: "shape"; type: "QGeoShape" }
+ }
}
Component {
name: "QDeclarativeGeoAddress"
@@ -201,4 +212,75 @@ Module {
}
Method { name: "toString"; type: "string" }
}
+ Component {
+ name: "QQuickAbstractAnimation"
+ prototype: "QObject"
+ Enum {
+ name: "Loops"
+ values: {
+ "Infinite": -2
+ }
+ }
+ Property { name: "running"; type: "bool" }
+ Property { name: "paused"; type: "bool" }
+ Property { name: "alwaysRunToEnd"; type: "bool" }
+ Property { name: "loops"; type: "int" }
+ Signal { name: "started" }
+ Signal { name: "stopped" }
+ Signal {
+ name: "runningChanged"
+ Parameter { type: "bool" }
+ }
+ Signal {
+ name: "pausedChanged"
+ Parameter { type: "bool" }
+ }
+ Signal {
+ name: "alwaysRunToEndChanged"
+ Parameter { type: "bool" }
+ }
+ Signal {
+ name: "loopCountChanged"
+ Parameter { type: "int" }
+ }
+ Method { name: "restart" }
+ Method { name: "start" }
+ Method { name: "pause" }
+ Method { name: "resume" }
+ Method { name: "stop" }
+ Method { name: "complete" }
+ }
+ Component {
+ name: "QQuickPropertyAnimation"
+ prototype: "QQuickAbstractAnimation"
+ Property { name: "duration"; type: "int" }
+ Property { name: "from"; type: "QVariant" }
+ Property { name: "to"; type: "QVariant" }
+ Property { name: "easing"; type: "QEasingCurve" }
+ Property { name: "target"; type: "QObject"; isPointer: true }
+ Property { name: "property"; type: "string" }
+ Property { name: "properties"; type: "string" }
+ Property { name: "targets"; type: "QObject"; isList: true; isReadonly: true }
+ Property { name: "exclude"; type: "QObject"; isList: true; isReadonly: true }
+ Signal {
+ name: "durationChanged"
+ Parameter { type: "int" }
+ }
+ Signal {
+ name: "fromChanged"
+ Parameter { type: "QVariant" }
+ }
+ Signal {
+ name: "toChanged"
+ Parameter { type: "QVariant" }
+ }
+ Signal {
+ name: "easingChanged"
+ Parameter { type: "QEasingCurve" }
+ }
+ Signal {
+ name: "propertiesChanged"
+ Parameter { type: "string" }
+ }
+ }
}