/usr/share/accounts-qml-module/doc/html/qml-ubuntu-onlineaccounts-applicationmodel.html is in accounts-qml-module-doc 0.6+16.04.20151106-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- application-model.cpp -->
<title>ApplicationModel QML Type | OnlineAccounts QML API </title>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Ubuntu:400,400italic">
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Ubuntu+Mono:400">
<link rel="stylesheet" type="text/css" href="style/reset.css" />
<link rel="stylesheet" type="text/css" href="style/qtquick.css" />
<link rel="stylesheet" type="text/css" href="style/base.css" />
<link rel="stylesheet" type="text/css" href="style/scratch.css" />
</head>
<header>
<div class="header-login">
<ul>
<li><a href="https://myapps.developer.ubuntu.com/openid/login/?next=/dev">Sign in or register</a></li>
</ul>
</div>
<div class="header-navigation">
<div>
<nav role="navigation">
<ul>
<li class="page_item page-item-5"><a href="http://developer.ubuntu.com/">Home</a></li>
<li class="page_item page-item-7"><a href="http://developer.ubuntu.com/get-started/">Get started</a></li>
<li class="page_item page-item-9"><a href="http://developer.ubuntu.com/resources/">Resources</a></li>
<li class="page_item page-item-11"><a href="http://developer.ubuntu.com/publish/">Publish</a></li>
<li class="page_item page-item-13"><a href="http://developer.ubuntu.com/community/">Community</a></li>
<li><a href="https://myapps.developer.ubuntu.com/dev">My Apps</a></li>
<li>
<form id="form-search" method="get" action="/">
<fieldset>
<input id="input-search" type="text" name="s" value="Search" />
</fieldset>
</form>
</li>
</ul>
</nav>
<a class="logo-ubuntu" href="/"><img src="http://developer.ubuntu.com/wp-content/themes/wordpress-theme-ubuntudeveloper/img/logo-ubuntu.png" width="119" height="27" alt="Ubuntu logo" /></a>
<h2><a href="/">App Developer</a></h2>
</div>
</div>
</header>
<div class="wrapper">
<div class="main-content">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#methods">Methods</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">ApplicationModel QML Type</h1>
<span class="subtitle"></span>
<!-- $$$ApplicationModel-brief -->
<p>A model of the applications using online accounts. <a href="#details">More...</a></p>
<!-- @@@ApplicationModel -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import Ubuntu.OnlineAccounts 0.1</td></tr></table></div><ul>
<li><a href="qml-ubuntu-onlineaccounts-applicationmodel-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-ubuntu-onlineaccounts-applicationmodel.html#count-prop">count</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-ubuntu-onlineaccounts-applicationmodel.html#service-prop">service</a></b></b> : string</li>
</ul>
<a name="methods"></a>
<h2 id="methods">Methods</h2>
<ul>
<li class="fn">variant <b><b><a href="qml-ubuntu-onlineaccounts-applicationmodel.html#get-method">get</a></b></b>(int <i>row</i>, string <i>roleName</i>)</li>
</ul>
<!-- $$$ApplicationModel-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
</p>
<p>The <a href="qml-ubuntu-onlineaccounts-applicationmodel.html">ApplicationModel</a> is a model representing the applications using online accounts installed on the system.</p>
<p>In the current implementation, the model is valid only if its <a href="qml-ubuntu-onlineaccounts-applicationmodel.html#service-prop">ApplicationModel::service</a> property is set to a valid service ID.</p>
<p>The model defines the following roles:</p>
<ul>
<li><code>applicationId</code> is the unique identifier of the application</li>
<li><code>displayName</code> is the application display name</li>
<li><code>iconName</code> is the name of the application icon</li>
<li><code>serviceUsage</code> is a description of how the application uses the service; this is set to a valid value only if the <a href="qml-ubuntu-onlineaccounts-applicationmodel.html#service-prop">ApplicationModel::service</a> property is set to a valid service ID.</li>
<li><code>application</code> is the Application object</li>
<li><code>translations</code>, the localization domain for translating the <code>serviceUsage</code> field</li>
</ul>
<!-- @@@ApplicationModel -->
<h2>Property Documentation</h2>
<!-- $$$count -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="count-prop"><td class="tblQmlPropNode"><p><a name="count-prop"></a><span class="name">count</span> : <span class="type">int</span></p></td></tr></table></div></div><div class="qmldoc"><p>The number of items in the model.</p>
</div></div><!-- @@@count -->
<br/>
<!-- $$$service -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="service-prop"><td class="tblQmlPropNode"><p><a name="service-prop"></a><span class="name">service</span> : <span class="type">string</span></p></td></tr></table></div></div><div class="qmldoc"><p>If set, the model will list only those applications which can use this specific service.</p>
</div></div><!-- @@@service -->
<br/>
<h2>Method Documentation</h2>
<!-- $$$get -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="get-method"><td class="tblQmlFuncNode"><p><a name="get-method"></a><span class="type">variant</span> <span class="name">get</span>(<span class="type">int</span><i> row</i>, <span class="type">string</span><i> roleName</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>Returns the data at <i>row</i> for the role <i>roleName</i>.</p>
</div></div><!-- @@@get -->
<br/>
</div></div>
<div class="shadow"></div>
<footer>
<div>
<nav role="navigation" class="clearfix">
<ul>
<li><a href="/get-started">Get started</a></li>
<li class="page_item page-item-16"><a href="http://developer.ubuntu.com/get-started/quickly-workflow/">Quickly workflow</a></li>
<li class="page_item page-item-18"><a href="http://developer.ubuntu.com/get-started/qt-creator/">Qt Creator</a></li>
<li class="page_item page-item-20"><a href="http://developer.ubuntu.com/get-started/eclipse/">Eclipse</a></li>
<li class="page_item page-item-22"><a href="http://developer.ubuntu.com/get-started/monodevelop/">MonoDevelop</a></li>
</ul>
<ul>
<li><a href="/resources">Resources</a></li>
<li><a href="/resources/tools/quickly">Quickly</a></li>
<li><a href="/resources/platform/api">API</a></li>
<li><a href="/resources/platform/documentation/platform-diagram">Platform overview</a></li>
</ul>
<ul>
<li><a href="/publish">Publish</a></li>
<li class="page_item page-item-24"><a href="http://developer.ubuntu.com/publish/commercial-software-faqs/">Commercial software FAQs</a></li>
<li class="page_item page-item-34"><a href="http://developer.ubuntu.com/publish/application-states/">Application states</a></li>
<li class="page_item page-item-577"><a href="http://developer.ubuntu.com/publish/my-apps-packages/">Uploading your app</a></li>
<li class="page_item page-item-404"><a href="http://developer.ubuntu.com/publish/ubuntu-software-centre/">Ubuntu Software Centre</a></li>
<li class="page_item page-item-427"><a href="http://developer.ubuntu.com/publish/licence-key-infrastructure/">Licence key infrastructure</a></li>
<li class="page_item page-item-1230"><a href="http://developer.ubuntu.com/publish/updating-your-app/">Updating your app</a></li>
</ul>
<ul>
<li><a href="/community">Community</a></li>
<li class="page_item page-item-28"><a href="http://developer.ubuntu.com/community/app-developer-blog/">App Developer Blog</a></li>
<li class="page_item page-item-30"><a href="http://developer.ubuntu.com/community/submit-a-tutorial/">Submit a tutorial</a></li>
<li class="page_item page-item-32"><a href="http://developer.ubuntu.com/community/app-review-board-charter/">App Review Board charter</a></li>
<li class="page_item page-item-2987"><a href="http://developer.ubuntu.com/community/on-air/">On air</a>
<ul class='children'>
<li class="page_item page-item-3066"><a href="http://developer.ubuntu.com/community/on-air/recordings/">Recordings</a></li>
</ul>
</li>
</ul>
<ul class="last">
<li><a href="https://myapps.developer.ubuntu.com/dev">My Apps</a></li>
<li><a href="https://myapps.developer.ubuntu.com/openid/login/?next=/dev">Sign in or register</a></li>
<li><a href="https://myapps.developer.ubuntu.com/dev/account">My account</a></li>
</ul>
</nav>
<p>© 2013 Canonical Ltd. Ubuntu and Canonical are registered trademarks of Canonical Ltd. <a class="link-bug" href="https://bugs.launchpad.net/ubuntudeveloperportal/+filebug">Report a bug on this site</a></p>
</div>
</footer>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript" src="http://developer.ubuntu.com/wp-content/themes/wordpress-theme-ubuntudeveloper/js/base.js"></script>
</body>
</html>
|