aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2018-04-27 11:16:59 +0200
committerDominik Holland <dominik.holland@pelagicore.com>2018-04-27 13:40:27 +0000
commit1b1b7b636b1c3a8988e6ed2c664b66d407d494ae (patch)
treead7adcc06343cac2a22c79c5cf39bf78e7bc5e0d
parent8d482b27c6c0c2b664104fd777ddee92652ab65c (diff)
Add qmltypes files for all QML plugins
Task-number: AUTOSUITE-292 Change-Id: I30b943dddd5fb25e9c93f2156be9f0f610b1d620 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
-rw-r--r--src/imports/core/core.pro1
-rw-r--r--src/imports/core/plugins.qmltypes265
-rw-r--r--src/imports/media/media.pro1
-rw-r--r--src/imports/media/plugins.qmltypes392
-rw-r--r--src/imports/vehiclefunctions/plugins.qmltypes301
-rw-r--r--src/imports/vehiclefunctions/vehiclefunctions.pro1
6 files changed, 961 insertions, 0 deletions
diff --git a/src/imports/core/core.pro b/src/imports/core/core.pro
index 796ef1e..24500f7 100644
--- a/src/imports/core/core.pro
+++ b/src/imports/core/core.pro
@@ -1,6 +1,7 @@
CXX_MODULE = qml
TARGET = qtivicoreplugin
TARGETPATH = QtIvi
+IMPORT_VERSION = 1.0
SOURCES += \
plugin.cpp
diff --git a/src/imports/core/plugins.qmltypes b/src/imports/core/plugins.qmltypes
new file mode 100644
index 0000000..6a5e33a
--- /dev/null
+++ b/src/imports/core/plugins.qmltypes
@@ -0,0 +1,265 @@
+import QtQuick.tooling 1.2
+
+// This file describes the plugin-supplied types contained in the library.
+// It is used for QML tooling purposes only.
+//
+// This file was auto-generated by:
+// 'qmlplugindump -nonrelocatable QtIvi 1.0'
+
+Module {
+ dependencies: ["QtQuick 2.8"]
+ Component {
+ name: "QIviAbstractFeature"
+ prototype: "QObject"
+ exports: ["QtIvi/AbstractFeature 1.0"]
+ isCreatable: false
+ exportMetaObjectRevisions: [0]
+ Enum {
+ name: "Error"
+ values: {
+ "NoError": 0,
+ "PermissionDenied": 1,
+ "InvalidOperation": 2,
+ "Timeout": 3,
+ "InvalidZone": 4,
+ "Unknown": 5
+ }
+ }
+ Enum {
+ name: "DiscoveryMode"
+ values: {
+ "NoAutoDiscovery": 0,
+ "AutoDiscovery": 1,
+ "LoadOnlyProductionBackends": 2,
+ "LoadOnlySimulationBackends": 3
+ }
+ }
+ Enum {
+ name: "DiscoveryResult"
+ values: {
+ "NoResult": 0,
+ "ErrorWhileLoading": 1,
+ "ProductionBackendLoaded": 2,
+ "SimulationBackendLoaded": 3
+ }
+ }
+ Property { name: "discoveryMode"; type: "QIviAbstractFeature::DiscoveryMode" }
+ Property {
+ name: "discoveryResult"
+ type: "QIviAbstractFeature::DiscoveryResult"
+ isReadonly: true
+ }
+ Property { name: "serviceObject"; type: "QIviServiceObject"; isPointer: true }
+ Property { name: "isValid"; type: "bool"; isReadonly: true }
+ Property { name: "isInitialized"; type: "bool"; isReadonly: true }
+ Property { name: "error"; type: "string"; isReadonly: true }
+ Signal {
+ name: "discoveryModeChanged"
+ Parameter { name: "discoveryMode"; type: "QIviAbstractFeature::DiscoveryMode" }
+ }
+ Signal {
+ name: "discoveryResultChanged"
+ Parameter { name: "discoveryResult"; type: "QIviAbstractFeature::DiscoveryResult" }
+ }
+ Signal {
+ name: "isValidChanged"
+ Parameter { name: "arg"; type: "bool" }
+ }
+ Signal {
+ name: "isInitializedChanged"
+ Parameter { name: "isInitialized"; type: "bool" }
+ }
+ Signal {
+ name: "errorChanged"
+ Parameter { name: "error"; type: "QIviAbstractFeature::Error" }
+ Parameter { name: "message"; type: "string" }
+ }
+ Method {
+ name: "setServiceObject"
+ type: "bool"
+ Parameter { name: "so"; type: "QIviServiceObject"; isPointer: true }
+ }
+ Method {
+ name: "setDiscoveryMode"
+ Parameter { name: "discoveryMode"; type: "QIviAbstractFeature::DiscoveryMode" }
+ }
+ Method { name: "startAutoDiscovery"; type: "QIviAbstractFeature::DiscoveryResult" }
+ }
+ Component {
+ name: "QIviAbstractFeatureListModel"
+ prototype: "QAbstractListModel"
+ Property { name: "discoveryMode"; type: "QIviAbstractFeature::DiscoveryMode" }
+ Property {
+ name: "discoveryResult"
+ type: "QIviAbstractFeature::DiscoveryResult"
+ isReadonly: true
+ }
+ Property { name: "serviceObject"; type: "QIviServiceObject"; isPointer: true }
+ Property { name: "isValid"; type: "bool"; isReadonly: true }
+ Property { name: "isInitialized"; type: "bool"; isReadonly: true }
+ Property { name: "error"; type: "string"; isReadonly: true }
+ Signal {
+ name: "discoveryModeChanged"
+ Parameter { name: "discoveryMode"; type: "QIviAbstractFeature::DiscoveryMode" }
+ }
+ Signal {
+ name: "discoveryResultChanged"
+ Parameter { name: "discoveryResult"; type: "QIviAbstractFeature::DiscoveryResult" }
+ }
+ Signal {
+ name: "isValidChanged"
+ Parameter { name: "arg"; type: "bool" }
+ }
+ Signal {
+ name: "isInitializedChanged"
+ Parameter { name: "isInitialized"; type: "bool" }
+ }
+ Signal {
+ name: "errorChanged"
+ Parameter { name: "error"; type: "QIviAbstractFeature::Error" }
+ Parameter { name: "message"; type: "string" }
+ }
+ Method {
+ name: "setServiceObject"
+ type: "bool"
+ Parameter { name: "so"; type: "QIviServiceObject"; isPointer: true }
+ }
+ Method {
+ name: "setDiscoveryMode"
+ Parameter { name: "discoveryMode"; type: "QIviAbstractFeature::DiscoveryMode" }
+ }
+ Method { name: "startAutoDiscovery"; type: "QIviAbstractFeature::DiscoveryResult" }
+ }
+ Component {
+ name: "QIviAbstractZonedFeature"
+ prototype: "QIviAbstractFeature"
+ exports: ["QtIvi/AbstractZonedFeature 1.0"]
+ isCreatable: false
+ exportMetaObjectRevisions: [0]
+ Property { name: "zone"; type: "string" }
+ Property { name: "availableZones"; type: "QStringList"; isReadonly: true }
+ Property { name: "zones"; type: "QVariantList"; isReadonly: true }
+ Property { name: "zoneAt"; type: "QVariantMap"; isReadonly: true }
+ Signal {
+ name: "availableZonesChanged"
+ Parameter { name: "zones"; type: "QStringList" }
+ }
+ }
+ Component {
+ name: "QIviSearchAndBrowseModel"
+ prototype: "QIviAbstractFeatureListModel"
+ exports: ["QtIvi/SearchAndBrowseModel 1.0"]
+ exportMetaObjectRevisions: [0]
+ Enum {
+ name: "NavigationType"
+ values: {
+ "InModelNavigation": 0,
+ "OutOfModelNavigation": 1
+ }
+ }
+ Enum {
+ name: "LoadingType"
+ values: {
+ "FetchMore": 0,
+ "DataChanged": 1
+ }
+ }
+ Enum {
+ name: "Capabilities"
+ values: {
+ "NoExtras": 0,
+ "SupportsFiltering": 1,
+ "SupportsSorting": 2,
+ "SupportsAndConjunction": 4,
+ "SupportsOrConjunction": 8,
+ "SupportsStatelessNavigation": 16,
+ "SupportsGetSize": 32,
+ "SupportsInsert": 64,
+ "SupportsMove": 128,
+ "SupportsRemove": 256
+ }
+ }
+ Property {
+ name: "capabilities"
+ type: "QIviSearchAndBrowseModel::Capabilities"
+ isReadonly: true
+ }
+ Property { name: "query"; type: "string" }
+ Property { name: "contentType"; type: "string" }
+ Property { name: "availableContentTypes"; type: "QStringList"; isReadonly: true }
+ Property { name: "chunkSize"; type: "int" }
+ Property { name: "fetchMoreThreshold"; type: "int" }
+ Property { name: "count"; type: "int"; isReadonly: true }
+ Property { name: "canGoBack"; type: "bool"; isReadonly: true }
+ Property { name: "loadingType"; type: "QIviSearchAndBrowseModel::LoadingType" }
+ Signal {
+ name: "capabilitiesChanged"
+ Parameter { name: "capabilities"; type: "QIviSearchAndBrowseModel::Capabilities" }
+ }
+ Signal {
+ name: "queryChanged"
+ Parameter { name: "query"; type: "string" }
+ }
+ Signal {
+ name: "chunkSizeChanged"
+ Parameter { name: "chunkSize"; type: "int" }
+ }
+ Signal {
+ name: "fetchMoreThresholdChanged"
+ Parameter { name: "fetchMoreThreshold"; type: "int" }
+ }
+ Signal { name: "fetchMoreThresholdReached" }
+ Signal {
+ name: "contentTypeChanged"
+ Parameter { name: "contentType"; type: "string" }
+ }
+ Signal {
+ name: "availableContentTypesChanged"
+ Parameter { name: "availableContentTypes"; type: "QStringList" }
+ }
+ Signal {
+ name: "canGoBackChanged"
+ Parameter { name: "canGoBack"; type: "bool" }
+ }
+ Signal {
+ name: "loadingTypeChanged"
+ Parameter { name: "loadingType"; type: "QIviSearchAndBrowseModel::LoadingType" }
+ }
+ Method {
+ name: "get"
+ type: "QVariant"
+ Parameter { name: "index"; type: "int" }
+ }
+ Method { name: "goBack" }
+ Method {
+ name: "canGoForward"
+ type: "bool"
+ Parameter { name: "index"; type: "int" }
+ }
+ Method {
+ name: "goForward"
+ type: "QIviSearchAndBrowseModel*"
+ Parameter { name: "index"; type: "int" }
+ Parameter { name: "navigationType"; type: "QIviSearchAndBrowseModel::NavigationType" }
+ }
+ Method {
+ name: "insert"
+ Parameter { name: "index"; type: "int" }
+ Parameter { name: "variant"; type: "QVariant" }
+ }
+ Method {
+ name: "remove"
+ Parameter { name: "index"; type: "int" }
+ }
+ Method {
+ name: "move"
+ Parameter { name: "cur_index"; type: "int" }
+ Parameter { name: "new_index"; type: "int" }
+ }
+ Method {
+ name: "indexOf"
+ Parameter { name: "variant"; type: "QVariant" }
+ Parameter { name: "functor"; type: "QJSValue" }
+ }
+ }
+}
diff --git a/src/imports/media/media.pro b/src/imports/media/media.pro
index b50d282..556a60c 100644
--- a/src/imports/media/media.pro
+++ b/src/imports/media/media.pro
@@ -1,6 +1,7 @@
CXX_MODULE = qml
TARGET = qtivimediaplugin
TARGETPATH = QtIvi/Media
+IMPORT_VERSION = 1.0
SOURCES += \
plugin.cpp
diff --git a/src/imports/media/plugins.qmltypes b/src/imports/media/plugins.qmltypes
new file mode 100644
index 0000000..72a2da3
--- /dev/null
+++ b/src/imports/media/plugins.qmltypes
@@ -0,0 +1,392 @@
+import QtQuick.tooling 1.2
+
+// This file describes the plugin-supplied types contained in the library.
+// It is used for QML tooling purposes only.
+//
+// This file was auto-generated by:
+// 'qmlplugindump -nonrelocatable QtIvi.Media 1.0'
+
+Module {
+ dependencies: ["QtQuick 2.8"]
+ Component {
+ name: "QIviAbstractFeature"
+ prototype: "QObject"
+ Enum {
+ name: "Error"
+ values: {
+ "NoError": 0,
+ "PermissionDenied": 1,
+ "InvalidOperation": 2,
+ "Timeout": 3,
+ "InvalidZone": 4,
+ "Unknown": 5
+ }
+ }
+ Enum {
+ name: "DiscoveryMode"
+ values: {
+ "NoAutoDiscovery": 0,
+ "AutoDiscovery": 1,
+ "LoadOnlyProductionBackends": 2,
+ "LoadOnlySimulationBackends": 3
+ }
+ }
+ Enum {
+ name: "DiscoveryResult"
+ values: {
+ "NoResult": 0,
+ "ErrorWhileLoading": 1,
+ "ProductionBackendLoaded": 2,
+ "SimulationBackendLoaded": 3
+ }
+ }
+ Property { name: "discoveryMode"; type: "QIviAbstractFeature::DiscoveryMode" }
+ Property {
+ name: "discoveryResult"
+ type: "QIviAbstractFeature::DiscoveryResult"
+ isReadonly: true
+ }
+ Property { name: "serviceObject"; type: "QIviServiceObject"; isPointer: true }
+ Property { name: "isValid"; type: "bool"; isReadonly: true }
+ Property { name: "isInitialized"; type: "bool"; isReadonly: true }
+ Property { name: "error"; type: "string"; isReadonly: true }
+ Signal {
+ name: "discoveryModeChanged"
+ Parameter { name: "discoveryMode"; type: "QIviAbstractFeature::DiscoveryMode" }
+ }
+ Signal {
+ name: "discoveryResultChanged"
+ Parameter { name: "discoveryResult"; type: "QIviAbstractFeature::DiscoveryResult" }
+ }
+ Signal {
+ name: "isValidChanged"
+ Parameter { name: "arg"; type: "bool" }
+ }
+ Signal {
+ name: "isInitializedChanged"
+ Parameter { name: "isInitialized"; type: "bool" }
+ }
+ Signal {
+ name: "errorChanged"
+ Parameter { name: "error"; type: "QIviAbstractFeature::Error" }
+ Parameter { name: "message"; type: "string" }
+ }
+ Method {
+ name: "setServiceObject"
+ type: "bool"
+ Parameter { name: "so"; type: "QIviServiceObject"; isPointer: true }
+ }
+ Method {
+ name: "setDiscoveryMode"
+ Parameter { name: "discoveryMode"; type: "QIviAbstractFeature::DiscoveryMode" }
+ }
+ Method { name: "startAutoDiscovery"; type: "QIviAbstractFeature::DiscoveryResult" }
+ }
+ Component {
+ name: "QIviAbstractFeatureListModel"
+ prototype: "QAbstractListModel"
+ Property { name: "discoveryMode"; type: "QIviAbstractFeature::DiscoveryMode" }
+ Property {
+ name: "discoveryResult"
+ type: "QIviAbstractFeature::DiscoveryResult"
+ isReadonly: true
+ }
+ Property { name: "serviceObject"; type: "QIviServiceObject"; isPointer: true }
+ Property { name: "isValid"; type: "bool"; isReadonly: true }
+ Property { name: "isInitialized"; type: "bool"; isReadonly: true }
+ Property { name: "error"; type: "string"; isReadonly: true }
+ Signal {
+ name: "discoveryModeChanged"
+ Parameter { name: "discoveryMode"; type: "QIviAbstractFeature::DiscoveryMode" }
+ }
+ Signal {
+ name: "discoveryResultChanged"
+ Parameter { name: "discoveryResult"; type: "QIviAbstractFeature::DiscoveryResult" }
+ }
+ Signal {
+ name: "isValidChanged"
+ Parameter { name: "arg"; type: "bool" }
+ }
+ Signal {
+ name: "isInitializedChanged"
+ Parameter { name: "isInitialized"; type: "bool" }
+ }
+ Signal {
+ name: "errorChanged"
+ Parameter { name: "error"; type: "QIviAbstractFeature::Error" }
+ Parameter { name: "message"; type: "string" }
+ }
+ Method {
+ name: "setServiceObject"
+ type: "bool"
+ Parameter { name: "so"; type: "QIviServiceObject"; isPointer: true }
+ }
+ Method {
+ name: "setDiscoveryMode"
+ Parameter { name: "discoveryMode"; type: "QIviAbstractFeature::DiscoveryMode" }
+ }
+ Method { name: "startAutoDiscovery"; type: "QIviAbstractFeature::DiscoveryResult" }
+ }
+ Component {
+ name: "QIviAmFmTuner"
+ prototype: "QIviAbstractFeature"
+ exports: ["QtIvi.Media/AmFmTuner 1.0"]
+ exportMetaObjectRevisions: [0]
+ Enum {
+ name: "Band"
+ values: {
+ "AMBand": 0,
+ "FMBand": 1
+ }
+ }
+ Property { name: "frequency"; type: "int" }
+ Property { name: "minimumFrequency"; type: "int"; isReadonly: true }
+ Property { name: "maximumFrequency"; type: "int"; isReadonly: true }
+ Property { name: "stepSize"; type: "int"; isReadonly: true }
+ Property { name: "band"; type: "QIviAmFmTuner::Band" }
+ Property { name: "station"; type: "QIviAmFmTunerStation"; isReadonly: true }
+ Property { name: "scanRunning"; type: "bool"; isReadonly: true }
+ Signal {
+ name: "frequencyChanged"
+ Parameter { name: "frequency"; type: "int" }
+ }
+ Signal {
+ name: "minimumFrequencyChanged"
+ Parameter { name: "minimumFrequency"; type: "int" }
+ }
+ Signal {
+ name: "maximumFrequencyChanged"
+ Parameter { name: "maximumFrequency"; type: "int" }
+ }
+ Signal {
+ name: "stepSizeChanged"
+ Parameter { name: "stepSize"; type: "int" }
+ }
+ Signal {
+ name: "bandChanged"
+ Parameter { name: "band"; type: "QIviAmFmTuner::Band" }
+ }
+ Signal {
+ name: "stationChanged"
+ Parameter { name: "station"; type: "QIviAmFmTunerStation" }
+ }
+ Signal {
+ name: "scanRunningChanged"
+ Parameter { name: "scanRunning"; type: "bool" }
+ }
+ Signal { name: "scanStarted" }
+ Signal { name: "scanStopped" }
+ Method {
+ name: "setFrequency"
+ Parameter { name: "frequency"; type: "int" }
+ }
+ Method {
+ name: "setBand"
+ Parameter { name: "band"; type: "QIviAmFmTuner::Band" }
+ }
+ Method { name: "stepUp" }
+ Method { name: "stepDown" }
+ Method { name: "seekUp" }
+ Method { name: "seekDown" }
+ Method { name: "startScan" }
+ Method { name: "stopScan" }
+ Method {
+ name: "tune"
+ Parameter { name: "station"; type: "QIviAmFmTunerStation" }
+ }
+ }
+ Component {
+ name: "QIviMediaDevice"
+ prototype: "QIviServiceObject"
+ exports: ["QtIvi.Media/MediaDevice 1.0"]
+ isCreatable: false
+ exportMetaObjectRevisions: [0]
+ Property { name: "type"; type: "string"; isReadonly: true }
+ Property { name: "name"; type: "string"; isReadonly: true }
+ Signal {
+ name: "nameChanged"
+ Parameter { name: "name"; type: "string" }
+ }
+ }
+ Component {
+ name: "QIviMediaDeviceDiscoveryModel"
+ prototype: "QIviAbstractFeatureListModel"
+ exports: ["QtIvi.Media/MediaDeviceDiscoveryModel 1.0"]
+ exportMetaObjectRevisions: [0]
+ Property { name: "count"; type: "int"; isReadonly: true }
+ Signal {
+ name: "deviceAdded"
+ Parameter { name: "device"; type: "QIviMediaDevice"; isPointer: true }
+ }
+ Signal {
+ name: "deviceRemoved"
+ Parameter { name: "device"; type: "QIviMediaDevice"; isPointer: true }
+ }
+ Method {
+ name: "get"
+ type: "QIviMediaDevice*"
+ Parameter { name: "i"; type: "int" }
+ }
+ }
+ Component {
+ name: "QIviMediaIndexerControl"
+ prototype: "QIviAbstractFeature"
+ exports: ["QtIvi.Media/MediaIndexerControl 1.0"]
+ exportMetaObjectRevisions: [0]
+ Enum {
+ name: "State"
+ values: {
+ "Idle": 0,
+ "Active": 1,
+ "Paused": 2,
+ "Error": 3
+ }
+ }
+ Property { name: "progress"; type: "double"; isReadonly: true }
+ Property { name: "state"; type: "QIviMediaIndexerControl::State"; isReadonly: true }
+ Signal {
+ name: "progressChanged"
+ Parameter { name: "progress"; type: "double" }
+ }
+ Signal {
+ name: "stateChanged"
+ Parameter { name: "state"; type: "QIviMediaIndexerControl::State" }
+ }
+ Method { name: "pause" }
+ Method { name: "resume" }
+ }
+ Component {
+ name: "QIviMediaPlayer"
+ prototype: "QIviAbstractFeature"
+ exports: ["QtIvi.Media/MediaPlayer 1.0"]
+ exportMetaObjectRevisions: [0]
+ Enum {
+ name: "PlayMode"
+ values: {
+ "Normal": 0,
+ "RepeatTrack": 1,
+ "RepeatAll": 2,
+ "Shuffle": 3
+ }
+ }
+ Enum {
+ name: "PlayState"
+ values: {
+ "Playing": 0,
+ "Paused": 1,
+ "Stopped": 2
+ }
+ }
+ Property { name: "playQueue"; type: "QIviPlayQueue"; isReadonly: true; isPointer: true }
+ Property { name: "playMode"; type: "QIviMediaPlayer::PlayMode" }
+ Property { name: "playState"; type: "QIviMediaPlayer::PlayState"; isReadonly: true }
+ Property { name: "currentTrack"; type: "QVariant"; isReadonly: true }
+ Property { name: "position"; type: "qlonglong" }
+ Property { name: "duration"; type: "qlonglong"; isReadonly: true }
+ Signal {
+ name: "playModeChanged"
+ Parameter { name: "playMode"; type: "QIviMediaPlayer::PlayMode" }
+ }
+ Signal {
+ name: "playStateChanged"
+ Parameter { name: "playState"; type: "QIviMediaPlayer::PlayState" }
+ }
+ Signal {
+ name: "currentTrackChanged"
+ Parameter { name: "currentTrack"; type: "QVariant" }
+ }
+ Signal {
+ name: "positionChanged"
+ Parameter { name: "position"; type: "qlonglong" }
+ }
+ Signal {
+ name: "durationChanged"
+ Parameter { name: "duration"; type: "qlonglong" }
+ }
+ Method {
+ name: "setPlayMode"
+ Parameter { name: "playMode"; type: "QIviMediaPlayer::PlayMode" }
+ }
+ Method {
+ name: "setPosition"
+ Parameter { name: "position"; type: "qlonglong" }
+ }
+ Method { name: "play" }
+ Method { name: "pause" }
+ Method { name: "stop" }
+ Method {
+ name: "seek"
+ Parameter { name: "offset"; type: "qlonglong" }
+ }
+ Method { name: "next" }
+ Method { name: "previous" }
+ }
+ Component {
+ name: "QIviMediaUsbDevice"
+ prototype: "QIviMediaDevice"
+ exports: ["QtIvi.Media/MediaUsbDevice 1.0"]
+ isCreatable: false
+ exportMetaObjectRevisions: [0]
+ Method { name: "eject" }
+ }
+ Component {
+ name: "QIviPlayQueue"
+ prototype: "QAbstractListModel"
+ exports: ["QtIvi.Media/PlayQueue 1.0"]
+ isCreatable: false
+ exportMetaObjectRevisions: [0]
+ Enum {
+ name: "LoadingType"
+ values: {
+ "FetchMore": 0,
+ "DataChanged": 1
+ }
+ }
+ Property { name: "currentIndex"; type: "int" }
+ Property { name: "chunkSize"; type: "int" }
+ Property { name: "fetchMoreThreshold"; type: "int" }
+ Property { name: "count"; type: "int"; isReadonly: true }
+ Property { name: "loadingType"; type: "QIviPlayQueue::LoadingType" }
+ Signal {
+ name: "chunkSizeChanged"
+ Parameter { name: "chunkSize"; type: "int" }
+ }
+ Signal {
+ name: "fetchMoreThresholdChanged"
+ Parameter { name: "fetchMoreThreshold"; type: "int" }
+ }
+ Signal { name: "fetchMoreThresholdReached" }
+ Signal {
+ name: "loadingTypeChanged"
+ Parameter { name: "loadingType"; type: "QIviPlayQueue::LoadingType" }
+ }
+ Signal {
+ name: "currentIndexChanged"
+ Parameter { name: "currentIndex"; type: "int" }
+ }
+ Method {
+ name: "get"
+ type: "QVariant"
+ Parameter { name: "index"; type: "int" }
+ }
+ Method {
+ name: "insert"
+ Parameter { name: "index"; type: "int" }
+ Parameter { name: "variant"; type: "QVariant" }
+ }
+ Method {
+ name: "remove"
+ Parameter { name: "index"; type: "int" }
+ }
+ Method {
+ name: "move"
+ Parameter { name: "cur_index"; type: "int" }
+ Parameter { name: "new_index"; type: "int" }
+ }
+ }
+ Component {
+ name: "QIviServiceObject"
+ prototype: "QObject"
+ Property { name: "id"; type: "string"; isReadonly: true }
+ }
+}
diff --git a/src/imports/vehiclefunctions/plugins.qmltypes b/src/imports/vehiclefunctions/plugins.qmltypes
new file mode 100644
index 0000000..42dca19
--- /dev/null
+++ b/src/imports/vehiclefunctions/plugins.qmltypes
@@ -0,0 +1,301 @@
+import QtQuick.tooling 1.2
+
+// This file describes the plugin-supplied types contained in the library.
+// It is used for QML tooling purposes only.
+//
+// This file was auto-generated by:
+// 'qmlplugindump -nonrelocatable QtIvi.VehicleFunctions 1.0'
+
+Module {
+ dependencies: ["QtQuick 2.8"]
+ Component {
+ name: "QIviAbstractFeature"
+ prototype: "QObject"
+ Enum {
+ name: "Error"
+ values: {
+ "NoError": 0,
+ "PermissionDenied": 1,
+ "InvalidOperation": 2,
+ "Timeout": 3,
+ "InvalidZone": 4,
+ "Unknown": 5
+ }
+ }
+ Enum {
+ name: "DiscoveryMode"
+ values: {
+ "NoAutoDiscovery": 0,
+ "AutoDiscovery": 1,
+ "LoadOnlyProductionBackends": 2,
+ "LoadOnlySimulationBackends": 3
+ }
+ }
+ Enum {
+ name: "DiscoveryResult"
+ values: {
+ "NoResult": 0,
+ "ErrorWhileLoading": 1,
+ "ProductionBackendLoaded": 2,
+ "SimulationBackendLoaded": 3
+ }
+ }
+ Property { name: "discoveryMode"; type: "QIviAbstractFeature::DiscoveryMode" }
+ Property {
+ name: "discoveryResult"
+ type: "QIviAbstractFeature::DiscoveryResult"
+ isReadonly: true
+ }
+ Property { name: "serviceObject"; type: "QIviServiceObject"; isPointer: true }
+ Property { name: "isValid"; type: "bool"; isReadonly: true }
+ Property { name: "isInitialized"; type: "bool"; isReadonly: true }
+ Property { name: "error"; type: "string"; isReadonly: true }
+ Signal {
+ name: "discoveryModeChanged"
+ Parameter { name: "discoveryMode"; type: "QIviAbstractFeature::DiscoveryMode" }
+ }
+ Signal {
+ name: "discoveryResultChanged"
+ Parameter { name: "discoveryResult"; type: "QIviAbstractFeature::DiscoveryResult" }
+ }
+ Signal {
+ name: "isValidChanged"
+ Parameter { name: "arg"; type: "bool" }
+ }
+ Signal {
+ name: "isInitializedChanged"
+ Parameter { name: "isInitialized"; type: "bool" }
+ }
+ Signal {
+ name: "errorChanged"
+ Parameter { name: "error"; type: "QIviAbstractFeature::Error" }
+ Parameter { name: "message"; type: "string" }
+ }
+ Method {
+ name: "setServiceObject"
+ type: "bool"
+ Parameter { name: "so"; type: "QIviServiceObject"; isPointer: true }
+ }
+ Method {
+ name: "setDiscoveryMode"
+ Parameter { name: "discoveryMode"; type: "QIviAbstractFeature::DiscoveryMode" }
+ }
+ Method { name: "startAutoDiscovery"; type: "QIviAbstractFeature::DiscoveryResult" }
+ }
+ Component {
+ name: "QIviAbstractZonedFeature"
+ prototype: "QIviAbstractFeature"
+ Property { name: "zone"; type: "string" }
+ Property { name: "availableZones"; type: "QStringList"; isReadonly: true }
+ Property { name: "zones"; type: "QVariantList"; isReadonly: true }
+ Property { name: "zoneAt"; type: "QVariantMap"; isReadonly: true }
+ Signal {
+ name: "availableZonesChanged"
+ Parameter { name: "zones"; type: "QStringList" }
+ }
+ }
+ Component {
+ name: "QIviClimateControl"
+ prototype: "QIviAbstractZonedFeature"
+ exports: ["QtIvi.VehicleFunctions/ClimateControl 1.0"]
+ exportMetaObjectRevisions: [0]
+ Property { name: "airConditioningEnabled"; type: "bool" }
+ Property { name: "heaterEnabled"; type: "bool" }
+ Property { name: "fanSpeedLevel"; type: "int" }
+ Property { name: "steeringWheelHeater"; type: "int" }
+ Property { name: "targetTemperature"; type: "double" }
+ Property { name: "seatCooler"; type: "int" }
+ Property { name: "seatHeater"; type: "int" }
+ Property { name: "outsideTemperature"; type: "int" }
+ Property { name: "outsideTemperatureLabel"; type: "string" }
+ Property { name: "zoneSynchronizationEnabled"; type: "bool" }
+ Property { name: "defrostEnabled"; type: "bool" }
+ Property { name: "recirculationMode"; type: "QtIviVehicleFunctionsModule::RecirculationMode" }
+ Property { name: "recirculationEnabled"; type: "bool" }
+ Property { name: "recirculationSensitivityLevel"; type: "int" }
+ Property { name: "climateMode"; type: "QtIviVehicleFunctionsModule::ClimateMode" }
+ Property { name: "automaticClimateFanIntensityLevel"; type: "int" }
+ Property { name: "airflowDirections"; type: "QtIviVehicleFunctionsModule::AirflowDirections" }
+ Signal {
+ name: "airConditioningEnabledChanged"
+ Parameter { name: "airConditioningEnabled"; type: "bool" }
+ }
+ Signal {
+ name: "heaterEnabledChanged"
+ Parameter { name: "heaterEnabled"; type: "bool" }
+ }
+ Signal {
+ name: "fanSpeedLevelChanged"
+ Parameter { name: "fanSpeedLevel"; type: "int" }
+ }
+ Signal {
+ name: "steeringWheelHeaterChanged"
+ Parameter { name: "steeringWheelHeater"; type: "int" }
+ }
+ Signal {
+ name: "targetTemperatureChanged"
+ Parameter { name: "targetTemperature"; type: "double" }
+ }
+ Signal {
+ name: "seatCoolerChanged"
+ Parameter { name: "seatCooler"; type: "int" }
+ }
+ Signal {
+ name: "seatHeaterChanged"
+ Parameter { name: "seatHeater"; type: "int" }
+ }
+ Signal {
+ name: "outsideTemperatureChanged"
+ Parameter { name: "outsideTemperature"; type: "int" }
+ }
+ Signal {
+ name: "outsideTemperatureLabelChanged"
+ Parameter { name: "outsideTemperatureLabel"; type: "string" }
+ }
+ Signal {
+ name: "zoneSynchronizationEnabledChanged"
+ Parameter { name: "zoneSynchronizationEnabled"; type: "bool" }
+ }
+ Signal {
+ name: "defrostEnabledChanged"
+ Parameter { name: "defrostEnabled"; type: "bool" }
+ }
+ Signal {
+ name: "recirculationModeChanged"
+ Parameter { name: "recirculationMode"; type: "QtIviVehicleFunctionsModule::RecirculationMode" }
+ }
+ Signal {
+ name: "recirculationEnabledChanged"
+ Parameter { name: "recirculationEnabled"; type: "bool" }
+ }
+ Signal {
+ name: "recirculationSensitivityLevelChanged"
+ Parameter { name: "recirculationSensitivityLevel"; type: "int" }
+ }
+ Signal {
+ name: "climateModeChanged"
+ Parameter { name: "climateMode"; type: "QtIviVehicleFunctionsModule::ClimateMode" }
+ }
+ Signal {
+ name: "automaticClimateFanIntensityLevelChanged"
+ Parameter { name: "automaticClimateFanIntensityLevel"; type: "int" }
+ }
+ Signal {
+ name: "airflowDirectionsChanged"
+ Parameter { name: "airflowDirections"; type: "QtIviVehicleFunctionsModule::AirflowDirections" }
+ }
+ Method {
+ name: "setAirConditioningEnabled"
+ Parameter { name: "airConditioningEnabled"; type: "bool" }
+ }
+ Method {
+ name: "setHeaterEnabled"
+ Parameter { name: "heaterEnabled"; type: "bool" }
+ }
+ Method {
+ name: "setFanSpeedLevel"
+ Parameter { name: "fanSpeedLevel"; type: "int" }
+ }
+ Method {
+ name: "setSteeringWheelHeater"
+ Parameter { name: "steeringWheelHeater"; type: "int" }
+ }
+ Method {
+ name: "setTargetTemperature"
+ Parameter { name: "targetTemperature"; type: "double" }
+ }
+ Method {
+ name: "setSeatCooler"
+ Parameter { name: "seatCooler"; type: "int" }
+ }
+ Method {
+ name: "setSeatHeater"
+ Parameter { name: "seatHeater"; type: "int" }
+ }
+ Method {
+ name: "setOutsideTemperature"
+ Parameter { name: "outsideTemperature"; type: "int" }
+ }
+ Method {
+ name: "setOutsideTemperatureLabel"
+ Parameter { name: "outsideTemperatureLabel"; type: "string" }
+ }
+ Method {
+ name: "setZoneSynchronizationEnabled"
+ Parameter { name: "zoneSynchronizationEnabled"; type: "bool" }
+ }
+ Method {
+ name: "setDefrostEnabled"
+ Parameter { name: "defrostEnabled"; type: "bool" }
+ }
+ Method {
+ name: "setRecirculationMode"
+ Parameter { name: "recirculationMode"; type: "QtIviVehicleFunctionsModule::RecirculationMode" }
+ }
+ Method {
+ name: "setRecirculationEnabled"
+ Parameter { name: "recirculationEnabled"; type: "bool" }
+ }
+ Method {
+ name: "setRecirculationSensitivityLevel"
+ Parameter { name: "recirculationSensitivityLevel"; type: "int" }
+ }
+ Method {
+ name: "setClimateMode"
+ Parameter { name: "climateMode"; type: "QtIviVehicleFunctionsModule::ClimateMode" }
+ }
+ Method {
+ name: "setAutomaticClimateFanIntensityLevel"
+ Parameter { name: "automaticClimateFanIntensityLevel"; type: "int" }
+ }
+ Method {
+ name: "setAirflowDirections"
+ Parameter { name: "airflowDirections"; type: "QtIviVehicleFunctionsModule::AirflowDirections" }
+ }
+ }
+ Component {
+ name: "QIviWindowControl"
+ prototype: "QIviAbstractZonedFeature"
+ exports: ["QtIvi.VehicleFunctions/WindowControl 1.0"]
+ exportMetaObjectRevisions: [0]
+ Property { name: "heaterMode"; type: "QtIviVehicleFunctionsModule::HeaterMode" }
+ Property { name: "heater"; type: "bool"; isReadonly: true }
+ Property { name: "state"; type: "QtIviVehicleFunctionsModule::WindowState"; isReadonly: true }
+ Property { name: "blindMode"; type: "QtIviVehicleFunctionsModule::BlindMode" }
+ Property {
+ name: "blindState"
+ type: "QtIviVehicleFunctionsModule::WindowState"
+ isReadonly: true
+ }
+ Signal {
+ name: "heaterModeChanged"
+ Parameter { name: "heaterMode"; type: "QtIviVehicleFunctionsModule::HeaterMode" }
+ }
+ Signal {
+ name: "heaterChanged"
+ Parameter { name: "heater"; type: "bool" }
+ }
+ Signal {
+ name: "stateChanged"
+ Parameter { name: "state"; type: "QtIviVehicleFunctionsModule::WindowState" }
+ }
+ Signal {
+ name: "blindModeChanged"
+ Parameter { name: "blindMode"; type: "QtIviVehicleFunctionsModule::BlindMode" }
+ }
+ Signal {
+ name: "blindStateChanged"
+ Parameter { name: "blindState"; type: "QtIviVehicleFunctionsModule::WindowState" }
+ }
+ Method { name: "open" }
+ Method { name: "close" }
+ Method {
+ name: "setHeaterMode"
+ Parameter { name: "heaterMode"; type: "QtIviVehicleFunctionsModule::HeaterMode" }
+ }
+ Method {
+ name: "setBlindMode"
+ Parameter { name: "blindMode"; type: "QtIviVehicleFunctionsModule::BlindMode" }
+ }
+ }
+}
diff --git a/src/imports/vehiclefunctions/vehiclefunctions.pro b/src/imports/vehiclefunctions/vehiclefunctions.pro
index 0224a4d..5ba0a45 100644
--- a/src/imports/vehiclefunctions/vehiclefunctions.pro
+++ b/src/imports/vehiclefunctions/vehiclefunctions.pro
@@ -1,6 +1,7 @@
CXX_MODULE = qml
TARGET = qtivivehiclefunctionsplugin
TARGETPATH = QtIvi/VehicleFunctions
+IMPORT_VERSION = 1.0
SOURCES += \
plugin.cpp