<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>Soprano: Soprano::Client::DBusQueryResultIterator Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.1 --> <script type="text/javascript"> function hasClass(ele,cls) { return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)')); } function addClass(ele,cls) { if (!this.hasClass(ele,cls)) ele.className += " "+cls; } function removeClass(ele,cls) { if (hasClass(ele,cls)) { var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)'); ele.className=ele.className.replace(reg,' '); } } function toggleVisibility(linkObj) { var base = linkObj.getAttribute('id'); var summary = document.getElementById(base + '-summary'); var content = document.getElementById(base + '-content'); var trigger = document.getElementById(base + '-trigger'); if ( hasClass(linkObj,'closed') ) { summary.style.display = 'none'; content.style.display = 'block'; trigger.src = 'open.png'; removeClass(linkObj,'closed'); addClass(linkObj,'opened'); } else if ( hasClass(linkObj,'opened') ) { summary.style.display = 'block'; content.style.display = 'none'; trigger.src = 'closed.png'; removeClass(linkObj,'opened'); addClass(linkObj,'closed'); } return false; } </script> <div class="navigation" id="top"> <div class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"> <ul> <li><a class="el" href="namespaceSoprano.html">Soprano</a> </li> <li><a class="el" href="namespaceSoprano_1_1Client.html">Client</a> </li> <li><a class="el" href="classSoprano_1_1Client_1_1DBusQueryResultIterator.html">Soprano::Client::DBusQueryResultIterator</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <h1>Soprano::Client::DBusQueryResultIterator Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="Soprano::Client::DBusQueryResultIterator" --><!-- doxytag: inherits="Soprano::QueryResultIterator" --> <p>Interface to a DBus server query result iterator. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="dbusqueryresultiterator_8h_source.html">Soprano/Client/DBusQueryResultIterator</a>></code></p> <div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-0-trigger" src="closed.png"/> Inheritance diagram for Soprano::Client::DBusQueryResultIterator:</div> <div id="dynsection-0-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-0-content" class="dyncontent" style="display:none;"> <div class="center"><img src="classSoprano_1_1Client_1_1DBusQueryResultIterator__inherit__graph.png" border="0" usemap="#Soprano_1_1Client_1_1DBusQueryResultIterator_inherit__map" alt="Inheritance graph"/></div> <map name="Soprano_1_1Client_1_1DBusQueryResultIterator_inherit__map" id="Soprano_1_1Client_1_1DBusQueryResultIterator_inherit__map"> <area shape="rect" id="node2" href="classSoprano_1_1QueryResultIterator.html" title="An iterator for query results." alt="" coords="43,261,235,291"/><area shape="rect" id="node4" href="classSoprano_1_1Iterator.html" title="Soprano::Iterator\< BindingSet \>" alt="" coords="36,181,241,211"/><area shape="rect" id="node6" href="classSoprano_1_1Error_1_1ErrorCache.html" title="Core class of Soprano's exception system." alt="" coords="64,5,243,35"/><area shape="rect" id="node8" href="classSoprano_1_1Iterator.html" title="The basic Soprano iterator class." alt="" coords="155,85,304,115"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classSoprano_1_1Client_1_1DBusQueryResultIterator-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Client_1_1DBusQueryResultIterator.html#a235dad308a951d6e381fadad31a0d98c">DBusQueryResultIterator</a> (const <a class="elRef" href="qstring.html">QString</a> &serviceName, const <a class="elRef" href="qstring.html">QString</a> &dbusObject)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Interface to a DBus server query result iterator. </p> <p>The <a class="el" href="classSoprano_1_1Client_1_1DBusQueryResultIterator.html" title="Interface to a DBus server query result iterator.">DBusQueryResultIterator</a> provides a fully functional interface to a <a class="el" href="classSoprano_1_1QueryResultIterator.html" title="An iterator for query results.">QueryResultIterator</a> provided through a Soprano D-Bus server. It can thus, be seen as the counterpart to <a class="el" href="classSoprano_1_1Server_1_1DBusExportIterator.html" title="Exports a Soprano Iterator via D-Bus.">Server::DBusExportIterator</a>.</p> <p>Given the DBus service name and the object path of the <a class="el" href="classSoprano_1_1QueryResultIterator.html" title="An iterator for query results.">QueryResultIterator</a> in question it handles all DBus communication transparently.</p> <p>Normally there is no need to use this class directly as <a class="el" href="classSoprano_1_1Client_1_1DBusModel.html" title="Interface to a DBus server model.">DBusModel</a> does create instances of it on request.</p> <dl class="author"><dt><b>Author:</b></dt><dd>Sebastian Trueg <<a href="mailto:trueg@kde.org">trueg@kde.org</a>></dd></dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="soprano_server_dbus.html">Soprano D-Bus Interface</a></dd></dl> <dl class="since"><dt><b>Since:</b></dt><dd>2.1 </dd></dl> <p>Definition at line <a class="el" href="dbusqueryresultiterator_8h_source.html#l00051">51</a> of file <a class="el" href="dbusqueryresultiterator_8h_source.html">dbusqueryresultiterator.h</a>.</p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a235dad308a951d6e381fadad31a0d98c"></a><!-- doxytag: member="Soprano::Client::DBusQueryResultIterator::DBusQueryResultIterator" ref="a235dad308a951d6e381fadad31a0d98c" args="(const QString &serviceName, const QString &dbusObject)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Soprano::Client::DBusQueryResultIterator::DBusQueryResultIterator </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"> <em>serviceName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"> <em>dbusObject</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Create a new DBus <a class="el" href="classSoprano_1_1QueryResultIterator.html" title="An iterator for query results.">QueryResultIterator</a> interface.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>serviceName</em> </td><td>The name of the DBus service that provides the <a class="el" href="classSoprano_1_1QueryResultIterator.html" title="An iterator for query results.">QueryResultIterator</a>. </td></tr> <tr><td valign="top"></td><td valign="top"><em>dbusObject</em> </td><td>The path to the <a class="el" href="classSoprano_1_1QueryResultIterator.html" title="An iterator for query results.">QueryResultIterator</a> object in the DBus service. </td></tr> </table> </dd> </dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>/builddir/build/BUILD/soprano-2.5.2/client/dbus/<a class="el" href="dbusqueryresultiterator_8h_source.html">dbusqueryresultiterator.h</a></li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Thu Oct 21 2010 for Soprano by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address> </body> </html>