import QtQuick.tooling 1.1 // This file describes the plugin-supplied types contained in the library. // It is used for QML tooling purposes only. Module { Component { name: "QDeclarativeFeedbackActuator" prototype: "QObject" exports: ["QtFeedback/Actuator 5.0"] 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" } Method { name: "isCapabilitySupported" type: "bool" Parameter { name: "capbility"; type: "QFeedbackActuator::Capability" } } } Component { name: "QDeclarativeFeedbackEffect" prototype: "QObject" exports: ["QtFeedback/Feedback 5.0", "QtFeedback/FeedbackEffect 5.0"] 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: "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 } Method { name: "updateState" } Method { name: "start" } Method { name: "stop" } Method { name: "pause" } } Component { name: "QDeclarativeFileEffect" prototype: "QDeclarativeFeedbackEffect" exports: ["QtFeedback/FileEffect 5.0"] Property { name: "loaded"; type: "bool" } Property { name: "source"; type: "QUrl" } Property { name: "supportedMimeTypes"; type: "QStringList"; isReadonly: true } Method { name: "load" } Method { name: "unload" } } Component { name: "QDeclarativeHapticsEffect" prototype: "QDeclarativeFeedbackEffect" exports: ["QtFeedback/HapticsEffect 5.0"] 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 } } Component { name: "QDeclarativeThemeEffect" prototype: "QObject" exports: ["QtFeedback/ThemeEffect 5.0"] Enum { name: "Effect" values: { "Undefined": -1, "Press": 0, "Release": 1, "PressWeak": 2, "ReleaseWeak": 3, "PressStrong": 4, "ReleaseStrong": 5, "DragStart": 6, "DragDropInZone": 7, "DragDropOutOfZone": 8, "DragCrossBoundary": 9, "Appear": 10, "Disappear": 11, "Move": 12, "NumberOfEffects": 13, "UserEffect": 65535 } } Property { name: "supported"; type: "bool"; isReadonly: true } Property { name: "effect"; type: "Effect" } Method { name: "play" } Method { name: "play" Parameter { name: "effect"; type: "Effect" } } } ModuleApi { uri: "QtFeedback.ThemeEffect"; version: 5.0; name: "QDeclarativeThemeEffect" } }