<?xml version="1.0" encoding="UTF-8"?> <!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" lang="en" xml:lang="en"> <head> <title>KIMAP::ImapStreamParser Class Reference</title> <style type="text/css"> .cp-doNotDisplay { display: none; } @media aural, braille, handheld, tty { .cp-doNotDisplay { display: inline; speak: normal; }} .cp-edit { text-align: right; } @media print, embossed { .cp-edit { display: none; }} </style> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <link rel="meta" href="http://www.kde.org/labels.rdf" type="application/rdf+xml" title="ICRA labels" /> <meta name="trademark" content="KDE e.V." /> <meta name="description" content="K Desktop Environment Homepage, KDE.org" /> <meta name="MSSmartTagsPreventParsing" content="true" /> <meta name="robots" content="all" /> <meta name="no-email-collection" content="http://www.unspam.com/noemailcollection" /> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link rel="shortcut icon" href="../../favicon.ico" /><link rel="icon" href="../../favicon.ico" /> <link rel="stylesheet" media="screen" type="text/css" title="KDE Colors" href="../../kde.css" /> <link rel="stylesheet" media="print, embossed" type="text/css" href="../../print.css" /> <link rel="stylesheet" media="screen, aural, handheld, tty, braille" type="text/css" title="Flat" href="../../flat.css" /> <link rel="stylesheet" type="text/css" href="../../doxygen.css" /> <link rel="stylesheet" type="text/css" href="../../tabs.css" /> </head> <body> <ul class="cp-doNotDisplay"> <li><a href="#cp-content" accesskey="2">Skip to content</a></li> <li><a href="#cp-menu" accesskey="5">Skip to link menu</a></li> </ul> <div id="container"> <div id="header"> <div id="header_top"><div><div> <img alt ="" src="../../top-kde.jpg"/> </div></div></div> <div id="header_bottom"> <div id="location"> <ul> <li><a href="http://api.kde.org">KDE API Reference</a></li> <li><a href="../../index.html">kdepimlibs-4.10.5 API Reference</a></li> </ul> </div> <div id="menu"> <ul> <li><a href="http://www.kde.org/">KDE Home</a></li> <li><a href="http://kde.org/contact/">Contact Us</a></li> </ul> </div> </div> </div> <!-- End page header --> <div id="body_wrapper"> <div id="body"> <!-- begin main content --> <div id="right"> <div class="content"> <div id="main"> <div class="clearer"> </div> <h2><a name="content"></a>KIMAP Library</h2> <!-- BC --> <div id="top"> <!-- Generated by Doxygen 1.8.3.1 --> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><b>KIMAP</b></li><li class="navelem"><a class="el" href="classKIMAP_1_1ImapStreamParser.html">ImapStreamParser</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="classKIMAP_1_1ImapStreamParser-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">KIMAP::ImapStreamParser Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><code>#include <<a class="el" href="imapstreamparser_8h_source.html">imapstreamparser.h</a>></code></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a075fe49ec1064f4ac988e5670007e613"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIMAP_1_1ImapStreamParser.html#a075fe49ec1064f4ac988e5670007e613">ImapStreamParser</a> (QIODevice *socket, bool serverModeEnabled=false)</td></tr> <tr class="separator:a075fe49ec1064f4ac988e5670007e613"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5f80b037115962a8604f01b448654378"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIMAP_1_1ImapStreamParser.html#a5f80b037115962a8604f01b448654378">~ImapStreamParser</a> ()</td></tr> <tr class="separator:a5f80b037115962a8604f01b448654378"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2fcd553008ff0149dca51622ac8e9170"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIMAP_1_1ImapStreamParser.html#a2fcd553008ff0149dca51622ac8e9170">atCommandEnd</a> ()</td></tr> <tr class="separator:a2fcd553008ff0149dca51622ac8e9170"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1ef20de4d4f38d298a00e08d1344fe09"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIMAP_1_1ImapStreamParser.html#a1ef20de4d4f38d298a00e08d1344fe09">atListEnd</a> ()</td></tr> <tr class="separator:a1ef20de4d4f38d298a00e08d1344fe09"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aef787d3a33d69c9e105f2e8448c5b35f"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIMAP_1_1ImapStreamParser.html#aef787d3a33d69c9e105f2e8448c5b35f">atLiteralEnd</a> () const </td></tr> <tr class="separator:aef787d3a33d69c9e105f2e8448c5b35f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2dfb0818d77253ccca91f977749180a9"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIMAP_1_1ImapStreamParser.html#a2dfb0818d77253ccca91f977749180a9">atResponseCodeEnd</a> ()</td></tr> <tr class="separator:a2dfb0818d77253ccca91f977749180a9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae6f8bc0c29f6e25d7aa3f2d88d188549"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae6f8bc0c29f6e25d7aa3f2d88d188549"></a> int </td><td class="memItemRight" valign="bottom"><b>availableDataSize</b> () const </td></tr> <tr class="separator:ae6f8bc0c29f6e25d7aa3f2d88d188549"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a22301d276ec080255ec706a11fea83db"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIMAP_1_1ImapStreamParser.html#a22301d276ec080255ec706a11fea83db">hasList</a> ()</td></tr> <tr class="separator:a22301d276ec080255ec706a11fea83db"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6835ff284a91dad09c8302eab1839369"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIMAP_1_1ImapStreamParser.html#a6835ff284a91dad09c8302eab1839369">hasLiteral</a> ()</td></tr> <tr class="separator:a6835ff284a91dad09c8302eab1839369"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac858a5c9c39f2d052ea5d1ebf44ea731"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIMAP_1_1ImapStreamParser.html#ac858a5c9c39f2d052ea5d1ebf44ea731">hasResponseCode</a> ()</td></tr> <tr class="separator:ac858a5c9c39f2d052ea5d1ebf44ea731"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aaac747127d08954f7465efb6669e651a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIMAP_1_1ImapStreamParser.html#aaac747127d08954f7465efb6669e651a">hasString</a> ()</td></tr> <tr class="separator:aaac747127d08954f7465efb6669e651a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af1460d57a5dd07f5b5a43c285e42efee"><td class="memItemLeft" align="right" valign="top">QByteArray </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIMAP_1_1ImapStreamParser.html#af1460d57a5dd07f5b5a43c285e42efee">readLiteralPart</a> ()</td></tr> <tr class="separator:af1460d57a5dd07f5b5a43c285e42efee"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab3a92a87334862275d9bd538ad5ce41a"><td class="memItemLeft" align="right" valign="top">qint64 </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIMAP_1_1ImapStreamParser.html#ab3a92a87334862275d9bd538ad5ce41a">readNumber</a> (bool *ok=0)</td></tr> <tr class="separator:ab3a92a87334862275d9bd538ad5ce41a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a107b3a37858ef0ad7a4fe4d7a3d07fdc"><td class="memItemLeft" align="right" valign="top">QList< QByteArray > </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIMAP_1_1ImapStreamParser.html#a107b3a37858ef0ad7a4fe4d7a3d07fdc">readParenthesizedList</a> ()</td></tr> <tr class="separator:a107b3a37858ef0ad7a4fe4d7a3d07fdc"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a681febd7dd43fb52ba7f92fb980b99b9"><td class="memItemLeft" align="right" valign="top">QByteArray </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIMAP_1_1ImapStreamParser.html#a681febd7dd43fb52ba7f92fb980b99b9">readRemainingData</a> ()</td></tr> <tr class="separator:a681febd7dd43fb52ba7f92fb980b99b9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a85961483d09fc13e84b5c4ce904e6d32"><td class="memItemLeft" align="right" valign="top">QByteArray </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIMAP_1_1ImapStreamParser.html#a85961483d09fc13e84b5c4ce904e6d32">readString</a> ()</td></tr> <tr class="separator:a85961483d09fc13e84b5c4ce904e6d32"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abc60834dae2ddd7f3f76fb3c4ef864ba"><td class="memItemLeft" align="right" valign="top">QByteArray </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIMAP_1_1ImapStreamParser.html#abc60834dae2ddd7f3f76fb3c4ef864ba">readUntilCommandEnd</a> ()</td></tr> <tr class="separator:abc60834dae2ddd7f3f76fb3c4ef864ba"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af118c627d84f84a408ab0d157f27e55f"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIMAP_1_1ImapStreamParser.html#af118c627d84f84a408ab0d157f27e55f">readUtf8String</a> ()</td></tr> <tr class="separator:af118c627d84f84a408ab0d157f27e55f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a80551917d9a4cc5444ccdd261eb1ed6c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a80551917d9a4cc5444ccdd261eb1ed6c"></a> void </td><td class="memItemRight" valign="bottom"><b>setData</b> (const QByteArray &data)</td></tr> <tr class="separator:a80551917d9a4cc5444ccdd261eb1ed6c"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Parser for IMAP messages that operates on a local socket stream. </p> <p>Definition at line <a class="el" href="imapstreamparser_8h_source.html#l00053">53</a> of file <a class="el" href="imapstreamparser_8h_source.html">imapstreamparser.h</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a075fe49ec1064f4ac988e5670007e613"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">ImapStreamParser::ImapStreamParser </td> <td>(</td> <td class="paramtype">QIODevice * </td> <td class="paramname"><em>socket</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>serverModeEnabled</em> = <code>false</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">explicit</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Construct the parser. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">socket</td><td>the local socket to work with. </td></tr> <tr><td class="paramname">serverModeEnabled</td><td>true if the parser has to assume we're writing a server (e.g. sends continuation message automatically) </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="imapstreamparser_8cpp_source.html#l00031">31</a> of file <a class="el" href="imapstreamparser_8cpp_source.html">imapstreamparser.cpp</a>.</p> </div> </div> <a class="anchor" id="a5f80b037115962a8604f01b448654378"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">ImapStreamParser::~ImapStreamParser </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Destructor. </p> <p>Definition at line <a class="el" href="imapstreamparser_8cpp_source.html#l00039">39</a> of file <a class="el" href="imapstreamparser_8cpp_source.html">imapstreamparser.cpp</a>.</p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a2fcd553008ff0149dca51622ac8e9170"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool ImapStreamParser::atCommandEnd </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Check if the command end was reached. </p> <dl class="section return"><dt>Returns</dt><dd>true if the end of command is reached </dd></dl> <p>Definition at line <a class="el" href="imapstreamparser_8cpp_source.html#l00490">490</a> of file <a class="el" href="imapstreamparser_8cpp_source.html">imapstreamparser.cpp</a>.</p> </div> </div> <a class="anchor" id="a1ef20de4d4f38d298a00e08d1344fe09"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool ImapStreamParser::atListEnd </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Check if the next data is a parenthesized list end. </p> <p>This call might block. </p> <dl class="section return"><dt>Returns</dt><dd>true if a parenthesized list end. </dd></dl> <p>Definition at line <a class="el" href="imapstreamparser_8cpp_source.html#l00185">185</a> of file <a class="el" href="imapstreamparser_8cpp_source.html">imapstreamparser.cpp</a>.</p> </div> </div> <a class="anchor" id="aef787d3a33d69c9e105f2e8448c5b35f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool ImapStreamParser::atLiteralEnd </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Check if the literal data end was reached. </p> <p>See <a class="el" href="classKIMAP_1_1ImapStreamParser.html#a6835ff284a91dad09c8302eab1839369">hasLiteral</a> and <a class="el" href="classKIMAP_1_1ImapStreamParser.html#af1460d57a5dd07f5b5a43c285e42efee">readLiteralPart</a> . </p> <dl class="section return"><dt>Returns</dt><dd>true if the literal was completely read. </dd></dl> <p>Definition at line <a class="el" href="imapstreamparser_8cpp_source.html#l00142">142</a> of file <a class="el" href="imapstreamparser_8cpp_source.html">imapstreamparser.cpp</a>.</p> </div> </div> <a class="anchor" id="a2dfb0818d77253ccca91f977749180a9"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool ImapStreamParser::atResponseCodeEnd </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Check if the next data is a response code end. </p> <p>This call might block. </p> <dl class="section return"><dt>Returns</dt><dd>true if a response code end. </dd></dl> <p>Definition at line <a class="el" href="imapstreamparser_8cpp_source.html#l00316">316</a> of file <a class="el" href="imapstreamparser_8cpp_source.html">imapstreamparser.cpp</a>.</p> </div> </div> <a class="anchor" id="a22301d276ec080255ec706a11fea83db"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool ImapStreamParser::hasList </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Check if the next data is a parenthesized list. </p> <p>This call might block. </p> <dl class="section return"><dt>Returns</dt><dd>true if a parenthesized list comes. </dd></dl> <p>Definition at line <a class="el" href="imapstreamparser_8cpp_source.html#l00170">170</a> of file <a class="el" href="imapstreamparser_8cpp_source.html">imapstreamparser.cpp</a>.</p> </div> </div> <a class="anchor" id="a6835ff284a91dad09c8302eab1839369"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool ImapStreamParser::hasLiteral </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Check if the next data is a literal data or not. </p> <p>If a literal is found, the internal position pointer is set to the beginning of the literal data. This call might block. </p> <dl class="section return"><dt>Returns</dt><dd>true if a literal follows </dd></dl> <p>Definition at line <a class="el" href="imapstreamparser_8cpp_source.html#l00104">104</a> of file <a class="el" href="imapstreamparser_8cpp_source.html">imapstreamparser.cpp</a>.</p> </div> </div> <a class="anchor" id="ac858a5c9c39f2d052ea5d1ebf44ea731"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool ImapStreamParser::hasResponseCode </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Check if the next data is a response code. </p> <p>This call might block. </p> <dl class="section return"><dt>Returns</dt><dd>true if a response code comes. </dd></dl> <p>Definition at line <a class="el" href="imapstreamparser_8cpp_source.html#l00300">300</a> of file <a class="el" href="imapstreamparser_8cpp_source.html">imapstreamparser.cpp</a>.</p> </div> </div> <a class="anchor" id="aaac747127d08954f7465efb6669e651a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool ImapStreamParser::hasString </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Check if the next data is a string or not. </p> <p>This call might block. </p> <dl class="section return"><dt>Returns</dt><dd>true if a string follows </dd></dl> <p>Definition at line <a class="el" href="imapstreamparser_8cpp_source.html#l00076">76</a> of file <a class="el" href="imapstreamparser_8cpp_source.html">imapstreamparser.cpp</a>.</p> </div> </div> <a class="anchor" id="af1460d57a5dd07f5b5a43c285e42efee"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QByteArray ImapStreamParser::readLiteralPart </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Read the next literal sequence. </p> <p>This might or might not be the full data. Example code to read a literal would be: </p> <div class="fragment"><div class="line"><a class="code" href="classKIMAP_1_1ImapStreamParser.html#a075fe49ec1064f4ac988e5670007e613" title="Construct the parser.">ImapStreamParser</a> parser;</div> <div class="line"> ...</div> <div class="line">if (parser.hasLiteral())</div> <div class="line">{</div> <div class="line"> <span class="keywordflow">while</span> (!parser.atLiteralEnd())</div> <div class="line"> {</div> <div class="line"> QByteArray data = parser.readLiteralPart();</div> <div class="line"> <span class="comment">// do something with the data</span></div> <div class="line"> }</div> <div class="line">}</div> </div><!-- fragment --><p>This call might block.</p> <dl class="section return"><dt>Returns</dt><dd>part of a literal data </dd></dl> <p>Definition at line <a class="el" href="imapstreamparser_8cpp_source.html#l00147">147</a> of file <a class="el" href="imapstreamparser_8cpp_source.html">imapstreamparser.cpp</a>.</p> </div> </div> <a class="anchor" id="ab3a92a87334862275d9bd538ad5ce41a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">qint64 ImapStreamParser::readNumber </td> <td>(</td> <td class="paramtype">bool * </td> <td class="paramname"><em>ok</em> = <code>0</code></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get the next data as a number. </p> <p>This call might block. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">ok</td><td>true if the data found was a number </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the number </dd></dl> <p>Definition at line <a class="el" href="imapstreamparser_8cpp_source.html#l00418">418</a> of file <a class="el" href="imapstreamparser_8cpp_source.html">imapstreamparser.cpp</a>.</p> </div> </div> <a class="anchor" id="a107b3a37858ef0ad7a4fe4d7a3d07fdc"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QList< QByteArray > ImapStreamParser::readParenthesizedList </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get he next parenthesized list. </p> <p>If the upcoming data is not a parenthesized list, the behavior is undefined. Use <a class="el" href="classKIMAP_1_1ImapStreamParser.html#a22301d276ec080255ec706a11fea83db">hasList</a> to be sure a string comes. This call might block. </p> <dl class="section return"><dt>Returns</dt><dd>the next parenthesized list. </dd></dl> <p>Definition at line <a class="el" href="imapstreamparser_8cpp_source.html#l00201">201</a> of file <a class="el" href="imapstreamparser_8cpp_source.html">imapstreamparser.cpp</a>.</p> </div> </div> <a class="anchor" id="a681febd7dd43fb52ba7f92fb980b99b9"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QByteArray ImapStreamParser::readRemainingData </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Return all the data that was read from the socket, but not processed yet. </p> <dl class="section return"><dt>Returns</dt><dd>the remaining unprocessed data </dd></dl> <p>Definition at line <a class="el" href="imapstreamparser_8cpp_source.html#l00480">480</a> of file <a class="el" href="imapstreamparser_8cpp_source.html">imapstreamparser.cpp</a>.</p> </div> </div> <a class="anchor" id="a85961483d09fc13e84b5c4ce904e6d32"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QByteArray ImapStreamParser::readString </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Same as above, but without decoding it to utf8. </p> <dl class="section return"><dt>Returns</dt><dd>the next string from the message </dd></dl> <p>Definition at line <a class="el" href="imapstreamparser_8cpp_source.html#l00052">52</a> of file <a class="el" href="imapstreamparser_8cpp_source.html">imapstreamparser.cpp</a>.</p> </div> </div> <a class="anchor" id="abc60834dae2ddd7f3f76fb3c4ef864ba"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QByteArray ImapStreamParser::readUntilCommandEnd </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Return everything that remained from the command. </p> <dl class="section return"><dt>Returns</dt><dd>the remaining command data </dd></dl> <p>Definition at line <a class="el" href="imapstreamparser_8cpp_source.html#l00517">517</a> of file <a class="el" href="imapstreamparser_8cpp_source.html">imapstreamparser.cpp</a>.</p> </div> </div> <a class="anchor" id="af118c627d84f84a408ab0d157f27e55f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString ImapStreamParser::readUtf8String </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get a string from the message. </p> <p>If the upcoming data is not a quoted string, unquoted string or a literal, the behavior is undefined. Use <a class="el" href="classKIMAP_1_1ImapStreamParser.html#aaac747127d08954f7465efb6669e651a">hasString</a> to be sure a string comes. This call might block. </p> <dl class="section return"><dt>Returns</dt><dd>the next string from the message as an utf8 string </dd></dl> <p>Definition at line <a class="el" href="imapstreamparser_8cpp_source.html#l00043">43</a> of file <a class="el" href="imapstreamparser_8cpp_source.html">imapstreamparser.cpp</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="imapstreamparser_8h_source.html">imapstreamparser.h</a></li> <li><a class="el" href="imapstreamparser_8cpp_source.html">imapstreamparser.cpp</a></li> </ul> </div><!-- contents --> <div class="copyrights"> This file is part of the KDE documentation.<br/> Documentation copyright © 1996-2013 The KDE developers.<br/> Generated on Fri Jul 12 2013 16:48:09 by <a href="http://www.doxygen.org/index.html">doxygen</a> 1.8.3.1 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, © 1997-2006 <p> KDE's <a href="http://techbase.kde.org/Policies/Library_Documentation_Policy">Doxygen guidelines</a> are available online. </p> </div> </div> </div> </div> <div id="left"> <div class="menu_box"> <a name="cp-menu" /><div class="menutitle"><div> <h2 id="cp-menu-project">KIMAP Library</h2> <a href="#cp-skip-project" class="cp-doNotDisplay">Skip menu "KIMAP Library"</a> </div></div> <ul><li><a href="index.html">Main Page</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="namespacemembers.html">Namespace Members</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="functions.html">Class Members</a></li><li><a href="files.html">File List</a></li><li><a href="pages.html">Related Pages</a></li></ul> <!-- <h2>Class Picker</h2> <div style="text-align: center;"> <form name="guideform"> <select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value"> <option value="annotated.html">-- Choose --</option> <option value="classKIMAP_1_1AclJobBase.html">kimap::acljobbase</option>, <option value="classKIMAP_1_1AppendJob.html">kimap::appendjob</option>, <option value="classKIMAP_1_1CapabilitiesJob.html">kimap::capabilitiesjob</option>, <option value="classKIMAP_1_1CloseJob.html">kimap::closejob</option>, <option value="classKIMAP_1_1CopyJob.html">kimap::copyjob</option>, <option value="classKIMAP_1_1CreateJob.html">kimap::createjob</option>, <option value="classKIMAP_1_1DeleteAclJob.html">kimap::deleteacljob</option>, <option value="classKIMAP_1_1DeleteJob.html">kimap::deletejob</option>, <option value="classKIMAP_1_1ExpungeJob.html">kimap::expungejob</option>, <option value="classKIMAP_1_1FetchJob.html">kimap::fetchjob</option>, <option value="classKIMAP_1_1GetAclJob.html">kimap::getacljob</option>, <option value="classKIMAP_1_1GetMetaDataJob.html">kimap::getmetadatajob</option>, <option value="classKIMAP_1_1GetQuotaJob.html">kimap::getquotajob</option>, <option value="classKIMAP_1_1GetQuotaRootJob.html">kimap::getquotarootjob</option>, <option value="classKIMAP_1_1IdleJob.html">kimap::idlejob</option>, <option value="classKIMAP_1_1ImapInterval.html">kimap::imapinterval</option>, <option value="classKIMAP_1_1ImapSet.html">kimap::imapset</option>, <option value="classKIMAP_1_1ImapStreamParser.html">kimap::imapstreamparser</option>, <option value="classKIMAP_1_1ListRightsJob.html">kimap::listrightsjob</option>, <option value="classKIMAP_1_1MetaDataJobBase.html">kimap::metadatajobbase</option>, <option value="classKIMAP_1_1MyRightsJob.html">kimap::myrightsjob</option>, <option value="classKIMAP_1_1QuotaJobBase.html">kimap::quotajobbase</option>, <option value="classKIMAP_1_1SessionUiProxy.html">kimap::sessionuiproxy</option>, <option value="classKIMAP_1_1SetAclJob.html">kimap::setacljob</option>, <option value="classKIMAP_1_1SetMetaDataJob.html">kimap::setmetadatajob</option>, <option value="classKIMAP_1_1SetQuotaJob.html">kimap::setquotajob</option>, </select> </form> </div> --> <div class="menu_box"> <a name="cp-menu" /><div class="menutitle"><div> <h2 id="cp-menu-project">kdepimlibs-4.10.5 API Reference</h2> <a href="#cp-skip-project" class="cp-doNotDisplay">Skip menu "kdepimlibs-4.10.5 API Reference"</a> </div></div> <div class="nav_list"> <ul> <li><a href="../../akonadi/html/index.html">akonadi</a></li><li> <a href="../../akonadi/contact/html/index.html">contact</a></li><li> <a href="../../akonadi/kmime/html/index.html">kmime</a></li><li> <a href="../../akonadi/socialutils/html/index.html">socialutils</a></li><li><a href="../../kabc/html/index.html">kabc</a></li><li><a href="../../kalarmcal/html/index.html">kalarmcal</a></li><li><a href="../../kblog/html/index.html">kblog</a></li><li><a href="../../kcal/html/index.html">kcal</a></li><li><a href="../../kcalcore/html/index.html">kcalcore</a></li><li><a href="../../kcalutils/html/index.html">kcalutils</a></li><li><a href="../../kholidays/html/index.html">kholidays</a></li><li><a href="../../kimap/html/index.html">kimap</a></li><li><a href="../../kioslave/html/index.html">kioslave</a></li><li> <a href="../../kioslave/imap4/html/index.html">imap4</a></li><li> <a href="../../kioslave/mbox/html/index.html">mbox</a></li><li> <a href="../../kioslave/nntp/html/index.html">nntp</a></li><li><a href="../../kldap/html/index.html">kldap</a></li><li><a href="../../kmbox/html/index.html">kmbox</a></li><li><a href="../../kmime/html/index.html">kmime</a></li><li><a href="../../kontactinterface/html/index.html">kontactinterface</a></li><li><a href="../../kpimidentities/html/index.html">kpimidentities</a></li><li><a href="../../kpimtextedit/html/index.html">kpimtextedit</a></li><li><a href="../../kpimutils/html/index.html">kpimutils</a></li><li><a href="../../kresources/html/index.html">kresources</a></li><li><a href="../../ktnef/html/index.html">ktnef</a></li><li><a href="../../kxmlrpcclient/html/index.html">kxmlrpcclient</a></li><li><a href="../../mailtransport/html/index.html">mailtransport</a></li><li><a href="../../microblog/html/index.html">microblog</a></li><li><a href="../../qgpgme/html/index.html">qgpgme</a></li><li><a href="../../syndication/html/index.html">syndication</a></li><li> <a href="../../syndication/atom/html/index.html">atom</a></li><li> <a href="../../syndication/rdf/html/index.html">rdf</a></li><li> <a href="../../syndication/rss2/html/index.html">rss2</a></li> </ul></div></div> <!-- api_searchbox --> </div> </div> <div class="clearer"></div> </div> <div class="clearer"></div> </div> <div id="end_body"></div> <div id="footer"><div id="footer_text"> Report problems with this website to <a href="https://bugs.kde.org/enter_sysadmin_request.cgi?component=api.kde.org">our bug tracking system</a>.<br> Contact the specific authors with questions and comments about the page contents.<p> KDE<sup>®</sup> and <a href="/media/images/kde_gear_black.png">the K Desktop Environment<sup>®</sup> logo</a> are registered trademarks of <a href="http://ev.kde.org/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> | <a href="http://www.kde.org/contact/impressum.php">Legal</a></p> </div></div> </div> <!-- WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL BE BLOCKED INSTANTLY AND PERMANENTLY! <a href="mailto:aaaatrap-45abe0e0c3bebc77@kde.org">Block me</a> WARNING END --> </body> </html>