Commit 42c9175d authored by Christian Kamm's avatar Christian Kamm
Browse files

QmlJS: Manually fix location qmltypes.

The new location plugin does not export some of the 1.1 types anymore.
I've manually added the missing exports.

Change-Id: I19886a40fa61ab01f21b581fee315619f98668fd
Reviewed-on: http://codereview.qt.nokia.com/689

Reviewed-by: default avatarLeandro T. C. Melo <leandro.melo@nokia.com>
parent 70057af1
......@@ -182,6 +182,7 @@ Module {
defaultProperty: "data"
prototype: "QDeclarativeGeoMapObject"
exports: [
"QtMobility.location/MapCircle 1.1",
"QtMobility.location/MapCircle 1.2"
]
Property { name: "center"; type: "QDeclarativeCoordinate"; isPointer: true }
......@@ -211,6 +212,7 @@ Module {
defaultProperty: "data"
prototype: "QDeclarativeGeoMapObject"
exports: [
"QtMobility.location/MapGroup 1.1",
"QtMobility.location/MapGroup 1.2"
]
Property { name: "objects"; type: "QDeclarativeGeoMapObject"; isList: true; isReadonly: true }
......@@ -324,6 +326,7 @@ Module {
defaultProperty: "data"
prototype: "QDeclarativeGeoMapObject"
exports: [
"QtMobility.location/MapImage 1.1",
"QtMobility.location/MapImage 1.2"
]
Enum {
......@@ -361,6 +364,7 @@ Module {
defaultProperty: "data"
prototype: "QDeclarativeGeoMapObject"
exports: [
"QtMobility.location/MapPolygon 1.1",
"QtMobility.location/MapPolygon 1.2"
]
Property { name: "path"; type: "QDeclarativeCoordinate"; isList: true; isReadonly: true }
......@@ -390,6 +394,7 @@ Module {
defaultProperty: "data"
prototype: "QDeclarativeGeoMapObject"
exports: [
"QtMobility.location/MapPolyline 1.1",
"QtMobility.location/MapPolyline 1.2"
]
Property { name: "path"; type: "QDeclarativeCoordinate"; isList: true; isReadonly: true }
......@@ -414,6 +419,7 @@ Module {
defaultProperty: "data"
prototype: "QDeclarativeGeoMapObject"
exports: [
"QtMobility.location/MapRectangle 1.1",
"QtMobility.location/MapRectangle 1.2"
]
Property { name: "topLeft"; type: "QDeclarativeCoordinate"; isPointer: true }
......@@ -443,6 +449,7 @@ Module {
defaultProperty: "data"
prototype: "QDeclarativeGeoMapObject"
exports: [
"QtMobility.location/MapText 1.1",
"QtMobility.location/MapText 1.2"
]
Enum {
......@@ -515,6 +522,7 @@ Module {
defaultProperty: "parameters"
prototype: "QObject"
exports: [
"QtMobility.location/Plugin 1.1",
"QtMobility.location/Plugin 1.2"
]
Property { name: "name"; type: "string" }
......@@ -533,6 +541,7 @@ Module {
name: "QDeclarativeGeoServiceProviderParameter"
prototype: "QObject"
exports: [
"QtMobility.location/PluginParameter 1.1",
"QtMobility.location/PluginParameter 1.2"
]
Property { name: "name"; type: "string" }
......@@ -551,6 +560,7 @@ Module {
defaultProperty: "data"
prototype: "QDeclarativeItem"
exports: [
"QtMobility.location/Map 1.1",
"QtMobility.location/Map 1.2"
]
Enum {
......@@ -872,6 +882,7 @@ Module {
name: "QGeoMapObject"
prototype: "QObject"
exports: [
"QtMobility.location/QGeoMapObject 1.1",
"QtMobility.location/QGeoMapObject 1.2"
]
Property { name: "zValue"; type: "int" }
......@@ -905,4 +916,43 @@ Module {
Parameter { name: "transformType"; type: "QGeoMapObject::TransformType" }
}
}
Component {
name: "QDeclarativeGeoSearchModel"
prototype: "QAbstractListModel"
Property { name: "plugin"; type: "QDeclarativeGeoServiceProvider"; isPointer: true }
Property { name: "error"; type: "string"; isReadonly: true }
Signal {
name: "pluginChanged"
Parameter { name: "plugin"; type: "QDeclarativeGeoServiceProvider"; isPointer: true }
}
Signal {
name: "errorChanged"
Parameter { name: "error"; type: "string" }
}
Signal { name: "placesChanged" }
}
Component {
name: "QDeclarativeGeocodeModel"
prototype: "QDeclarativeGeoSearchModel"
exports: [
"QtMobility.location/GeocodeModel 1.1"
]
Property { name: "address"; type: "QDeclarativeGeoAddress"; isPointer: true }
Signal {
name: "addressChanged"
Parameter { name: "address"; type: "QDeclarativeGeoAddress"; isPointer: true }
}
}
Component {
name: "QDeclarativeReverseGeocodeModel"
prototype: "QDeclarativeGeoSearchModel"
exports: [
"QtMobility.location/ReverseGeocodeModel 1.1"
]
Property { name: "coordinate"; type: "QDeclarativeCoordinate"; isPointer: true }
Signal {
name: "coordinateChanged"
Parameter { name: "coordinate"; type: "QDeclarativeCoordinate"; isPointer: true }
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment