<?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-libqxt-v0.6.2/src/core/qxtdeplex.cpp --> <head> <title>QxtDeplex 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"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="modules.html"><font color="#004faf">Modules</font></a> · <a href="classes.html"><font color="#004faf">Classes</font></a> · <a href="namespaces.html"><font color="#004faf">Namespaces</font></a> · <a href="functions.html"><font color="#004faf">Functions</font></a></td> <td align="right" valign="top" width="230"></td></tr></table><h1 class="title">QxtDeplex Class Reference<br /><span class="small-subtitle">[<a href="qxtcore.html">QxtCore</a> module]</span> </h1> <p>The QxtDeplex class puts a standard <a href="http://doc.qtsoftware.com/4.5/qiodevice.html">QIODevice</a> into a <a href="qxtpipe.html">QxtPipe</a> chain <a href="#details">More...</a></p> <pre> #include <QxtDeplex></pre><p>Inherits <a href="qxtpipe.html">QxtPipe</a>.</p> <ul> <li><a href="qxtdeplex-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><b><a href="qxtdeplex.html#QxtDeplex">QxtDeplex</a></b> ( QObject * <i>parent</i> = 0 )</li> <li><div class="fn"></div><b><a href="qxtdeplex.html#QxtDeplex-2">QxtDeplex</a></b> ( QIODevice * <i>device</i>, QObject * <i>parent</i> = 0 )</li> <li><div class="fn"></div>QIODevice * <b><a href="qxtdeplex.html#device">device</a></b> () const</li> <li><div class="fn"></div>void <b><a href="qxtdeplex.html#setDevice">setDevice</a></b> ( QIODevice * <i>device</i> )</li> </ul> <ul> <li><div class="fn"></div>3 public functions inherited from <a href="qxtpipe.html#public-functions">QxtPipe</a></li> <li><div class="fn"></div>33 public functions inherited from <a href="http://doc.qtsoftware.com/4.5/qiodevice.html#public-functions">QIODevice</a></li> <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="protected-functions"></a> <h3>Protected Functions</h3> <ul> <li><div class="fn"></div>virtual void <b><a href="qxtdeplex.html#receiveData">receiveData</a></b> ( QByteArray <i>data</i>, const QxtPipe * <i>sender</i> )</li> <li><div class="fn"></div>virtual qint64 <b><a href="qxtdeplex.html#writeData">writeData</a></b> ( const char * <i>data</i>, qint64 <i>maxSize</i> )</li> </ul> <ul> <li><div class="fn"></div>3 protected functions inherited from <a href="qxtpipe.html#protected-functions">QxtPipe</a></li> <li><div class="fn"></div>5 protected functions inherited from <a href="http://doc.qtsoftware.com/4.5/qiodevice.html#protected-functions">QIODevice</a></li> <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>4 signals inherited from <a href="http://doc.qtsoftware.com/4.5/qiodevice.html#signals">QIODevice</a></li> <li><div class="fn"></div>1 signal inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#signals">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 QxtDeplex class puts a standard <a href="http://doc.qtsoftware.com/4.5/qiodevice.html">QIODevice</a> into a <a href="qxtpipe.html">QxtPipe</a> chain</p> <p>implements a normal <a href="qxtpipe.html">QxtPipe</a> with the exception that r/w operations are delegated to the device set by <a href="qxtdeplex.html#setDevice">setDevice</a>()</p> <p>See also <a href="http://doc.qtsoftware.com/4.5/qiodevice.html">QIODevice</a> and <a href="qxtpipe.html">QxtPipe</a>.</p> <hr /> <h2>Member Function Documentation</h2> <h3 class="fn"><a name="QxtDeplex"></a>QxtDeplex::QxtDeplex ( <a href="http://doc.qtsoftware.com/4.5/qobject.html">QObject</a> * <i>parent</i> = 0 )</h3> <p>creates a new <a href="qxtdeplex.html">QxtDeplex</a></p> <p>creates a new <a href="qxtdeplex.html">QxtDeplex</a> and delegates r/w operations to the device</p> <p>delegate r/w operations to the device</p> <p>returns the device currently delegated</p> <h3 class="fn"><a name="QxtDeplex-2"></a>QxtDeplex::QxtDeplex ( <a href="http://doc.qtsoftware.com/4.5/qiodevice.html">QIODevice</a> * <i>device</i>, <a href="http://doc.qtsoftware.com/4.5/qobject.html">QObject</a> * <i>parent</i> = 0 )</h3> <p>creates a new <a href="qxtdeplex.html">QxtDeplex</a></p> <p>creates a new <a href="qxtdeplex.html">QxtDeplex</a> and delegates r/w operations to the device</p> <p>delegate r/w operations to the device</p> <p>returns the device currently delegated</p> <h3 class="fn"><a name="device"></a><a href="http://doc.qtsoftware.com/4.5/qiodevice.html">QIODevice</a> * QxtDeplex::device () const</h3> <p>creates a new <a href="qxtdeplex.html">QxtDeplex</a></p> <p>creates a new <a href="qxtdeplex.html">QxtDeplex</a> and delegates r/w operations to the device</p> <p>delegate r/w operations to the device</p> <p>returns the device currently delegated</p> <p>See also <a href="qxtdeplex.html#setDevice">setDevice</a>().</p> <h3 class="fn"><a name="receiveData"></a>void QxtDeplex::receiveData ( <a href="http://doc.qtsoftware.com/4.5/qbytearray.html">QByteArray</a> <i>data</i>, const <a href="qxtpipe.html">QxtPipe</a> * <i>sender</i> ) <tt> [virtual protected]</tt></h3> <p>creates a new <a href="qxtdeplex.html">QxtDeplex</a></p> <p>creates a new <a href="qxtdeplex.html">QxtDeplex</a> and delegates r/w operations to the device</p> <p>delegate r/w operations to the device</p> <p>returns the device currently delegated</p> <p>Reimplemented from <a href="qxtpipe.html#receiveData">QxtPipe</a>.</p> <h3 class="fn"><a name="setDevice"></a>void QxtDeplex::setDevice ( <a href="http://doc.qtsoftware.com/4.5/qiodevice.html">QIODevice</a> * <i>device</i> )</h3> <p>creates a new <a href="qxtdeplex.html">QxtDeplex</a></p> <p>creates a new <a href="qxtdeplex.html">QxtDeplex</a> and delegates r/w operations to the device</p> <p>delegate r/w operations to the device</p> <p>returns the device currently delegated</p> <p>See also <a href="qxtdeplex.html#device">device</a>().</p> <h3 class="fn"><a name="writeData"></a><a href="http://doc.qtsoftware.com/4.5/qtglobal.html#qint64-typedef">qint64</a> QxtDeplex::writeData ( const char * <i>data</i>, <a href="http://doc.qtsoftware.com/4.5/qtglobal.html#qint64-typedef">qint64</a> <i>maxSize</i> ) <tt> [virtual protected]</tt></h3> <p /><address><hr /><div align="center"> <table width="100%" cellspacing="0" border="0"><tr class="address"> <td align="left">Copyright © 2007-2011 <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.2</div></td> </tr></table></div></address></body> </html>