Commit 2ec429e8 authored by Christian Kamm's avatar Christian Kamm
Browse files

QmlJS: Switch to new format for QML meta data.

parent dd1de1b8
<?xml version="1.0" encoding="UTF-8"?>
<module>
<type name="QmlProject.Project">
<exports>
<export module="QmlProject" version="1.0" type="Project"/>
<export module="QmlProject" version="1.1" type="Project"/>
</exports>
<property name="sourceDirectory" type="string"/>
<property name="mainFile" type="string"/>
<property name="importPaths" type="string" isList="true"/>
<property name="content" type="QmlProjectItem" isList="true"/>
</type>
<type name="QmlProjectItem">
</type>
<type name="FileFilterBaseItem" extends="QmlProjectItem">
<property name="directory" type="string"/>
<property name="recursive" type="bool"/>
<property name="paths" type="string" isList="true"/>
<property name="files" type="string" isList="true"/>
</type>
<type name="QmlProject.QmlFiles" extends="FileFilterBaseItem">
<exports>
<export module="QmlProject" version="1.0" type="QmlFiles"/>
<export module="QmlProject" version="1.1" type="QmlFiles"/>
</exports>
</type>
<type name="QmlProject.JavaScriptFiles" extends="FileFilterBaseItem">
<exports>
<export module="QmlProject" version="1.0" type="JavaScriptFiles"/>
<export module="QmlProject" version="1.1" type="JavaScriptFiles"/>
</exports>
<property name="filter" type="string"/>
</type>
<type name="QmlProject.ImageFiles" extends="FileFilterBaseItem">
<exports>
<export module="QmlProject" version="1.0" type="ImageFiles"/>
<export module="QmlProject" version="1.1" type="ImageFiles"/>
</exports>
<property name="filter" type="string"/>
</type>
<type name="QmlProject.CssFiles" extends="FileFilterBaseItem">
<exports>
<export module="QmlProject" version="1.0" type="CssFiles"/>
<export module="QmlProject" version="1.1" type="CssFiles"/>
</exports>
<property name="filter" type="string"/>
</type>
<type name="QmlProject.Files" extends="FileFilterBaseItem">
<exports>
<export module="QmlProject" version="1.1" type="Files"/>
</exports>
<property name="filter" type="string"/>
</type>
</module>
import QtQuick.tooling 1.0
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
Module {
Component {
name: "QmlProject.Project"
exports: [
"QmlProject/Project 1.0",
"QmlProject/Project 1.1"
]
Property { name: "sourceDirectory"; type: "string" }
Property { name: "mainFile"; type: "string" }
Property { name: "importPaths"; type: "string"; isList: true }
Property { name: "content"; type: "QmlProjectItem"; isList: true }
}
Component {
name: "QmlProjectItem"
}
Component {
name: "FileFilterBaseItem"
prototype: "QmlProjectItem"
Property { name: "directory"; type: "string" }
Property { name: "recursive"; type: "string" }
Property { name: "paths"; type: "string"; isList: true }
Property { name: "files"; type: "string"; isList: true }
}
Component {
name: "QmlProject.QmlFiles"
prototype: "FileFilterBaseItem"
exports: [
"QmlProject/QmlFiles 1.0",
"QmlProject/QmlFiles 1.1"
]
}
Component {
name: "QmlProject.JavaScriptFiles"
prototype: "FileFilterBaseItem"
exports: [
"QmlProject/JavaScriptFiles 1.0",
"QmlProject/JavaScriptFiles 1.1"
]
Property { name: "filter"; type: "string" }
}
Component {
name: "QmlProject.ImageFiles"
prototype: "FileFilterBaseItem"
exports: [
"QmlProject/ImageFiles 1.0",
"QmlProject/ImageFiles 1.1"
]
Property { name: "filter"; type: "string" }
}
Component {
name: "QmlProject.CssFiles"
prototype: "FileFilterBaseItem"
exports: [
"QmlProject/CssFiles 1.0",
"QmlProject/CssFiles 1.1"
]
Property { name: "filter"; type: "string" }
}
Component {
name: "QmlProject.Files"
prototype: "FileFilterBaseItem"
exports: [
"QmlProject/Files 1.1"
]
Property { name: "filter"; type: "string" }
}
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module>
<type name="QDeclarativeViewer.Screen">
<exports>
<export module="QDeclarativeViewer" version="1.0" type="Screen"/>
</exports>
<enum name="Orientation">
<enumerator name="UnknownOrientation" value="0"/>
<enumerator name="Portrait" value="1"/>
<enumerator name="Landscape" value="2"/>
</enum>
<property name="orientation" type="Orientation"/>
</type>
</module>
import QtQuick.tooling 1.0
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
Module {
Component {
name: "QDeclarativeViewer.Screen"
exports: [
"QDeclarativeViewer/Screen 1.0"
]
Enum {
name: "Orientation"
values: {
"UnknownOrientation": 0,
"Portrait": 1,
"Landscape": 2
}
}
Property { name: "orientation"; type: "Orientation" }
}
}
\ No newline at end of file
import QtQuick.tooling 1.0
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
Module {
Component {
name: "QAbstractItemModel"
prototype: "QObject"
Signal {
name: "dataChanged"
Parameter { name: "topLeft"; type: "QModelIndex" }
Parameter { name: "bottomRight"; type: "QModelIndex" }
}
Signal {
name: "headerDataChanged"
Parameter { name: "orientation"; type: "Qt::Orientation" }
Parameter { name: "first"; type: "int" }
Parameter { name: "last"; type: "int" }
}
Signal { name: "layoutChanged" }
Signal { name: "layoutAboutToBeChanged" }
Signal {
name: "rowsAboutToBeInserted"
Parameter { name: "parent"; type: "QModelIndex" }
Parameter { name: "first"; type: "int" }
Parameter { name: "last"; type: "int" }
}
Signal {
name: "rowsInserted"
Parameter { name: "parent"; type: "QModelIndex" }
Parameter { name: "first"; type: "int" }
Parameter { name: "last"; type: "int" }
}
Signal {
name: "rowsAboutToBeRemoved"
Parameter { name: "parent"; type: "QModelIndex" }
Parameter { name: "first"; type: "int" }
Parameter { name: "last"; type: "int" }
}
Signal {
name: "rowsRemoved"
Parameter { name: "parent"; type: "QModelIndex" }
Parameter { name: "first"; type: "int" }
Parameter { name: "last"; type: "int" }
}
Signal {
name: "columnsAboutToBeInserted"
Parameter { name: "parent"; type: "QModelIndex" }
Parameter { name: "first"; type: "int" }
Parameter { name: "last"; type: "int" }
}
Signal {
name: "columnsInserted"
Parameter { name: "parent"; type: "QModelIndex" }
Parameter { name: "first"; type: "int" }
Parameter { name: "last"; type: "int" }
}
Signal {
name: "columnsAboutToBeRemoved"
Parameter { name: "parent"; type: "QModelIndex" }
Parameter { name: "first"; type: "int" }
Parameter { name: "last"; type: "int" }
}
Signal {
name: "columnsRemoved"
Parameter { name: "parent"; type: "QModelIndex" }
Parameter { name: "first"; type: "int" }
Parameter { name: "last"; type: "int" }
}
Signal { name: "modelAboutToBeReset" }
Signal { name: "modelReset" }
Signal {
name: "rowsAboutToBeMoved"
Parameter { name: "sourceParent"; type: "QModelIndex" }
Parameter { name: "sourceStart"; type: "int" }
Parameter { name: "sourceEnd"; type: "int" }
Parameter { name: "destinationParent"; type: "QModelIndex" }
Parameter { name: "destinationRow"; type: "int" }
}
Signal {
name: "rowsMoved"
Parameter { name: "parent"; type: "QModelIndex" }
Parameter { name: "start"; type: "int" }
Parameter { name: "end"; type: "int" }
Parameter { name: "destination"; type: "QModelIndex" }
Parameter { name: "row"; type: "int" }
}
Signal {
name: "columnsAboutToBeMoved"
Parameter { name: "sourceParent"; type: "QModelIndex" }
Parameter { name: "sourceStart"; type: "int" }
Parameter { name: "sourceEnd"; type: "int" }
Parameter { name: "destinationParent"; type: "QModelIndex" }
Parameter { name: "destinationColumn"; type: "int" }
}
Signal {
name: "columnsMoved"
Parameter { name: "parent"; type: "QModelIndex" }
Parameter { name: "start"; type: "int" }
Parameter { name: "end"; type: "int" }
Parameter { name: "destination"; type: "QModelIndex" }
Parameter { name: "column"; type: "int" }
}
Method { name: "submit"; type: "bool" }
Method { name: "revert" }
}
Component { name: "QAbstractListModel"; prototype: "QAbstractItemModel" }
Component {
name: "QDeclarativeFolderListModel"
prototype: "QAbstractListModel"
exports: [
"Qt.labs.folderlistmodel/FolderListModel 1.0"
]
Enum {
name: "SortField"
values: {
"Unsorted": 0,
"Name": 1,
"Time": 2,
"Size": 3,
"Type": 4
}
}
Property { name: "folder"; type: "QUrl" }
Property { name: "parentFolder"; type: "QUrl"; isReadonly: true }
Property { name: "nameFilters"; type: "QStringList" }
Property { name: "sortField"; type: "SortField" }
Property { name: "sortReversed"; type: "bool" }
Property { name: "showDirs"; type: "bool" }
Property { name: "showDotAndDotDot"; type: "bool" }
Property { name: "showOnlyReadable"; type: "bool" }
Property { name: "count"; type: "int"; isReadonly: true }
Signal { name: "folderChanged" }
Method {
name: "isFolder"
type: "bool"
Parameter { name: "index"; type: "int" }
}
}
}
import QtQuick.tooling 1.0
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
Module {
Component {
name: "QDeclarativeGestureArea"
defaultProperty: "data"
prototype: "QDeclarativeItem"
exports: [
"Qt.labs.gestures/GestureArea 1.0"
]
Property { name: "gesture"; type: "QGesture"; isReadonly: true; isPointer: true }
}
Component {
name: "QGesture"
prototype: "QObject"
exports: [
"Qt.labs.gestures/Gesture 1.0"
]
Property { name: "state"; type: "Qt::GestureState"; isReadonly: true }
Property { name: "gestureType"; type: "Qt::GestureType"; isReadonly: true }
Property { name: "gestureCancelPolicy"; type: "QGesture::GestureCancelPolicy" }
Property { name: "hotSpot"; type: "QPointF" }
Property { name: "hasHotSpot"; type: "bool"; isReadonly: true }
}
Component {
name: "QPanGesture"
prototype: "QGesture"
exports: [
"Qt.labs.gestures/PanGesture 1.0"
]
Property { name: "lastOffset"; type: "QPointF" }
Property { name: "offset"; type: "QPointF" }
Property { name: "delta"; type: "QPointF"; isReadonly: true }
Property { name: "acceleration"; type: "qreal" }
Property { name: "horizontalVelocity"; type: "qreal" }
Property { name: "verticalVelocity"; type: "qreal" }
}
Component {
name: "QPinchGesture"
prototype: "QGesture"
exports: [
"Qt.labs.gestures/PinchGesture 1.0"
]
Enum {
name: "ChangeFlag"
values: {
"ScaleFactorChanged": 1,
"RotationAngleChanged": 2,
"CenterPointChanged": 4
}
}
Enum {
name: "ChangeFlags"
values: {
"ScaleFactorChanged": 1,
"RotationAngleChanged": 2,
"CenterPointChanged": 4
}
}
Property { name: "totalChangeFlags"; type: "ChangeFlags" }
Property { name: "changeFlags"; type: "ChangeFlags" }
Property { name: "totalScaleFactor"; type: "qreal" }
Property { name: "lastScaleFactor"; type: "qreal" }
Property { name: "scaleFactor"; type: "qreal" }
Property { name: "totalRotationAngle"; type: "qreal" }
Property { name: "lastRotationAngle"; type: "qreal" }
Property { name: "rotationAngle"; type: "qreal" }
Property { name: "startCenterPoint"; type: "QPointF" }
Property { name: "lastCenterPoint"; type: "QPointF" }
Property { name: "centerPoint"; type: "QPointF" }
}
Component {
name: "QSwipeGesture"
prototype: "QGesture"
exports: [
"Qt.labs.gestures/SwipeGesture 1.0"
]
Enum {
name: "SwipeDirection"
values: {
"NoDirection": 0,
"Left": 1,
"Right": 2,
"Up": 3,
"Down": 4
}
}
Property { name: "horizontalDirection"; type: "SwipeDirection"; isReadonly: true }
Property { name: "verticalDirection"; type: "SwipeDirection"; isReadonly: true }
Property { name: "swipeAngle"; type: "qreal" }
Property { name: "velocity"; type: "qreal" }
}
Component {
name: "QTapAndHoldGesture"
prototype: "QGesture"
exports: [
"Qt.labs.gestures/TapAndHoldGesture 1.0"
]
Property { name: "position"; type: "QPointF" }
}
Component {
name: "QTapGesture"
prototype: "QGesture"
exports: [
"Qt.labs.gestures/TapGesture 1.0"
]
Property { name: "position"; type: "QPointF" }
}
}
import QtQuick.tooling 1.0
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
Module {
Component {
name: "QDeclarativeParticleMotion"
prototype: "QObject"
exports: [
"Qt.labs.particles/ParticleMotion 1.0"
]
}
Component {
name: "QDeclarativeParticleMotionGravity"
prototype: "QDeclarativeParticleMotion"
exports: [
"Qt.labs.particles/ParticleMotionGravity 1.0"
]
Property { name: "xattractor"; type: "qreal" }
Property { name: "yattractor"; type: "qreal" }
Property { name: "acceleration"; type: "qreal" }
Signal { name: "xattractorChanged" }
Signal { name: "yattractorChanged" }
Signal { name: "accelerationChanged" }
}
Component {
name: "QDeclarativeParticleMotionLinear"
prototype: "QDeclarativeParticleMotion"
exports: [
"Qt.labs.particles/ParticleMotionLinear 1.0"
]
}
Component {
name: "QDeclarativeParticleMotionWander"
prototype: "QDeclarativeParticleMotion"
exports: [
"Qt.labs.particles/ParticleMotionWander 1.0"
]
Property { name: "xvariance"; type: "qreal" }
Property { name: "yvariance"; type: "qreal" }
Property { name: "pace"; type: "qreal" }
Signal { name: "xvarianceChanged" }
Signal { name: "yvarianceChanged" }
Signal { name: "paceChanged" }
}
Component {
name: "QDeclarativeParticles"
defaultProperty: "motion"
prototype: "QDeclarativeItem"
exports: [
"Qt.labs.particles/Particles 1.0"
]
Property { name: "source"; type: "QUrl" }
Property { name: "count"; type: "int" }
Property { name: "emissionRate"; type: "int" }
Property { name: "emissionVariance"; type: "qreal" }
Property { name: "lifeSpan"; type: "int" }
Property { name: "lifeSpanDeviation"; type: "int" }
Property { name: "fadeInDuration"; type: "int" }
Property { name: "fadeOutDuration"; type: "int" }
Property { name: "angle"; type: "qreal" }
Property { name: "angleDeviation"; type: "qreal" }
Property { name: "velocity"; type: "qreal" }
Property { name: "velocityDeviation"; type: "qreal" }
Property { name: "motion"; type: "QDeclarativeParticleMotion"; isPointer: true }
Signal { name: "sourceChanged" }
Signal { name: "countChanged" }
Signal { name: "emissionRateChanged" }
Signal { name: "emissionVarianceChanged" }
Signal { name: "lifeSpanChanged" }
Signal { name: "lifeSpanDeviationChanged" }
Signal { name: "fadeInDurationChanged" }
Signal { name: "fadeOutDurationChanged" }
Signal { name: "angleChanged" }
Signal { name: "angleDeviationChanged" }
Signal { name: "velocityChanged" }
Signal { name: "velocityDeviationChanged" }
Signal { name: "emittingChanged" }
Signal { name: "motionChanged" }
Method {
name: "burst"
Parameter { name: "count"; type: "int" }
Parameter { name: "emissionRate"; type: "int" }
}
Method {
name: "burst"
Parameter { name: "count"; type: "int" }
}
}
}
import QtQuick.tooling 1.0
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
Module {
Component {
name: "QDeclarativeFeedback"
prototype: "QObject"
exports: [
"QtMobility.feedback/Feedback 1.1"
]
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
}
}
}
Component {
name: "QDeclarativeFileEffect"
prototype: "QFeedbackFileEffect"
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" }
}
Component {
name: "QDeclarativeHapticsEffect"
prototype: "QFeedbackHapticsEffect"
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" }
}
Component {
name: "QDeclarativeThemeEffect"
prototype: "QObject"
exports: [
"QtMobility.feedback/ThemeEffect 1.1"
]
Enum {
name: "ThemeEffect"
values: {
"Basic": 0,
"Sensitive": 1,
"BasicButton": 2,
"SensitiveButton": 3,
"BasicKeypad": 4,
"SensitiveKeypad": 5,
"BasicSlider": 6,
"SensitiveSlider": 7,
"BasicItem": 8,
"SensitiveItem": 9,
"ItemScroll": 10,
"ItemPick": 11,
"ItemDrop": 12,
"ItemMoveOver": 13,
"BounceEffect": 14,
"CheckBox": 15,
</