Home · Overviews · Reference · Classes |
Use it like this:
var obj = project.property("target"); var data = { files: { value: null, type: "existingFiles" }, path: { value: null, type: "imagePath" } }; if ( !installs.fetchdata(obj, data) ) return;
type can be one of:
Returns a single value
Returns an array of values
Returns a single, existing file
Returns multiple, existing files
Returns a path in the image
Pass in a filename (string) and returns true if it's a directory.
See also Javascript Binding.
Copyright © 2009 Trolltech | Qt Extended - QBuild Maintainer Guide |