5 property variant model: schModel
6 property string from : "en"
7 property string to : ""
8 property string phrase : "Qt"
10 property string mode : "everyone"
11 property int status: schModel.status
12 function reload() { schModel.reload(); }
17 source: "http://"+from+".wikipedia.org/w/api.php?action=opensearch&search="+phrase+"&limit=100&format=xml"
18 namespaceDeclarations: "declare default element namespace 'http://opensearch.org/searchsuggest2'; ";
19 query: "/SearchSuggestion/Section/Item"
21 XmlRole { name: "name"; query: "Text/string()" }
22 XmlRole { name: "statusText"; query: "Description/string()" }
23 XmlRole { name: "source"; query: "Url/string()" }
24 XmlRole { name: "userImage"; query: "Image/@source/string()" }