Commit 74d015d2 authored by Christian Kamm's avatar Christian Kamm Committed by Eike Ziller

Update QtMobility QML type descriptions to 1.2.0.

Change-Id: I31b0f9cc55763d22dbf6ff75252c6e10e5a1b0f2
Reviewed-on: http://codereview.qt.nokia.com/481Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
parent 08a28aac
......@@ -5,10 +5,29 @@ import QtQuick.tooling 1.0
Module {
Component {
name: "QDeclarativeFeedback"
name: "QDeclarativeFeedbackActuator"
prototype: "QObject"
exports: [
"QtMobility.feedback/Feedback 1.1"
"QtMobility.feedback/Actuator 1.1"
]
Property { name: "actuatorId"; type: "int"; isReadonly: true }
Property { name: "name"; type: "string"; isReadonly: true }
Property { name: "state"; type: "QFeedbackActuator::State"; isReadonly: true }
Property { name: "valid"; type: "bool"; isReadonly: true }
Property { name: "enabled"; type: "bool" }
Signal { name: "enabledChanged" }
Method {
name: "isCapabilitySupported"
type: "bool"
Parameter { name: "capbility"; type: "QFeedbackActuator::Capability" }
}
}
Component {
name: "QDeclarativeFeedbackEffect"
prototype: "QObject"
exports: [
"QtMobility.feedback/Feedback 1.1",
"QtMobility.feedback/FeedbackEffect 1.1"
]
Enum {
name: "Duration"
......@@ -32,32 +51,58 @@ Module {
"DeviceBusy": 1
}
}
Property { name: "running"; type: "bool" }
Property { name: "paused"; type: "bool" }
Property { name: "duration"; type: "int" }
Property { name: "state"; type: "State" }
Property { name: "error"; type: "ErrorType"; isReadonly: true }
Signal { name: "runningChanged" }
Signal { name: "pausedChanged" }
Signal { name: "durationChanged" }
Signal { name: "stateChanged" }
Signal { name: "errorChanged" }
Method { name: "updateState" }
}
Component {
name: "QDeclarativeFileEffect"
prototype: "QFeedbackFileEffect"
prototype: "QDeclarativeFeedbackEffect"
exports: [
"QtMobility.feedback/FileEffect 1.1"
]
Property { name: "running"; type: "bool" }
Property { name: "paused"; type: "bool" }
Signal { name: "runningChanged" }
Signal { name: "pausedChanged" }
Method { name: "updateState" }
Property { name: "loaded"; type: "bool" }
Property { name: "source"; type: "QUrl" }
Property { name: "supportedMimeTypes"; type: "QStringList"; isReadonly: true }
Signal { name: "loadedChanged" }
Signal { name: "sourceChanged" }
Method { name: "load" }
Method { name: "unload" }
}
Component {
name: "QDeclarativeHapticsEffect"
prototype: "QFeedbackHapticsEffect"
prototype: "QDeclarativeFeedbackEffect"
exports: [
"QtMobility.feedback/HapticsEffect 1.1"
]
Property { name: "actuators"; type: "QFeedbackActuator"; isList: true; isReadonly: true }
Property { name: "running"; type: "bool" }
Property { name: "paused"; type: "bool" }
Signal { name: "runningChanged" }
Signal { name: "pausedChanged" }
Signal { name: "actuatorsChanged" }
Method { name: "updateState" }
Property {
name: "availableActuators"
type: "QDeclarativeFeedbackActuator"
isList: true
isReadonly: true
}
Property { name: "intensity"; type: "qreal" }
Property { name: "attackTime"; type: "int" }
Property { name: "attackIntensity"; type: "qreal" }
Property { name: "fadeTime"; type: "int" }
Property { name: "fadeIntensity"; type: "qreal" }
Property { name: "period"; type: "int" }
Property { name: "actuator"; type: "QDeclarativeFeedbackActuator"; isPointer: true }
Signal { name: "intensityChanged" }
Signal { name: "attackTimeChanged" }
Signal { name: "attackIntensityChanged" }
Signal { name: "fadeTimeChanged" }
Signal { name: "fadeIntensityChanged" }
Signal { name: "periodChanged" }
Signal { name: "actuatorChanged" }
}
Component {
name: "QDeclarativeThemeEffect"
......@@ -110,131 +155,4 @@ Module {
Signal { name: "effectChanged" }
Method { name: "play" }
}
Component {
name: "QFeedbackActuator"
prototype: "QObject"
exports: [
"QtMobility.feedback/Actuator 1.1"
]
Enum {
name: "Capability"
values: {
"Envelope": 0,
"Period": 1
}
}
Enum {
name: "State"
values: {
"Busy": 0,
"Ready": 1,
"Unknown": 2
}
}
Property { name: "id"; type: "int"; isReadonly: true }
Property { name: "name"; type: "string"; isReadonly: true }
Property { name: "state"; type: "QFeedbackActuator::State"; isReadonly: true }
Property { name: "valid"; type: "bool"; isReadonly: true }
Property { name: "enabled"; type: "bool" }
Signal { name: "enabledChanged" }
Method {
name: "isCapabilitySupported"
type: "bool"
Parameter { type: "Capability" }
}
}
Component {
name: "QFeedbackEffect"
prototype: "QObject"
Enum {
name: "ThemeEffect"
values: {
"ThemeBasic": 0,
"ThemeSensitive": 1,
"ThemeBasicButton": 2,
"ThemeSensitiveButton": 3,
"ThemeBasicKeypad": 4,
"ThemeSensitiveKeypad": 5,
"ThemeBasicSlider": 6,
"ThemeSensitiveSlider": 7,
"ThemeBasicItem": 8,
"ThemeSensitiveItem": 9,
"ThemeItemScroll": 10,
"ThemeItemPick": 11,
"ThemeItemDrop": 12,
"ThemeItemMoveOver": 13,
"ThemeBounceEffect": 14,
"ThemeCheckBox": 15,
"ThemeMultipleCheckBox": 16,
"ThemeEditor": 17,
"ThemeTextSelection": 18,
"ThemeBlankSelection": 19,
"ThemeLineSelection": 20,
"ThemeEmptyLineSelection": 21,
"ThemePopUp": 22,
"ThemePopupOpen": 23,
"ThemePopupClose": 24,
"ThemeFlick": 25,
"ThemeStopFlick": 26,
"ThemeMultiPointTouchActivate": 27,
"ThemeRotateStep": 28,
"ThemeLongPress": 29,
"ThemePositiveTacticon": 30,
"ThemeNeutralTacticon": 31,
"ThemeNegativeTacticon": 32,
"NumberOfThemeEffects": 33,
"ThemeUser": 65535
}
}
Enum {
name: "Duration"
values: {
"Infinite": -1
}
}
Enum {
name: "State"
values: {
"Stopped": 0,
"Paused": 1,
"Running": 2,
"Loading": 3
}
}
Enum {
name: "ErrorType"
values: {
"UnknownError": 0,
"DeviceBusy": 1
}
}
Property { name: "duration"; type: "int"; isReadonly: true }
Property { name: "state"; type: "State"; isReadonly: true }
Signal {
name: "error"
Parameter { type: "QFeedbackEffect::ErrorType" }
}
Signal { name: "stateChanged" }
Method { name: "start" }
Method { name: "stop" }
Method { name: "pause" }
}
Component {
name: "QFeedbackFileEffect"
prototype: "QFeedbackEffect"
Property { name: "loaded"; type: "bool" }
Property { name: "source"; type: "QUrl" }
}
Component {
name: "QFeedbackHapticsEffect"
prototype: "QFeedbackEffect"
Property { name: "duration"; type: "int" }
Property { name: "intensity"; type: "qreal" }
Property { name: "attackTime"; type: "int" }
Property { name: "attackIntensity"; type: "qreal" }
Property { name: "fadeTime"; type: "int" }
Property { name: "fadeIntensity"; type: "int" }
Property { name: "period"; type: "int" }
Property { name: "actuator"; type: "QFeedbackActuator"; isPointer: true }
}
}
......@@ -411,4 +411,14 @@ Module {
"QtMobility.gallery/GalleryWildcardFilter 1.1"
]
}
Component {
name: "QDeclarativePropertyMap"
prototype: "QObject"
Signal {
name: "valueChanged"
Parameter { name: "key"; type: "string" }
Parameter { name: "value"; type: "QVariant" }
}
Method { name: "keys"; type: "QStringList" }
}
}
......@@ -5,13 +5,33 @@ import QtQuick.tooling 1.0
Module {
Component {
name: "QValueSpaceSubscriber"
name: "QDeclarativeValueSpacePublisher"
prototype: "QObject"
exports: [
"QtMobility.publishsubscribe/ValueSpacePublisher 1.2"
]
Property { name: "path"; type: "string" }
Property { name: "hasSubscribers"; type: "bool"; isReadonly: true }
Property { name: "keys"; type: "QStringList" }
Property { name: "value"; type: "QVariant" }
Property { name: "server"; type: "bool" }
Signal { name: "subscribersChanged" }
}
Component {
name: "QDeclarativeValueSpaceSubscriber"
prototype: "QObject"
exports: [
"QtMobility.publishsubscribe/ValueSpaceSubscriber 1.1"
]
Property { name: "path"; type: "string" }
Property { name: "value"; type: "QVariant"; isReadonly: true }
Property { name: "connected"; type: "bool"; isReadonly: true }
Property { name: "subPaths"; type: "QStringList"; isReadonly: true }
Signal { name: "contentsChanged" }
Signal { name: "pathChanged" }
Method {
name: "setPath"
Parameter { name: "path"; type: "string" }
}
}
}
......@@ -8,14 +8,16 @@ Module {
name: "QAccelerometer"
prototype: "QSensor"
exports: [
"QtMobility.sensors/Accelerometer 1.1"
"QtMobility.sensors/Accelerometer 1.1",
"QtMobility.sensors/Accelerometer 1.2"
]
}
Component {
name: "QAccelerometerReading"
prototype: "QSensorReading"
exports: [
"QtMobility.sensors/AccelerometerReading 1.1"
"QtMobility.sensors/AccelerometerReading 1.1",
"QtMobility.sensors/AccelerometerReading 1.2"
]
Property { name: "x"; type: "qreal"; isReadonly: true }
Property { name: "y"; type: "qreal"; isReadonly: true }
......@@ -25,7 +27,8 @@ Module {
name: "QAmbientLightReading"
prototype: "QSensorReading"
exports: [
"QtMobility.sensors/AmbientLightReading 1.1"
"QtMobility.sensors/AmbientLightReading 1.1",
"QtMobility.sensors/AmbientLightReading 1.2"
]
Enum {
name: "LightLevel"
......@@ -44,37 +47,74 @@ Module {
name: "QAmbientLightSensor"
prototype: "QSensor"
exports: [
"QtMobility.sensors/AmbientLightSensor 1.1"
"QtMobility.sensors/AmbientLightSensor 1.1",
"QtMobility.sensors/AmbientLightSensor 1.2"
]
}
Component {
name: "QCompass"
prototype: "QSensor"
exports: [
"QtMobility.sensors/Compass 1.1"
"QtMobility.sensors/Compass 1.1",
"QtMobility.sensors/Compass 1.2"
]
}
Component {
name: "QCompassReading"
prototype: "QSensorReading"
exports: [
"QtMobility.sensors/CompassReading 1.1"
"QtMobility.sensors/CompassReading 1.1",
"QtMobility.sensors/CompassReading 1.2"
]
Property { name: "azimuth"; type: "qreal"; isReadonly: true }
Property { name: "calibrationLevel"; type: "qreal"; isReadonly: true }
}
Component {
name: "QGyroscope"
prototype: "QSensor"
exports: [
"QtMobility.sensors/Gyroscope 1.2"
]
}
Component {
name: "QGyroscopeReading"
prototype: "QSensorReading"
exports: [
"QtMobility.sensors/GyroscopeReading 1.2"
]
Property { name: "x"; type: "qreal"; isReadonly: true }
Property { name: "y"; type: "qreal"; isReadonly: true }
Property { name: "z"; type: "qreal"; isReadonly: true }
}
Component {
name: "QLightReading"
prototype: "QSensorReading"
exports: [
"QtMobility.sensors/LightReading 1.2"
]
Property { name: "lux"; type: "qreal"; isReadonly: true }
}
Component {
name: "QLightSensor"
prototype: "QSensor"
exports: [
"QtMobility.sensors/LightSensor 1.2"
]
}
Component {
name: "QMagnetometer"
prototype: "QSensor"
exports: [
"QtMobility.sensors/Magnetometer 1.1"
"QtMobility.sensors/Magnetometer 1.1",
"QtMobility.sensors/Magnetometer 1.2"
]
}
Component {
name: "QMagnetometerReading"
prototype: "QSensorReading"
exports: [
"QtMobility.sensors/MagnetometerReading 1.1"
"QtMobility.sensors/MagnetometerReading 1.1",
"QtMobility.sensors/MagnetometerReading 1.2"
]
Property { name: "x"; type: "qreal"; isReadonly: true }
Property { name: "y"; type: "qreal"; isReadonly: true }
......@@ -85,7 +125,8 @@ Module {
name: "QOrientationReading"
prototype: "QSensorReading"
exports: [
"QtMobility.sensors/OrientationReading 1.1"
"QtMobility.sensors/OrientationReading 1.1",
"QtMobility.sensors/OrientationReading 1.2"
]
Enum {
name: "Orientation"
......@@ -105,14 +146,16 @@ Module {
name: "QOrientationSensor"
prototype: "QSensor"
exports: [
"QtMobility.sensors/OrientationSensor 1.1"
"QtMobility.sensors/OrientationSensor 1.1",
"QtMobility.sensors/OrientationSensor 1.2"
]
}
Component {
name: "QProximityReading"
prototype: "QSensorReading"
exports: [
"QtMobility.sensors/ProximityReading 1.1"
"QtMobility.sensors/ProximityReading 1.1",
"QtMobility.sensors/ProximityReading 1.2"
]
Property { name: "close"; type: "bool"; isReadonly: true }
}
......@@ -120,14 +163,16 @@ Module {
name: "QProximitySensor"
prototype: "QSensor"
exports: [
"QtMobility.sensors/ProximitySensor 1.1"
"QtMobility.sensors/ProximitySensor 1.1",
"QtMobility.sensors/ProximitySensor 1.2"
]
}
Component {
name: "QRotationReading"
prototype: "QSensorReading"
exports: [
"QtMobility.sensors/RotationReading 1.1"
"QtMobility.sensors/RotationReading 1.1",
"QtMobility.sensors/RotationReading 1.2"
]
Property { name: "x"; type: "qreal"; isReadonly: true }
Property { name: "y"; type: "qreal"; isReadonly: true }
......@@ -137,7 +182,8 @@ Module {
name: "QRotationSensor"
prototype: "QSensor"
exports: [
"QtMobility.sensors/RotationSensor 1.1"
"QtMobility.sensors/RotationSensor 1.1",
"QtMobility.sensors/RotationSensor 1.2"
]
}
Component {
......@@ -162,6 +208,7 @@ Module {
name: "sensorError"
Parameter { name: "error"; type: "int" }
}
Signal { name: "availableSensorsChanged" }
Method { name: "start"; type: "bool" }
Method { name: "stop" }
Method { name: "connectToBackend"; type: "bool" }
......@@ -175,7 +222,8 @@ Module {
name: "QTapReading"
prototype: "QSensorReading"
exports: [
"QtMobility.sensors/TapReading 1.1"
"QtMobility.sensors/TapReading 1.1",
"QtMobility.sensors/TapReading 1.2"
]
Enum {
name: "TapDirection"
......@@ -189,7 +237,10 @@ Module {
"Z_Pos": 68,
"X_Neg": 257,
"Y_Neg": 514,
"Z_Neg": 1028
"Z_Neg": 1028,
"X_Both": 273,
"Y_Both": 546,
"Z_Both": 1092
}
}
Property { name: "tapDirection"; type: "TapDirection"; isReadonly: true }
......@@ -199,7 +250,8 @@ Module {
name: "QTapSensor"
prototype: "QSensor"
exports: [
"QtMobility.sensors/TapSensor 1.1"
"QtMobility.sensors/TapSensor 1.1",
"QtMobility.sensors/TapSensor 1.2"
]
}
}
......@@ -42,6 +42,7 @@ Module {
Property { name: "minorVersion"; type: "int" }
Property { name: "services"; type: "QDeclarativeService"; isList: true; isReadonly: true }
Property { name: "versionMatch"; type: "MatchRule" }
Signal { name: "resultsChanged" }
Signal {
name: "servicesChanged"
Parameter { type: "QDeclarativeService"; isList: true }
......
Markdown is supported
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