You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kshowmail/doc/html/classServerDialog.html

376 lines
17 KiB

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>kshowmail.tdevelop: ServerDialog Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.0 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<h1>ServerDialog Class Reference</h1><!-- doxytag: class="ServerDialog" -->Dialog to edit account options. You can not create a new account or edit the account name.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="serverdialog_8h-source.html">serverdialog.h</a>&gt;</code>
<p>
<a href="classServerDialog-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classServerDialog.html#2083bd1376173f7229267c77b00e0250">ServerDialog</a> (TQWidget *parent, <a class="el" href="classConfigElem.html">ConfigElem</a> *item=NULL)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classServerDialog.html#05ac011efd88d4ae6f0965f7b6d3606d">~ServerDialog</a> ()</td></tr>
<tr><td colspan="2"><br><h2>Protected Slots</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classServerDialog.html#3b3962b56ecaaa225953601d37228cb3">slotPasswordStorageChanged</a> (int id)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classServerDialog.html#43e0a3f2e4975f8b196bc3dbfd606eb0">slotSecureTransferChanged</a> (int id)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classServerDialog.html#05a288f0b2bf3fb3b129cf8e6ea210fb">slotOk</a> ()</td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classServerDialog.html#9ed57b703b9fb63d8ce406f36e6c66ba">fillDialog</a> ()</td></tr>
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classConfigElem.html">ConfigElem</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classServerDialog.html#c361b2cc2165a11e38e83cea29e39185">account</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">KLineEdit *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classServerDialog.html#690681b24cfd21ebdc4d5543bee5b4a3">txtAccount</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">KLineEdit *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classServerDialog.html#4779a9cb8e86f39ea43f8db6e7c0b0ad">txtServer</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">KComboBox *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classServerDialog.html#2634e6da37697f6a6a1a2020118bfd59">cboProtocol</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">TQSpinBox *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classServerDialog.html#1ac6a0a7f23a08ab62450991412627d6">spbPort</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">KLineEdit *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classServerDialog.html#0df9d91a225a5426d198286987f5b1b2">txtUser</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">KPasswordEdit *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classServerDialog.html#8630fd27107213fd88fbaf0db02793d6">txtPassword</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">TQCheckBox *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classServerDialog.html#b433e8128211c96fe08015cc45083ca6">chkActive</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">TQButtonGroup *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classServerDialog.html#63a7dda4a3c7da5a4b7979dcd13f96ce">grpPasswordStorage</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">TQButtonGroup *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classServerDialog.html#05f46d98c337ab7a8afc2325aef9e8e7">grpSecureTransfer</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Dialog to edit account options. You can not create a new account or edit the account name.
<p>
<dl class="author" compact><dt><b>Author:</b></dt><dd>Eggert Ehmke <p>
Ulrich Weigelt &lt;<a href="mailto:ulrich.weigelt@gmx.de">ulrich.weigelt@gmx.de</a>&gt; </dd></dl>
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="2083bd1376173f7229267c77b00e0250"></a><!-- doxytag: member="ServerDialog::ServerDialog" ref="2083bd1376173f7229267c77b00e0250" args="(TQWidget *parent, ConfigElem *item=NULL)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ServerDialog::ServerDialog </td>
<td>(</td>
<td class="paramtype">TQWidget *&nbsp;</td>
<td class="paramname"> <em>parent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classConfigElem.html">ConfigElem</a> *&nbsp;</td>
<td class="paramname"> <em>item</em> = <code>NULL</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
General constructor <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>parent</em>&nbsp;</td><td>parent of the dialog </td></tr>
<tr><td valign="top"></td><td valign="top"><em>item</em>&nbsp;</td><td>account to setup </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="05ac011efd88d4ae6f0965f7b6d3606d"></a><!-- doxytag: member="ServerDialog::~ServerDialog" ref="05ac011efd88d4ae6f0965f7b6d3606d" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ServerDialog::~ServerDialog </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Destructor
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="3b3962b56ecaaa225953601d37228cb3"></a><!-- doxytag: member="ServerDialog::slotPasswordStorageChanged" ref="3b3962b56ecaaa225953601d37228cb3" args="(int id)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ServerDialog::slotPasswordStorageChanged </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>id</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [protected, slot]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Connected with the password button group. Enabled or disabled the password edit line. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>id</em>&nbsp;</td><td>button identifier </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="43e0a3f2e4975f8b196bc3dbfd606eb0"></a><!-- doxytag: member="ServerDialog::slotSecureTransferChanged" ref="43e0a3f2e4975f8b196bc3dbfd606eb0" args="(int id)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ServerDialog::slotSecureTransferChanged </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>id</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [protected, slot]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Connected with the secure transfer button group. Changes the port number. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>id</em>&nbsp;</td><td>button identifier </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="05a288f0b2bf3fb3b129cf8e6ea210fb"></a><!-- doxytag: member="ServerDialog::slotOk" ref="05a288f0b2bf3fb3b129cf8e6ea210fb" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ServerDialog::slotOk </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [protected, slot]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Overwritten methode of KDialogBase. Called if OK was clicked. Stores the entered values into the given account item. If no item was given, it creates a new one. After then it invokes <a class="el" href="classServerDialog.html#05a288f0b2bf3fb3b129cf8e6ea210fb">slotOk()</a> of KDialogBase.
</div>
</div><p>
<a class="anchor" name="9ed57b703b9fb63d8ce406f36e6c66ba"></a><!-- doxytag: member="ServerDialog::fillDialog" ref="9ed57b703b9fb63d8ce406f36e6c66ba" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ServerDialog::fillDialog </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Writes the values of the account into the dialog items.
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="c361b2cc2165a11e38e83cea29e39185"></a><!-- doxytag: member="ServerDialog::account" ref="c361b2cc2165a11e38e83cea29e39185" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classConfigElem.html">ConfigElem</a>* <a class="el" href="classServerDialog.html#c361b2cc2165a11e38e83cea29e39185">ServerDialog::account</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
account to setup
</div>
</div><p>
<a class="anchor" name="690681b24cfd21ebdc4d5543bee5b4a3"></a><!-- doxytag: member="ServerDialog::txtAccount" ref="690681b24cfd21ebdc4d5543bee5b4a3" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">KLineEdit* <a class="el" href="classServerDialog.html#690681b24cfd21ebdc4d5543bee5b4a3">ServerDialog::txtAccount</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Edit line which contains the unique account name.
</div>
</div><p>
<a class="anchor" name="4779a9cb8e86f39ea43f8db6e7c0b0ad"></a><!-- doxytag: member="ServerDialog::txtServer" ref="4779a9cb8e86f39ea43f8db6e7c0b0ad" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">KLineEdit* <a class="el" href="classServerDialog.html#4779a9cb8e86f39ea43f8db6e7c0b0ad">ServerDialog::txtServer</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Edit line which contains the server name.
</div>
</div><p>
<a class="anchor" name="2634e6da37697f6a6a1a2020118bfd59"></a><!-- doxytag: member="ServerDialog::cboProtocol" ref="2634e6da37697f6a6a1a2020118bfd59" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">KComboBox* <a class="el" href="classServerDialog.html#2634e6da37697f6a6a1a2020118bfd59">ServerDialog::cboProtocol</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Combo box to choose the protocol.
</div>
</div><p>
<a class="anchor" name="1ac6a0a7f23a08ab62450991412627d6"></a><!-- doxytag: member="ServerDialog::spbPort" ref="1ac6a0a7f23a08ab62450991412627d6" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">TQSpinBox* <a class="el" href="classServerDialog.html#1ac6a0a7f23a08ab62450991412627d6">ServerDialog::spbPort</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Spinbox to choose the tcp port.
</div>
</div><p>
<a class="anchor" name="0df9d91a225a5426d198286987f5b1b2"></a><!-- doxytag: member="ServerDialog::txtUser" ref="0df9d91a225a5426d198286987f5b1b2" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">KLineEdit* <a class="el" href="classServerDialog.html#0df9d91a225a5426d198286987f5b1b2">ServerDialog::txtUser</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Edit line which contains the user name.
</div>
</div><p>
<a class="anchor" name="8630fd27107213fd88fbaf0db02793d6"></a><!-- doxytag: member="ServerDialog::txtPassword" ref="8630fd27107213fd88fbaf0db02793d6" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">KPasswordEdit* <a class="el" href="classServerDialog.html#8630fd27107213fd88fbaf0db02793d6">ServerDialog::txtPassword</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Edit line which contains the password.
</div>
</div><p>
<a class="anchor" name="b433e8128211c96fe08015cc45083ca6"></a><!-- doxytag: member="ServerDialog::chkActive" ref="b433e8128211c96fe08015cc45083ca6" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">TQCheckBox* <a class="el" href="classServerDialog.html#b433e8128211c96fe08015cc45083ca6">ServerDialog::chkActive</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Check box to select whether the account is active or not.
</div>
</div><p>
<a class="anchor" name="63a7dda4a3c7da5a4b7979dcd13f96ce"></a><!-- doxytag: member="ServerDialog::grpPasswordStorage" ref="63a7dda4a3c7da5a4b7979dcd13f96ce" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">TQButtonGroup* <a class="el" href="classServerDialog.html#63a7dda4a3c7da5a4b7979dcd13f96ce">ServerDialog::grpPasswordStorage</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Combines the radio buttons of password storage.
</div>
</div><p>
<a class="anchor" name="05f46d98c337ab7a8afc2325aef9e8e7"></a><!-- doxytag: member="ServerDialog::grpSecureTransfer" ref="05f46d98c337ab7a8afc2325aef9e8e7" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">TQButtonGroup* <a class="el" href="classServerDialog.html#05f46d98c337ab7a8afc2325aef9e8e7">ServerDialog::grpSecureTransfer</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Combines the radio buttons of secure transfer.
</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li>Daten/Documents/programmieren/kshowmail/kshowmail/kshowmail/<a class="el" href="serverdialog_8h-source.html">serverdialog.h</a><li>Daten/Documents/programmieren/kshowmail/kshowmail/kshowmail/<a class="el" href="serverdialog_8cpp.html">serverdialog.cpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 1 21:59:50 2008 for kshowmail.tdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>
</body>
</html>