MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

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().