Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 50facae208d4a6f280e44a513b104320 > files > 1691

qt-mobility-doc-1.2.0-13.mga5.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qservice.qdoc -->
  <title>Qt Mobility 1.2: QService Namespace</title>
  <link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="content"> 
    <a href="index.html" class="qtref"><span>QtMobility Reference Documentation</span></a>
  </div>
  <div class="breadcrumb toolblock">
    <ul>
      <li class="first"><a href="index.html">Home</a></li>
      <!--  Breadcrumbs go here -->
<li><a href="namespaces.html">Namespaces</a></li>
<li>QService Namespace</li>
    </ul>
  </div>
</div>
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#types">Types</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QService Namespace</h1>
<!-- $$$QService-brief -->
<p>The QService namespace contains miscellaneous identifiers used throughout the Qt Service framework library. <a href="#details">More...</a></p>
<!-- @@@QService -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QService&gt;</span></pre><ul>
</ul>
<a name="types"></a>
<h2>Types</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qservice.html#Scope-enum">Scope</a></b> { UserScope, SystemScope }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qservice.html#Type-enum">Type</a></b> { Plugin, InterProcess }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qservice.html#UnrecoverableIPCError-enum">UnrecoverableIPCError</a></b> { ErrorUnknown, ErrorServiceNoLongerAvailable, ErrorOutofMemory, ErrorPermissionDenied, ErrorInvalidArguments }</td></tr>
</table>
<a name="details"></a>
<!-- $$$QService-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QService namespace contains miscellaneous identifiers used throughout the Qt Service framework library.</p>
</div>
<!-- @@@QService -->
<div class="types">
<h2>Type Documentation</h2>
<!-- $$$Scope$$$UserScope$$$SystemScope -->
<h3 class="fn"><a name="Scope-enum"></a>enum QService::<span class="name">Scope</span></h3>
<p>Defines the scope to be used when accessing services. Note that Symbian does not distinguish scopes and therefore UserScope and SystemScope may be used interchangeably.</p>
<table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><tt>QService::UserScope</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">When adding and removing services, uses a storage location specific to the current user. When searching for services and interface implementations, first searches in the user-specific location; if the service or interface implementation is not found, searches in the system-wide storage location (if the user has sufficient permissions to do so).</td></tr>
<tr><td class="topAlign"><tt>QService::SystemScope</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">When adding and removing services, use a system-wide storage location accessible to all users. When searching for services and interface implementations, search only in the system-wide storage location.</td></tr>
</table>
<!-- @@@Scope -->
<!-- $$$Type$$$Plugin$$$InterProcess -->
<h3 class="fn"><a name="Type-enum"></a>enum QService::<span class="name">Type</span></h3>
<p>Defines the type of the service</p>
<table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><tt>QService::Plugin</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">This denotes that the service is plug-in based.</td></tr>
<tr><td class="topAlign"><tt>QService::InterProcess</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">This denotes that the service is deployed using IPC mechanisms available on the current platform, such as DBus or local sockets.</td></tr>
</table>
<!-- @@@Type -->
<!-- $$$UnrecoverableIPCError$$$ErrorUnknown$$$ErrorServiceNoLongerAvailable$$$ErrorOutofMemory$$$ErrorPermissionDenied$$$ErrorInvalidArguments -->
<h3 class="fn"><a name="UnrecoverableIPCError-enum"></a>enum QService::<span class="name">UnrecoverableIPCError</span></h3>
<p>Defines the unrecoverable IPC error of the service</p>
<table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><tt>QService::ErrorUnknown</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">An unknown IPC error.</td></tr>
<tr><td class="topAlign"><tt>QService::ErrorServiceNoLongerAvailable</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">Indicates that the service is no longer available.</td></tr>
<tr><td class="topAlign"><tt>QService::ErrorOutofMemory</tt></td><td class="topAlign"><tt>2</tt></td><td class="topAlign">Indicates that the service is out of memoruy.</td></tr>
<tr><td class="topAlign"><tt>QService::ErrorPermissionDenied</tt></td><td class="topAlign"><tt>3</tt></td><td class="topAlign">Indicates that the permission of this service is denied.</td></tr>
<tr><td class="topAlign"><tt>QService::ErrorInvalidArguments</tt></td><td class="topAlign"><tt>4</tt></td><td class="topAlign">User uses invalid argument for this service.</td></tr>
</table>
<!-- @@@UnrecoverableIPCError -->
</div>
  <div class="ft">
    <span></span>
  </div>
</div> 
<div class="footer">
  <p>
     <acronym title="Copyright">&copy;</acronym> 2008-2011 Nokia Corporation and/or its
     subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation 
     in Finland and/or other countries worldwide.</p>
  <p>
     All other trademarks are property of their respective owners. <a title="Privacy Policy"
     href="http://qt.nokia.com/about/privacy-policy">Privacy Policy</a></p>
  <br />
  <p>
    Licensees holding valid Qt Commercial licenses may use this document in accordance with the    Qt Commercial License Agreement provided with the Software or, alternatively, in accordance    with the terms contained in a written agreement between you and Nokia.</p>
  <p>
    Alternatively, this document may be used under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU
    Free Documentation License version 1.3</a>
    as published by the Free Software Foundation.</p>
</div>
</body>
</html>