Sophie

Sophie

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

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" />
<!-- qvaluespace.cpp -->
  <title>Qt Mobility 1.2: QValueSpace 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>QValueSpace 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="#functions">Functions</a></li>
<li class="level1"><a href="#macros">Macros</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QValueSpace Namespace</h1>
<!-- $$$QValueSpace-brief -->
<p>The QValueSpace namespace contains miscellaneous identifiers used throughtout the Publish and Subscribe API. <a href="#details">More...</a></p>
<!-- @@@QValueSpace -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QValueSpace&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="qvaluespace.html#LayerOption-enum">LayerOption</a></b> { UnspecifiedLayer, PermanentLayer, TransientLayer, WritableLayer, ReadOnlyLayer }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qvaluespace.html#LayerOption-enum">LayerOptions</a></b></td></tr>
</table>
<a name="functions"></a>
<h2>Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;QUuid&gt; </td><td class="memItemRight bottomAlign"><b><a href="qvaluespace.html#availableLayers">availableLayers</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qvaluespace.html#initValueSpaceServer">initValueSpaceServer</a></b> ()</td></tr>
</table>
<a name="macros"></a>
<h2>Macros</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qvaluespace.html#QVALUESPACE_CONTEXTKIT_LAYER">QVALUESPACE_CONTEXTKIT_LAYER</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qvaluespace.html#QVALUESPACE_NONVOLATILEREGISTRY_LAYER">QVALUESPACE_NONVOLATILEREGISTRY_LAYER</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qvaluespace.html#QVALUESPACE_SHAREDMEMORY_LAYER">QVALUESPACE_SHAREDMEMORY_LAYER</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qvaluespace.html#QVALUESPACE_SYMBIAN_SETTINGS_LAYER">QVALUESPACE_SYMBIAN_SETTINGS_LAYER</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qvaluespace.html#QVALUESPACE_VOLATILEREGISTRY_LAYER">QVALUESPACE_VOLATILEREGISTRY_LAYER</a></b></td></tr>
</table>
<a name="details"></a>
<!-- $$$QValueSpace-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QValueSpace namespace contains miscellaneous identifiers used throughtout the Publish and Subscribe API.</p>
</div>
<!-- @@@QValueSpace -->
<div class="types">
<h2>Type Documentation</h2>
<!-- $$$LayerOption$$$UnspecifiedLayer$$$PermanentLayer$$$TransientLayer$$$WritableLayer$$$ReadOnlyLayer -->
<h3 class="flags"><a name="LayerOption-enum"></a>enum QValueSpace::<span class="name">LayerOption</span><br/>flags QValueSpace::<span class="name">LayerOptions</span></h3>
<p>This enum describes the behaviour of the Value Space layer. In addition this enum is used as a filter when constructing a <a href="qvaluespacepublisher.html">QValueSpacePublisher</a> or <a href="qvaluespacesubscriber.html">QValueSpaceSubscriber</a>.</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>QValueSpace::UnspecifiedLayer</tt></td><td class="topAlign"><tt>0x0000</tt></td><td class="topAlign">Used as a filter to specify that any layer should be used.</td></tr>
<tr><td class="topAlign"><tt>QValueSpace::PermanentLayer</tt></td><td class="topAlign"><tt>0x0001</tt></td><td class="topAlign">Indicates that the layer uses a permanent backing store. When used as a filter only layers that use a permanent backing store will be used. <br /> Values stored in a layer with this option will persist with in the layer after the <a href="qvaluespacepublisher.html">QValueSpacePublisher</a> that published them is destroyed. Whether the value persists in the layer after the server or device is restarted is system dependent. <br /> This option and the TransientLayer option are mutually exclusive.</td></tr>
<tr><td class="topAlign"><tt>QValueSpace::TransientLayer</tt></td><td class="topAlign"><tt>0x0002</tt></td><td class="topAlign">Indicates that the layer does not use a permanent backing store. When used as a filter only layers that do not use permanent backing stores will be used. <br /> Values stored in a layer with this option will be removed when the <a href="qvaluespacepublisher.html">QValueSpacePublisher</a> that published them is destroyed. <br /> This option and the PermanentLayer option are mutually exclusive.</td></tr>
<tr><td class="topAlign"><tt>QValueSpace::WritableLayer</tt></td><td class="topAlign"><tt>0x0004</tt></td><td class="topAlign">Indicates that the layer can update its contents. When used as a filter only layers that are writable will be used. <br /> Applications can use <a href="qvaluespacepublisher.html">QValueSpacePublisher</a> to publish values to layers that have this option. <br /> This option and the ReadOnlyLayer option are mutually exclusive.</td></tr>
<tr><td class="topAlign"><tt>QValueSpace::ReadOnlyLayer</tt></td><td class="topAlign"><tt>0x0008</tt></td><td class="topAlign">Indicates that the layer cannot update its contents. When used as a filter only layers that are read-only will be used. <br /> Applications can not publish values to layers with this option. <br /> This option and the WritableLayer option are mutually exclusive.</td></tr>
</table>
<p>The LayerOptions type is a typedef for <a href="qflags.html">QFlags</a>&lt;LayerOption&gt;. It stores an OR combination of LayerOption values.</p>
<!-- @@@LayerOption -->
</div>
<div class="func">
<h2>Function Documentation</h2>
<!-- $$$availableLayers[overload1]$$$availableLayers -->
<h3 class="fn"><a name="availableLayers"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qlist.html">QList</a></span>&lt;<span class="type"><a href="http://qt.nokia.com/doc/4.7/quuid.html">QUuid</a></span>&gt; QValueSpace::<span class="name">availableLayers</span> ()</h3>
<p>Returns a list of QUuids of all of the available layers.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@availableLayers -->
<!-- $$$initValueSpaceServer[overload1]$$$initValueSpaceServer -->
<h3 class="fn"><a name="initValueSpaceServer"></a><span class="type">void</span> QValueSpace::<span class="name">initValueSpaceServer</span> ()</h3>
<p>Initialize the Value Space manager as the server. This method only needs to be called by the process acting as the server and should be called before any process in the system uses a value space class.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@initValueSpaceServer -->
</div>
<div class="macros">
<h2>Macro Documentation</h2>
<!-- $$$QVALUESPACE_CONTEXTKIT_LAYER[overload1]$$$QVALUESPACE_CONTEXTKIT_LAYER -->
<h3 class="fn"><a name="QVALUESPACE_CONTEXTKIT_LAYER"></a><span class="name">QVALUESPACE_CONTEXTKIT_LAYER</span></h3>
<p>The UUID of the ContextKit layer as a <a href="http://qt.nokia.com/doc/4.7/quuid.html">QUuid</a>. The actual UUID values is {2c769b9e-d949-4cd1-848f-d32241fe07ff}.</p>
<p>This value can be passed to the constructor of <a href="qvaluespacepublisher.html">QValueSpacePublisher</a> or <a href="qvaluespacesubscriber.html">QValueSpaceSubscriber</a> to force the constructed object to only access the ContextKit layer.</p>
<p>You can test if the ContextKit layer is available by checking if the list returned by <a href="qvaluespace.html#availableLayers">QValueSpace::availableLayers</a>() contains this value.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@QVALUESPACE_CONTEXTKIT_LAYER -->
<!-- $$$QVALUESPACE_NONVOLATILEREGISTRY_LAYER[overload1]$$$QVALUESPACE_NONVOLATILEREGISTRY_LAYER -->
<h3 class="fn"><a name="QVALUESPACE_NONVOLATILEREGISTRY_LAYER"></a><span class="name">QVALUESPACE_NONVOLATILEREGISTRY_LAYER</span></h3>
<p>The UUID of the Non-Volatile Registry layer as a <a href="http://qt.nokia.com/doc/4.7/quuid.html">QUuid</a>. The actual UUID value is {8e29561c-a0f0-4e89-ba56-080664abc017}.</p>
<p>This value can be passed to the constructor of <a href="qvaluespacepublisher.html">QValueSpacePublisher</a> or <a href="qvaluespacesubscriber.html">QValueSpaceSubscriber</a> to force the constructed object to only access the Non-Volatile Registry layer.</p>
<p>You can test if the Non-Volatile Registry layer is available by checking if the list returned by <a href="qvaluespace.html#availableLayers">QValueSpace::availableLayers</a>() contains this value. The Non-Volatile Registry layer is only available on Windows platforms.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@QVALUESPACE_NONVOLATILEREGISTRY_LAYER -->
<!-- $$$QVALUESPACE_SHAREDMEMORY_LAYER[overload1]$$$QVALUESPACE_SHAREDMEMORY_LAYER -->
<h3 class="fn"><a name="QVALUESPACE_SHAREDMEMORY_LAYER"></a><span class="name">QVALUESPACE_SHAREDMEMORY_LAYER</span></h3>
<p>The UUID of the Shared Memory layer as a <a href="http://qt.nokia.com/doc/4.7/quuid.html">QUuid</a>. The actual UUID value is {d81199c1-6f60-4432-934e-0ce4d37ef252}.</p>
<p>This value can be passed to the constructor of <a href="qvaluespacepublisher.html">QValueSpacePublisher</a> or <a href="qvaluespacesubscriber.html">QValueSpaceSubscriber</a> to force the constructed object to only access the Shared Memory layer.</p>
<p>You can test if the Shared Memory layer is available by checking if the list returned by <a href="qvaluespace.html#availableLayers">QValueSpace::availableLayers</a>() contains this value.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@QVALUESPACE_SHAREDMEMORY_LAYER -->
<!-- $$$QVALUESPACE_SYMBIAN_SETTINGS_LAYER[overload1]$$$QVALUESPACE_SYMBIAN_SETTINGS_LAYER -->
<h3 class="fn"><a name="QVALUESPACE_SYMBIAN_SETTINGS_LAYER"></a><span class="name">QVALUESPACE_SYMBIAN_SETTINGS_LAYER</span></h3>
<p>The UUID of the Symbian Settings layer as a <a href="http://qt.nokia.com/doc/4.7/quuid.html">QUuid</a>. The actual UUID value is {40d7b059-66ac-442f-b222-9c8ab98b9c2d}.</p>
<p>This value can be passed to the constructor of <a href="qvaluespacepublisher.html">QValueSpacePublisher</a> or <a href="qvaluespacesubscriber.html">QValueSpaceSubscriber</a> to force the constructed object to only access the Symbian Settings layer.</p>
<p>You can test if the Symbian Settings layer is available by checking if the list returned by <a href="qvaluespace.html#availableLayers">QValueSpace::availableLayers</a>() contains this value.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@QVALUESPACE_SYMBIAN_SETTINGS_LAYER -->
<!-- $$$QVALUESPACE_VOLATILEREGISTRY_LAYER[overload1]$$$QVALUESPACE_VOLATILEREGISTRY_LAYER -->
<h3 class="fn"><a name="QVALUESPACE_VOLATILEREGISTRY_LAYER"></a><span class="name">QVALUESPACE_VOLATILEREGISTRY_LAYER</span></h3>
<p>The UUID of the Volatile Registry layer as a <a href="http://qt.nokia.com/doc/4.7/quuid.html">QUuid</a>. The actual UUID value is {8ceb5811-4968-470f-8fc2-264767e0bbd9}.</p>
<p>This value can be passed to the constructor of <a href="qvaluespacepublisher.html">QValueSpacePublisher</a> or <a href="qvaluespacesubscriber.html">QValueSpaceSubscriber</a> to force the constructed object to only access the Volatile Registry layer.</p>
<p>You can test if the Volatile Registry layer is available by checking if the list returned by <a href="qvaluespace.html#availableLayers">QValueSpace::availableLayers</a>() contains this value. The Volatile Registry layer is only available on Windows platforms.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@QVALUESPACE_VOLATILEREGISTRY_LAYER -->
</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>