<?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>MailTransport::ServerTest 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>mailtransport</h2> <!-- BC --> <div id="top"> <!-- Generated by Doxygen 1.8.3.1 --> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><b>MailTransport</b></li><li class="navelem"><a class="el" href="classMailTransport_1_1ServerTest.html">ServerTest</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#signals">Signals</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#properties">Properties</a> | <a href="classMailTransport_1_1ServerTest-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">MailTransport::ServerTest Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><code>#include <<a class="el" href="servertest_8h_source.html">servertest.h</a>></code></p> <p>Inherits QWidget.</p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> Public Types</h2></td></tr> <tr class="memitem:a8fa0ec074b5da2e29abdd21d2d347e70"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classMailTransport_1_1ServerTest.html#a8fa0ec074b5da2e29abdd21d2d347e70">Capability</a> { <a class="el" href="classMailTransport_1_1ServerTest.html#a8fa0ec074b5da2e29abdd21d2d347e70a28280dab6120de7e66caaabe84c00e03">Pipelining</a>, <a class="el" href="classMailTransport_1_1ServerTest.html#a8fa0ec074b5da2e29abdd21d2d347e70a797b4f30efd02247a10e4959bc6c7fa2">Top</a>, <a class="el" href="classMailTransport_1_1ServerTest.html#a8fa0ec074b5da2e29abdd21d2d347e70a5cba180163d1d9d33f7825506f06105c">UIDL</a> }</td></tr> <tr class="separator:a8fa0ec074b5da2e29abdd21d2d347e70"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a> Signals</h2></td></tr> <tr class="memitem:ad56f3350c6f14246fc935dced710dc89"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMailTransport_1_1ServerTest.html#ad56f3350c6f14246fc935dced710dc89">finished</a> (QList< int >)</td></tr> <tr class="separator:ad56f3350c6f14246fc935dced710dc89"><td class="memSeparator" colspan="2"> </td></tr> </table><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:a126b44216461f4d73fa97800a8532fcf"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classMailTransport_1_1ServerTest.html#a126b44216461f4d73fa97800a8532fcf">ServerTest</a> (QWidget *parent=0)</td></tr> <tr class="separator:a126b44216461f4d73fa97800a8532fcf"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af8b25d85509980b4e6595bd35a909d7c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classMailTransport_1_1ServerTest.html#af8b25d85509980b4e6595bd35a909d7c">~ServerTest</a> ()</td></tr> <tr class="separator:af8b25d85509980b4e6595bd35a909d7c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9741e08b744e4dcfa15efd524700d5f3"><td class="memItemLeft" align="right" valign="top">QList< <a class="el" href="classMailTransport_1_1ServerTest.html#a8fa0ec074b5da2e29abdd21d2d347e70">Capability</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classMailTransport_1_1ServerTest.html#a9741e08b744e4dcfa15efd524700d5f3">capabilities</a> () const </td></tr> <tr class="separator:a9741e08b744e4dcfa15efd524700d5f3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a713c16cca2d322b2af55d1a54febb53f"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classMailTransport_1_1ServerTest.html#a713c16cca2d322b2af55d1a54febb53f">fakeHostname</a> ()</td></tr> <tr class="separator:a713c16cca2d322b2af55d1a54febb53f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a27f423fdfb39aa1f55a99b8a306e80ea"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classMailTransport_1_1ServerTest.html#a27f423fdfb39aa1f55a99b8a306e80ea">isNormalPossible</a> ()</td></tr> <tr class="separator:a27f423fdfb39aa1f55a99b8a306e80ea"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2e793cbfacbfe863bb07550b8066c768"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classMailTransport_1_1ServerTest.html#a2e793cbfacbfe863bb07550b8066c768">isSecurePossible</a> ()</td></tr> <tr class="separator:a2e793cbfacbfe863bb07550b8066c768"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a06ac7f014e74bb2bb07fa89fac9ffa48"><td class="memItemLeft" align="right" valign="top">QList< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classMailTransport_1_1ServerTest.html#a06ac7f014e74bb2bb07fa89fac9ffa48">normalProtocols</a> ()</td></tr> <tr class="separator:a06ac7f014e74bb2bb07fa89fac9ffa48"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9c74badad4623967c10a2ba1591f3caa"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classMailTransport_1_1ServerTest.html#a9c74badad4623967c10a2ba1591f3caa">port</a> (Transport::EnumEncryption::type encryptionMode)</td></tr> <tr class="separator:a9c74badad4623967c10a2ba1591f3caa"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a137d9a6b77594251504b8f9838b541d1"><td class="memItemLeft" align="right" valign="top">QProgressBar * </td><td class="memItemRight" valign="bottom"><a class="el" href="classMailTransport_1_1ServerTest.html#a137d9a6b77594251504b8f9838b541d1">progressBar</a> ()</td></tr> <tr class="separator:a137d9a6b77594251504b8f9838b541d1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abff94ddece35a7924bba79ba377c2c36"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classMailTransport_1_1ServerTest.html#abff94ddece35a7924bba79ba377c2c36">protocol</a> ()</td></tr> <tr class="separator:abff94ddece35a7924bba79ba377c2c36"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a055436ceb8275ef9d16d4635add1e18d"><td class="memItemLeft" align="right" valign="top">QList< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classMailTransport_1_1ServerTest.html#a055436ceb8275ef9d16d4635add1e18d">secureProtocols</a> ()</td></tr> <tr class="separator:a055436ceb8275ef9d16d4635add1e18d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a12587841cbe921a9a992b3974ab42faa"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classMailTransport_1_1ServerTest.html#a12587841cbe921a9a992b3974ab42faa">server</a> ()</td></tr> <tr class="separator:a12587841cbe921a9a992b3974ab42faa"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac440abd8e13895dbebcab7837dc72c9b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMailTransport_1_1ServerTest.html#ac440abd8e13895dbebcab7837dc72c9b">setFakeHostname</a> (const QString &<a class="el" href="classMailTransport_1_1ServerTest.html#a713c16cca2d322b2af55d1a54febb53f">fakeHostname</a>)</td></tr> <tr class="separator:ac440abd8e13895dbebcab7837dc72c9b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afb59542d85ea4987ab1de0d0359ad37a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMailTransport_1_1ServerTest.html#afb59542d85ea4987ab1de0d0359ad37a">setPort</a> (Transport::EnumEncryption::type encryptionMode, uint <a class="el" href="classMailTransport_1_1ServerTest.html#a9c74badad4623967c10a2ba1591f3caa">port</a>)</td></tr> <tr class="separator:afb59542d85ea4987ab1de0d0359ad37a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0b67acbf4686ce637ff0e6dc469ee0f3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMailTransport_1_1ServerTest.html#a0b67acbf4686ce637ff0e6dc469ee0f3">setProgressBar</a> (QProgressBar *pb)</td></tr> <tr class="separator:a0b67acbf4686ce637ff0e6dc469ee0f3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a55cc137d1063ff93b0c29715e8fa654b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMailTransport_1_1ServerTest.html#a55cc137d1063ff93b0c29715e8fa654b">setProtocol</a> (const QString &protocol)</td></tr> <tr class="separator:a55cc137d1063ff93b0c29715e8fa654b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab29b146c8ce32aa7ca1e49483d4ab0f0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMailTransport_1_1ServerTest.html#ab29b146c8ce32aa7ca1e49483d4ab0f0">setServer</a> (const QString &server)</td></tr> <tr class="separator:ab29b146c8ce32aa7ca1e49483d4ab0f0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab0007cbb01bdc5c2cd175e91e4609db8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMailTransport_1_1ServerTest.html#ab0007cbb01bdc5c2cd175e91e4609db8">start</a> ()</td></tr> <tr class="separator:ab0007cbb01bdc5c2cd175e91e4609db8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abf0e13ce1b091c1b61bf48b385005e76"><td class="memItemLeft" align="right" valign="top">QList< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classMailTransport_1_1ServerTest.html#abf0e13ce1b091c1b61bf48b385005e76">tlsProtocols</a> ()</td></tr> <tr class="separator:abf0e13ce1b091c1b61bf48b385005e76"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a> Properties</h2></td></tr> <tr class="memitem:a930fd4199965d57f01e439a947ccd546"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a930fd4199965d57f01e439a947ccd546"></a> QProgressBar </td><td class="memItemRight" valign="bottom"><b>progressBar</b></td></tr> <tr class="separator:a930fd4199965d57f01e439a947ccd546"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a33a17d80a0a178f8dcabcfe0281fc686"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a33a17d80a0a178f8dcabcfe0281fc686"></a> QString </td><td class="memItemRight" valign="bottom"><b>protocol</b></td></tr> <tr class="separator:a33a17d80a0a178f8dcabcfe0281fc686"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1de88168f942631795d9d3d2e966dceb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1de88168f942631795d9d3d2e966dceb"></a> QString </td><td class="memItemRight" valign="bottom"><b>server</b></td></tr> <tr class="separator:a1de88168f942631795d9d3d2e966dceb"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>This class can be used to test certain server to see if they support stuff. </p> <dl class="section author"><dt>Author</dt><dd>Tom Albers <a href="#" onclick="location.href='mai'+'lto:'+'tom'+'al'+'ber'+'s@'+'kde'+'.n'+'l'; return false;">tomal<span style="display: none;">.nosp@m.</span>bers<span style="display: none;">.nosp@m.</span>@kde.<span style="display: none;">.nosp@m.</span>nl</a> </dd></dl> <p>Definition at line <a class="el" href="servertest_8h_source.html#l00041">41</a> of file <a class="el" href="servertest_8h_source.html">servertest.h</a>.</p> </div><h2 class="groupheader">Member Enumeration Documentation</h2> <a class="anchor" id="a8fa0ec074b5da2e29abdd21d2d347e70"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="classMailTransport_1_1ServerTest.html#a8fa0ec074b5da2e29abdd21d2d347e70">MailTransport::ServerTest::Capability</a></td> </tr> </table> </div><div class="memdoc"> <p>This enumeration has the special capabilities a server might support. </p> <p>This covers only capabilities not related to authentication. </p> <dl class="section since"><dt>Since</dt><dd>4.1 </dd></dl> <table class="fieldtable"> <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a8fa0ec074b5da2e29abdd21d2d347e70a28280dab6120de7e66caaabe84c00e03"></a>Pipelining</em> </td><td class="fielddoc"> <p>POP3 only. The server supports pipeplining of commands. </p> </td></tr> <tr><td class="fieldname"><em><a class="anchor" id="a8fa0ec074b5da2e29abdd21d2d347e70a797b4f30efd02247a10e4959bc6c7fa2"></a>Top</em> </td><td class="fielddoc"> <p>POP3 only. The server supports fetching only the headers. </p> </td></tr> <tr><td class="fieldname"><em><a class="anchor" id="a8fa0ec074b5da2e29abdd21d2d347e70a5cba180163d1d9d33f7825506f06105c"></a>UIDL</em> </td><td class="fielddoc"> <p>POP3 only. The server has support for unique identifiers. </p> </td></tr> </table> <p>Definition at line <a class="el" href="servertest_8h_source.html#l00055">55</a> of file <a class="el" href="servertest_8h_source.html">servertest.h</a>.</p> </div> </div> <h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a126b44216461f4d73fa97800a8532fcf"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">ServerTest::ServerTest </td> <td>(</td> <td class="paramtype">QWidget * </td> <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Creates a new server test. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">parent</td><td>The parent widget. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="servertest_8cpp_source.html#l00448">448</a> of file <a class="el" href="servertest_8cpp_source.html">servertest.cpp</a>.</p> </div> </div> <a class="anchor" id="af8b25d85509980b4e6595bd35a909d7c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">ServerTest::~ServerTest </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Destroys the server test. </p> <p>Definition at line <a class="el" href="servertest_8cpp_source.html#l00463">463</a> of file <a class="el" href="servertest_8cpp_source.html">servertest.cpp</a>.</p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a9741e08b744e4dcfa15efd524700d5f3"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QList< <a class="el" href="classMailTransport_1_1ServerTest.html#a8fa0ec074b5da2e29abdd21d2d347e70">ServerTest::Capability</a> > ServerTest::capabilities </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Get the special capabilities of the server. </p> <p>Call this only after the <a class="el" href="classMailTransport_1_1ServerTest.html#ad56f3350c6f14246fc935dced710dc89" title="This will be emitted when the test is done.">finished()</a> signals has been sent.</p> <dl class="section return"><dt>Returns</dt><dd>the list of special capabilities of the server. </dd></dl> <dl class="section since"><dt>Since</dt><dd>4.1 </dd></dl> <p>Definition at line <a class="el" href="servertest_8cpp_source.html#l00616">616</a> of file <a class="el" href="servertest_8cpp_source.html">servertest.cpp</a>.</p> </div> </div> <a class="anchor" id="a713c16cca2d322b2af55d1a54febb53f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString ServerTest::fakeHostname </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>the fake hostname, as set before with <a class="el" href="classMailTransport_1_1ServerTest.html#ac440abd8e13895dbebcab7837dc72c9b">setFakeHostname</a> </dd></dl> <p>Definition at line <a class="el" href="servertest_8cpp_source.html#l00538">538</a> of file <a class="el" href="servertest_8cpp_source.html">servertest.cpp</a>.</p> </div> </div> <a class="anchor" id="ad56f3350c6f14246fc935dced710dc89"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void MailTransport::ServerTest::finished </td> <td>(</td> <td class="paramtype">QList< int > </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">signal</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>This will be emitted when the test is done. </p> <p>It will contain the values from the enum EnumEncryption which are possible. </p> </div> </div> <a class="anchor" id="a27f423fdfb39aa1f55a99b8a306e80ea"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool ServerTest::isNormalPossible </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>tells you if the normal server is available </p> <dl class="section since"><dt>Since</dt><dd>4.5 </dd></dl> <p>Definition at line <a class="el" href="servertest_8cpp_source.html#l00596">596</a> of file <a class="el" href="servertest_8cpp_source.html">servertest.cpp</a>.</p> </div> </div> <a class="anchor" id="a2e793cbfacbfe863bb07550b8066c768"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool ServerTest::isSecurePossible </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>tells you if the ssl server is available </p> <dl class="section since"><dt>Since</dt><dd>4.5 </dd></dl> <p>Definition at line <a class="el" href="servertest_8cpp_source.html#l00611">611</a> of file <a class="el" href="servertest_8cpp_source.html">servertest.cpp</a>.</p> </div> </div> <a class="anchor" id="a06ac7f014e74bb2bb07fa89fac9ffa48"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QList< int > ServerTest::normalProtocols </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get the protocols for the normal connections. </p> <p>. Call this only after the <a class="el" href="classMailTransport_1_1ServerTest.html#ad56f3350c6f14246fc935dced710dc89" title="This will be emitted when the test is done.">finished()</a> signals has been sent. </p> <dl class="section return"><dt>Returns</dt><dd>an enum of the type Transport::EnumAuthenticationType </dd></dl> <p>Definition at line <a class="el" href="servertest_8cpp_source.html#l00591">591</a> of file <a class="el" href="servertest_8cpp_source.html">servertest.cpp</a>.</p> </div> </div> <a class="anchor" id="a9c74badad4623967c10a2ba1591f3caa"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int ServerTest::port </td> <td>(</td> <td class="paramtype">Transport::EnumEncryption::type </td> <td class="paramname"><em>encryptionMode</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">encryptionMode</td><td>the port of this encryption mode is returned. Can only be 'None' and 'SSL'</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the port set by <a class="el" href="classMailTransport_1_1ServerTest.html#afb59542d85ea4987ab1de0d0359ad37a">setPort</a> or -1 if <a class="el" href="classMailTransport_1_1ServerTest.html#afb59542d85ea4987ab1de0d0359ad37a">setPort()</a> was never called for this encryption mode.</dd></dl> <dl class="section since"><dt>Since</dt><dd>4.1 </dd></dl> <p>Definition at line <a class="el" href="servertest_8cpp_source.html#l00575">575</a> of file <a class="el" href="servertest_8cpp_source.html">servertest.cpp</a>.</p> </div> </div> <a class="anchor" id="a137d9a6b77594251504b8f9838b541d1"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QProgressBar* MailTransport::ServerTest::progressBar </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Returns the used progress bar. </p> </div> </div> <a class="anchor" id="abff94ddece35a7924bba79ba377c2c36"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString MailTransport::ServerTest::protocol </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Returns the protocol. </p> </div> </div> <a class="anchor" id="a055436ceb8275ef9d16d4635add1e18d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QList< int > ServerTest::secureProtocols </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get the protocols for the SSL connections. </p> <p>Call this only after the <a class="el" href="classMailTransport_1_1ServerTest.html#ad56f3350c6f14246fc935dced710dc89" title="This will be emitted when the test is done.">finished()</a> signals has been sent. </p> <dl class="section return"><dt>Returns</dt><dd>an enum of the type Transport::EnumAuthenticationType </dd></dl> <p>Definition at line <a class="el" href="servertest_8cpp_source.html#l00606">606</a> of file <a class="el" href="servertest_8cpp_source.html">servertest.cpp</a>.</p> </div> </div> <a class="anchor" id="a12587841cbe921a9a992b3974ab42faa"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString MailTransport::ServerTest::server </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Returns the server to test. </p> </div> </div> <a class="anchor" id="ac440abd8e13895dbebcab7837dc72c9b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ServerTest::setFakeHostname </td> <td>(</td> <td class="paramtype">const QString & </td> <td class="paramname"><em>fakeHostname</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Sets a fake hostname for the test. </p> <p>This is currently only used when testing a SMTP server; there, the command for testing the capabilities (called EHLO) needs to have the hostname of the client included. The user can however choose to send a fake hostname instead of the local hostname to work around various problems. This fake hostname needs to be set here.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">fakeHostname</td><td>the fake hostname to send </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="servertest_8cpp_source.html#l00533">533</a> of file <a class="el" href="servertest_8cpp_source.html">servertest.cpp</a>.</p> </div> </div> <a class="anchor" id="afb59542d85ea4987ab1de0d0359ad37a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ServerTest::setPort </td> <td>(</td> <td class="paramtype">Transport::EnumEncryption::type </td> <td class="paramname"><em>encryptionMode</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">uint </td> <td class="paramname"><em>port</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set a custom port to use. </p> <p>Each encryption mode (no encryption or SSL) has a different port. TLS uses the same port as no encryption, because TLS is invoked during a normal session.</p> <p>If this function is never called, the default port is used, which is: (normal first, then SSL) SMTP: 25, 465 POP: 110, 995 IMAP: 143, 993</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">encryptionMode</td><td>the port will only be used in this encryption mode. Valid values for this are only 'None' and 'SSL'. </td></tr> <tr><td class="paramname">port</td><td>the port to use</td></tr> </table> </dd> </dl> <dl class="section since"><dt>Since</dt><dd>4.1 </dd></dl> <p>Definition at line <a class="el" href="servertest_8cpp_source.html#l00548">548</a> of file <a class="el" href="servertest_8cpp_source.html">servertest.cpp</a>.</p> </div> </div> <a class="anchor" id="a0b67acbf4686ce637ff0e6dc469ee0f3"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ServerTest::setProgressBar </td> <td>(</td> <td class="paramtype">QProgressBar * </td> <td class="paramname"><em>pb</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Makes <code>pb</code> the progressbar to use. </p> <p>This class will call show() and hide() and will count down. It does not take ownership of the progressbar. </p> <p>Definition at line <a class="el" href="servertest_8cpp_source.html#l00555">555</a> of file <a class="el" href="servertest_8cpp_source.html">servertest.cpp</a>.</p> </div> </div> <a class="anchor" id="a55cc137d1063ff93b0c29715e8fa654b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ServerTest::setProtocol </td> <td>(</td> <td class="paramtype">const QString & </td> <td class="paramname"><em>protocol</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Sets <code>protocol</code> the protocol to test, currently supported are "smtp", "pop" and "imap". </p> <p>Definition at line <a class="el" href="servertest_8cpp_source.html#l00560">560</a> of file <a class="el" href="servertest_8cpp_source.html">servertest.cpp</a>.</p> </div> </div> <a class="anchor" id="ab29b146c8ce32aa7ca1e49483d4ab0f0"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ServerTest::setServer </td> <td>(</td> <td class="paramtype">const QString & </td> <td class="paramname"><em>server</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Sets the server to test. </p> <p>Definition at line <a class="el" href="servertest_8cpp_source.html#l00543">543</a> of file <a class="el" href="servertest_8cpp_source.html">servertest.cpp</a>.</p> </div> </div> <a class="anchor" id="ab0007cbb01bdc5c2cd175e91e4609db8"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ServerTest::start </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Starts the test. </p> <p>Will emit <a class="el" href="classMailTransport_1_1ServerTest.html#ad56f3350c6f14246fc935dced710dc89" title="This will be emitted when the test is done.">finished()</a> when done. </p> <p>Definition at line <a class="el" href="servertest_8cpp_source.html#l00468">468</a> of file <a class="el" href="servertest_8cpp_source.html">servertest.cpp</a>.</p> </div> </div> <a class="anchor" id="abf0e13ce1b091c1b61bf48b385005e76"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QList< int > ServerTest::tlsProtocols </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get the protocols for the TLS connections. </p> <p>Call this only after the <a class="el" href="classMailTransport_1_1ServerTest.html#ad56f3350c6f14246fc935dced710dc89" title="This will be emitted when the test is done.">finished()</a> signals has been sent. </p> <dl class="section return"><dt>Returns</dt><dd>an enum of the type Transport::EnumAuthenticationType </dd></dl> <dl class="section since"><dt>Since</dt><dd>4.1 </dd></dl> <p>Definition at line <a class="el" href="servertest_8cpp_source.html#l00601">601</a> of file <a class="el" href="servertest_8cpp_source.html">servertest.cpp</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="servertest_8h_source.html">servertest.h</a></li> <li><a class="el" href="servertest_8cpp_source.html">servertest.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:43 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">mailtransport</h2> <a href="#cp-skip-project" class="cp-doNotDisplay">Skip menu "mailtransport"</a> </div></div> <ul><li><a href="index.html">Main Page</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="classAkonadi_1_1FilterAction.html">akonadi::filteraction</option>, <option value="classAkonadi_1_1FilterActionJob.html">akonadi::filteractionjob</option>, <option value="classMailTransport_1_1AddTransportDialog.html">mailtransport::addtransportdialog</option>, <option value="classMailTransport_1_1ClearErrorAction.html">mailtransport::clearerroraction</option>, <option value="classMailTransport_1_1ConfigModule.html">mailtransport::configmodule</option>, <option value="classMailTransport_1_1DispatcherInterface.html">mailtransport::dispatcherinterface</option>, <option value="classMailTransport_1_1DispatcherInterfacePrivate.html">mailtransport::dispatcherinterfaceprivate</option>, <option value="classMailTransport_1_1DispatchManualTransportAction.html">mailtransport::dispatchmanualtransportaction</option>, <option value="classMailTransport_1_1DispatchModeAttribute.html">mailtransport::dispatchmodeattribute</option>, <option value="classMailTransport_1_1ErrorAttribute.html">mailtransport::errorattribute</option>, <option value="classMailTransport_1_1Legacy.html">mailtransport::legacy</option>, <option value="classMailTransport_1_1MessageQueueJob.html">mailtransport::messagequeuejob</option>, <option value="classMailTransport_1_1PrecommandJob.html">mailtransport::precommandjob</option>, <option value="classMailTransport_1_1ResourceSendJob.html">mailtransport::resourcesendjob</option>, <option value="classMailTransport_1_1SendmailConfigWidget.html">mailtransport::sendmailconfigwidget</option>, <option value="classMailTransport_1_1SendmailJob.html">mailtransport::sendmailjob</option>, <option value="classMailTransport_1_1SendQueuedAction.html">mailtransport::sendqueuedaction</option>, <option value="classMailTransport_1_1SentActionAttribute.html">mailtransport::sentactionattribute</option>, <option value="classMailTransport_1_1SentActionAttribute_1_1Action.html">mailtransport::sentactionattribute::action</option>, <option value="classMailTransport_1_1SentBehaviourAttribute.html">mailtransport::sentbehaviourattribute</option>, <option value="classMailTransport_1_1ServerTest.html">mailtransport::servertest</option>, <option value="classMailTransport_1_1SMTPConfigWidget.html">mailtransport::smtpconfigwidget</option>, <option value="classMailTransport_1_1SmtpJob.html">mailtransport::smtpjob</option>, <option value="classMailTransport_1_1SmtpSession.html">mailtransport::smtpsession</option>, <option value="classMailTransport_1_1Socket.html">mailtransport::socket</option>, <option value="classMailTransport_1_1Transport.html">mailtransport::transport</option>, <option value="classMailTransport_1_1TransportAttribute.html">mailtransport::transportattribute</option>, <option value="classMailTransport_1_1TransportComboBox.html">mailtransport::transportcombobox</option>, <option value="classMailTransport_1_1TransportConfigDialog.html">mailtransport::transportconfigdialog</option>, <option value="classMailTransport_1_1TransportConfigWidget.html">mailtransport::transportconfigwidget</option>, <option value="classMailTransport_1_1TransportConfigWidgetPrivate.html">mailtransport::transportconfigwidgetprivate</option>, <option value="classMailTransport_1_1TransportJob.html">mailtransport::transportjob</option>, <option value="classMailTransport_1_1TransportListView.html">mailtransport::transportlistview</option>, <option value="classMailTransport_1_1TransportManagementWidget.html">mailtransport::transportmanagementwidget</option>, <option value="classMailTransport_1_1TransportManager.html">mailtransport::transportmanager</option>, <option value="classMailTransport_1_1TransportType.html">mailtransport::transporttype</option>, <option value="classMailTransport_1_1TransportType_1_1Private.html">mailtransport::transporttype::private</option>, <option value="classTransportPrivate.html">transportprivate</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>