Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > d2229253b8f3127ab89b179a82cc8466 > files > 517

libqxt-devel-0.6.1-2.fc15.i686.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- /builddir/build/BUILD/libqxt/src/network/qxtjsonrpccall.cpp -->
<head>
  <title>QxtJSONRpcCall Class Reference</title>
  <link href="stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><a href="http://libqxt.org"><img src="images/qxt-logo.png" width="50" height="40" align="left" border="0" /></a></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">Classes</font></a>&nbsp;&middot; <a href="namespaces.html"><font color="#004faf">Namespaces</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
<td align="right" valign="top" width="230"></td></tr></table><h1 class="title">QxtJSONRpcCall Class Reference<br /><span class="small-subtitle">[<a href="qxtnetwork.html">QxtNetwork</a> module]</span>
</h1>
<p>The QxtJSONRpcCall class represents a Call to an JSON-RPC Service. <a href="#details">More...</a></p>
<pre>    #include &lt;QxtJSONRpcCall&gt;</pre><p>Inherits <a href="http://doc.qtsoftware.com/4.5/qobject.html">QObject</a>.</p>
<ul>
<li><a href="qxtjsonrpccall-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h3>Public Functions</h3>
<ul>
<li><div class="fn"></div>QNetworkReply::NetworkError <b><a href="qxtjsonrpccall.html#error">error</a></b> () const</li>
<li><div class="fn"></div>bool <b><a href="qxtjsonrpccall.html#isFault">isFault</a></b> () const</li>
<li><div class="fn"></div>QVariant <b><a href="qxtjsonrpccall.html#result">result</a></b> () const</li>
</ul>
<ul>
<li><div class="fn"></div>29 public functions inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#public-functions">QObject</a></li>
</ul>
<a name="signals"></a>
<h3>Signals</h3>
<ul>
<li><div class="fn"></div>void <b><a href="qxtjsonrpccall.html#downloadProgress">downloadProgress</a></b> ( qint64 <i>bytesReceived</i>, qint64 <i>bytesTotal</i> )</li>
<li><div class="fn"></div>void <b><a href="qxtjsonrpccall.html#error-2">error</a></b> ( QNetworkReply::NetworkError <i>code</i> )</li>
<li><div class="fn"></div>void <b><a href="qxtjsonrpccall.html#finished">finished</a></b> ()</li>
<li><div class="fn"></div>void <b><a href="qxtjsonrpccall.html#sslErrors">sslErrors</a></b> ( const QList&lt;QSslError&gt; &amp; <i>errors</i> )</li>
<li><div class="fn"></div>void <b><a href="qxtjsonrpccall.html#uploadProgress">uploadProgress</a></b> ( qint64 <i>bytesSent</i>, qint64 <i>bytesTotal</i> )</li>
</ul>
<ul>
<li><div class="fn"></div>1 signal inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#signals">QObject</a></li>
</ul>
<a name="protected-functions"></a>
<h3>Protected Functions</h3>
<ul>
<li><div class="fn"></div><b><a href="qxtjsonrpccall.html#QxtJSONRpcCall">QxtJSONRpcCall</a></b> ( QNetworkReply * <i>reply</i> )</li>
</ul>
<ul>
<li><div class="fn"></div>7 protected functions inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#protected-functions">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li><div class="fn"></div>1 property inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#properties">QObject</a></li>
<li><div class="fn"></div>1 public slot inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#public-slots">QObject</a></li>
<li><div class="fn"></div>1 public type inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#public-variables">QObject</a></li>
<li><div class="fn"></div>4 static public members inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#static-public-members">QObject</a></li>
<li><div class="fn"></div>2 protected variables inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#protected-variables">QObject</a></li>
</ul>
<a name="details"></a>
<hr />
<h2>Detailed Description</h2>
<p>The QxtJSONRpcCall class represents a Call to an JSON-RPC Service.</p>
<hr />
<h2>Member Function Documentation</h2>
<h3 class="fn"><a name="QxtJSONRpcCall"></a>QxtJSONRpcCall::QxtJSONRpcCall ( <a href="http://doc.qtsoftware.com/4.5/qnetworkreply.html">QNetworkReply</a> * <i>reply</i> )&nbsp;&nbsp;<tt> [protected]</tt></h3>
<h3 class="fn"><a name="downloadProgress"></a>void QxtJSONRpcCall::downloadProgress ( <a href="http://doc.qtsoftware.com/4.5/qtglobal.html#qint64-typedef">qint64</a> <i>bytesReceived</i>, <a href="http://doc.qtsoftware.com/4.5/qtglobal.html#qint64-typedef">qint64</a> <i>bytesTotal</i> )&nbsp;&nbsp;<tt> [signal]</tt></h3>
<p>This signal is emitted to indicate the progress of retreiving the response from the remote service</p>
<p>See also <a href="http://doc.qtsoftware.com/4.5/qnetworkreply.html#downloadProgress">QNetworkReply::downloadProgress</a>().</p>
<h3 class="fn"><a name="error"></a><a href="http://doc.qtsoftware.com/4.5/qnetworkreply.html#NetworkError-enum">QNetworkReply::NetworkError</a> QxtJSONRpcCall::error () const</h3>
<p>returns an associated network error.</p>
<h3 class="fn"><a name="error-2"></a>void QxtJSONRpcCall::error ( <a href="http://doc.qtsoftware.com/4.5/qnetworkreply.html#NetworkError-enum">QNetworkReply::NetworkError</a> <i>code</i> )&nbsp;&nbsp;<tt> [signal]</tt></h3>
<p>Signals a network error</p>
<p>See also <a href="http://doc.qtsoftware.com/4.5/qnetworkreply.html#error">QNetworkReply::error</a>().</p>
<h3 class="fn"><a name="finished"></a>void QxtJSONRpcCall::finished ()&nbsp;&nbsp;<tt> [signal]</tt></h3>
<p>emitted once the result is fully available</p>
<p>See also <a href="http://doc.qtsoftware.com/4.5/qnetworkreply.html#finished">QNetworkReply::finished</a>().</p>
<h3 class="fn"><a name="isFault"></a>bool QxtJSONRpcCall::isFault () const</h3>
<p>returns true if the remote service sent a fault message</p>
<h3 class="fn"><a name="result"></a><a href="http://doc.qtsoftware.com/4.5/qvariant.html">QVariant</a> QxtJSONRpcCall::result () const</h3>
<p>returns the result or fault message or a null <a href="http://doc.qtsoftware.com/4.5/porting4.html">QVariant</a>() if the call isnt finished yet</p>
<p>See also <a href="qxtjson.html#type-conversion">QxtJSON#type-conversion</a>.</p>
<h3 class="fn"><a name="sslErrors"></a>void QxtJSONRpcCall::sslErrors ( const <a href="http://doc.qtsoftware.com/4.5/qlist.html">QList</a>&lt;<a href="http://doc.qtsoftware.com/4.5/qsslerror.html">QSslError</a>&gt; &amp; <i>errors</i> )&nbsp;&nbsp;<tt> [signal]</tt></h3>
<p>See also <a href="http://doc.qtsoftware.com/4.5/qnetworkreply.html#sslErrors">QNetworkReply::sslErrors</a>().</p>
<h3 class="fn"><a name="uploadProgress"></a>void QxtJSONRpcCall::uploadProgress ( <a href="http://doc.qtsoftware.com/4.5/qtglobal.html#qint64-typedef">qint64</a> <i>bytesSent</i>, <a href="http://doc.qtsoftware.com/4.5/qtglobal.html#qint64-typedef">qint64</a> <i>bytesTotal</i> )&nbsp;&nbsp;<tt> [signal]</tt></h3>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td align="left">Copyright &copy; 2007-2010
<a href="mailto:foundation@libqxt.org">Qxt Foundation</a></td>
<td align="right"><div align="right">
<a href="http://libqxt.org">Qxt</a> 0.6.1</div></td>
</tr></table></div></address></body>
</html>