Sophie

Sophie

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

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" />
<!-- qremoteserviceregister.cpp -->
  <title>Qt Mobility 1.2: Entry Class Reference</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="modules.html">Modules</a></li>
<li><a href="qtserviceframework.html">QtServiceFramework</a></li>
<li>Entry</li>
    </ul>
  </div>
</div>
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">Entry Class Reference</h1>
<span class="small-subtitle">(QRemoteServiceRegister::Entry)<br/></span>
<!-- $$$Entry-brief -->
<p>The Entry class represents a remote service entry to be published on <a href="qremoteserviceregister.html">QRemoteServiceRegister</a>. <a href="#details">More...</a></p>
<!-- @@@Entry -->
<p>This class was introduced in Qt Mobility 1.1.</p>
<ul>
<li><a href="qremoteserviceregister-entry-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qremoteserviceregister-entry.html#Entry">Entry</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qremoteserviceregister-entry.html#Entry-2">Entry</a></b> ( const Entry &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qremoteserviceregister-entry.html#dtor.Entry">~Entry</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QRemoteServiceRegister::InstanceType </td><td class="memItemRight bottomAlign"><b><a href="qremoteserviceregister-entry.html#instantiationType">instantiationType</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qremoteserviceregister-entry.html#interfaceName">interfaceName</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qremoteserviceregister-entry.html#isValid">isValid</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qremoteserviceregister-entry.html#serviceName">serviceName</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qremoteserviceregister-entry.html#setInstantiationType">setInstantiationType</a></b> ( QRemoteServiceRegister::InstanceType <i>type</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qremoteserviceregister-entry.html#version">version</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qremoteserviceregister-entry.html#operator-not-eq">operator!=</a></b> ( const Entry &amp; <i>other</i> ) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Entry &amp; </td><td class="memItemRight bottomAlign"><b><a href="qremoteserviceregister-entry.html#operator-eq">operator=</a></b> ( const Entry &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qremoteserviceregister-entry.html#operator-eq-eq">operator==</a></b> ( const Entry &amp; <i>other</i> ) const</td></tr>
</table>
<a name="details"></a>
<!-- $$$Entry-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The Entry class represents a remote service entry to be published on <a href="qremoteserviceregister.html">QRemoteServiceRegister</a>.</p>
<p>This class is created using QRemoteServiceRegister::createEntry to supply remote service details matching a valid <a href="qserviceinterfacedescriptor.html">QServiceInterfaceDescriptor</a>.</p>
<p>A registration entry can then be published for discovery by remote clients.</p>
</div>
<!-- @@@Entry -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$Entry[overload1]$$$Entry -->
<h3 class="fn"><a name="Entry"></a>Entry::<span class="name">Entry</span> ()</h3>
<p>Constructs a null registration entry.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@Entry -->
<!-- $$$Entry$$$EntryconstEntry& -->
<h3 class="fn"><a name="Entry-2"></a>Entry::<span class="name">Entry</span> ( const <span class="type">Entry</span> &amp; <i>other</i> )</h3>
<p>Constructs the registration entry that is a copy of <i>other</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@Entry -->
<!-- $$$~Entry[overload1]$$$~Entry -->
<h3 class="fn"><a name="dtor.Entry"></a>Entry::<span class="name">~Entry</span> ()</h3>
<p>Destroys the registration entry.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@~Entry -->
<!-- $$$instantiationType[overload1]$$$instantiationType -->
<h3 class="fn"><a name="instantiationType"></a><span class="type"><a href="qremoteserviceregister.html#InstanceType-enum">QRemoteServiceRegister::InstanceType</a></span> Entry::<span class="name">instantiationType</span> () const</h3>
<p>Returns the <a href="qremoteserviceregister.html#InstanceType-enum">QRemoteServiceRegister::InstanceType</a> of the registration entry.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qremoteserviceregister-entry.html#setInstantiationType">setInstantiationType</a>().</p>
<!-- @@@instantiationType -->
<!-- $$$interfaceName[overload1]$$$interfaceName -->
<h3 class="fn"><a name="interfaceName"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> Entry::<span class="name">interfaceName</span> () const</h3>
<p>Returns the interface name of the registration entry.</p>
<p>This should correspond to the interface name from the service XML description.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qremoteserviceregister-entry.html#serviceName">serviceName</a>() and <a href="qremoteserviceregister-entry.html#version">version</a>().</p>
<!-- @@@interfaceName -->
<!-- $$$isValid[overload1]$$$isValid -->
<h3 class="fn"><a name="isValid"></a><span class="type">bool</span> Entry::<span class="name">isValid</span> () const</h3>
<p>Checks if the registration entry is currently a valid remote service entry</p>
<p>Returns true if the <a href="qremoteserviceregister-entry.html#serviceName">serviceName</a>(), <a href="qremoteserviceregister-entry.html#interfaceName">interfaceName</a>() and <a href="qremoteserviceregister-entry.html#version">version</a>() point to a valid <a href="qserviceinterfacedescriptor.html">QServiceInterfaceDescriptor</a>, otherwise false.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@isValid -->
<!-- $$$serviceName[overload1]$$$serviceName -->
<h3 class="fn"><a name="serviceName"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> Entry::<span class="name">serviceName</span> () const</h3>
<p>Returns the service name of the registration entry.</p>
<p>This should correspond to the service name from the service XML description.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qremoteserviceregister-entry.html#interfaceName">interfaceName</a>() and <a href="qremoteserviceregister-entry.html#version">version</a>().</p>
<!-- @@@serviceName -->
<!-- $$$setInstantiationType[overload1]$$$setInstantiationTypeQRemoteServiceRegister::InstanceType -->
<h3 class="fn"><a name="setInstantiationType"></a><span class="type">void</span> Entry::<span class="name">setInstantiationType</span> ( <span class="type"><a href="qremoteserviceregister.html#InstanceType-enum">QRemoteServiceRegister::InstanceType</a></span> <i>type</i> )</h3>
<p>Sets the <a href="qremoteserviceregister.html#InstanceType-enum">QRemoteServiceRegister::InstanceType</a> of the registration entry.</p>
<p>If this is not explicitly called, the default instance <i>type</i> for the registration entry is <a href="qremoteserviceregister.html#InstanceType-enum">QRemoteServiceRegister::PrivateInstance</a>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qremoteserviceregister-entry.html#instantiationType">instantiationType</a>().</p>
<!-- @@@setInstantiationType -->
<!-- $$$version[overload1]$$$version -->
<h3 class="fn"><a name="version"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> Entry::<span class="name">version</span> () const</h3>
<p>Returns the version of the registration entry in format x.y&#x2e;</p>
<p>This should correspond to the interface version from the service XML description.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qremoteserviceregister-entry.html#interfaceName">interfaceName</a>() and <a href="qremoteserviceregister-entry.html#serviceName">serviceName</a>().</p>
<!-- @@@version -->
<!-- $$$operator!=[overload1]$$$operator!=constEntry& -->
<h3 class="fn"><a name="operator-not-eq"></a><span class="type">bool</span> Entry::<span class="name">operator!=</span> ( const <span class="type">Entry</span> &amp; <i>other</i> ) const</h3>
<p>Returns true if this font is different from <i>other</i>; otherwise false.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@operator!= -->
<!-- $$$operator=[overload1]$$$operator=constEntry& -->
<h3 class="fn"><a name="operator-eq"></a><span class="type">Entry</span> &amp; Entry::<span class="name">operator=</span> ( const <span class="type">Entry</span> &amp; <i>other</i> )</h3>
<p>Assigns <i>other</i> to this registration entry and returns a reference to it.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@operator= -->
<!-- $$$operator==[overload1]$$$operator==constEntry& -->
<h3 class="fn"><a name="operator-eq-eq"></a><span class="type">bool</span> Entry::<span class="name">operator==</span> ( const <span class="type">Entry</span> &amp; <i>other</i> ) const</h3>
<p>Returns true if this font is equal to <i>other</i>; otherwise false.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@operator== -->
</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>