QtMobility Reference Documentation

QML FileEffect Element

The FileEffect element represents feedback data stored in a file. More...

Inherits FeedbackEffect

This element was introduced in Mobility 1.1.

Properties

Methods

Detailed Description

This element is part of the QtMobility.feedback 1.1 module.

 FileEffect {
     id: myFileEffect
     loaded: false
     source: "file:///myfile.ivs"
 }

 MouseArea {
     onClicked: myFileEffect.start();
 }

See also HapticsEffect and QFeedbackActuator.

Property Documentation

loaded : bool

This property is true if this feedback effect is loaded.

This property group was introduced in Mobility 1.1.


source : url

This property stores the url for the feedback data.

This property group was introduced in Mobility 1.1.


supportedMimeTypes : list<string>

This property holds the MIME types supported for playing effects from file.

This property group was introduced in Mobility 1.1.


Method Documentation

FileEffect::load ()

Makes sure that the file associated with the feedback object is loaded.

This documentation was introduced in Mobility 1.1.

See also QFeedbackFileEffect::load().


FileEffect::unload ()

Makes sure that the file associated with the feedback object is unloaded.

This documentation was introduced in Mobility 1.1.

See also QFeedbackFileEffect::unload().


X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.