QtMobility Reference Documentation

Contents

QML FileEffect Element

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

Inherits FeedbackEffect

  • List of all members, including inherited members
  • 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 documentation was introduced in Qt Mobility Mobility 1.1.


    source : url

    This property stores the url for the feedback data.

    This documentation was introduced in Qt Mobility Mobility 1.1.


    supportedMimeTypes : list<string>

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

    This documentation was introduced in Qt Mobility Mobility 1.1.


    Method Documentation

    FileEffect::load ()

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

    This documentation was introduced in Qt Mobility 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 Qt Mobility Mobility 1.1.

    See also QFeedbackFileEffect::unload().