summaryrefslogtreecommitdiffstats
path: root/doc/html/serverdialog_8cpp-source.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/serverdialog_8cpp-source.html')
-rw-r--r--doc/html/serverdialog_8cpp-source.html82
1 files changed, 41 insertions, 41 deletions
diff --git a/doc/html/serverdialog_8cpp-source.html b/doc/html/serverdialog_8cpp-source.html
index 2755b13..d136003 100644
--- a/doc/html/serverdialog_8cpp-source.html
+++ b/doc/html/serverdialog_8cpp-source.html
@@ -34,81 +34,81 @@
<a name="l00017"></a>00017
<a name="l00018"></a>00018 <span class="preprocessor">#include "serverdialog.h"</span>
<a name="l00019"></a>00019
-<a name="l00020"></a><a class="code" href="classServerDialog.html#2083bd1376173f7229267c77b00e0250">00020</a> <a class="code" href="classServerDialog.html#2083bd1376173f7229267c77b00e0250">ServerDialog::ServerDialog</a>( QWidget* parent, <a class="code" href="classConfigElem.html">ConfigElem</a>* item )
-<a name="l00021"></a>00021 : KDialogBase( parent, <span class="stringliteral">"ServerDialog"</span>, true, QString::null, Ok|Cancel, Ok, true )
+<a name="l00020"></a><a class="code" href="classServerDialog.html#2083bd1376173f7229267c77b00e0250">00020</a> <a class="code" href="classServerDialog.html#2083bd1376173f7229267c77b00e0250">ServerDialog::ServerDialog</a>( TQWidget* parent, <a class="code" href="classConfigElem.html">ConfigElem</a>* item )
+<a name="l00021"></a>00021 : KDialogBase( parent, <span class="stringliteral">"ServerDialog"</span>, true, TQString::null, Ok|Cancel, Ok, true )
<a name="l00022"></a>00022 {
<a name="l00023"></a>00023 <span class="comment">//save pointer to account and view</span>
<a name="l00024"></a>00024 <a class="code" href="classServerDialog.html#c361b2cc2165a11e38e83cea29e39185">account</a> = item;
<a name="l00025"></a>00025
<a name="l00026"></a>00026 <span class="comment">//main widget</span>
-<a name="l00027"></a>00027 QWidget* page = <span class="keyword">new</span> QWidget( <span class="keyword">this</span> );
+<a name="l00027"></a>00027 TQWidget* page = <span class="keyword">new</span> TQWidget( <span class="keyword">this</span> );
<a name="l00028"></a>00028 setMainWidget( page );
<a name="l00029"></a>00029
<a name="l00030"></a>00030 <span class="comment">//layouts</span>
-<a name="l00031"></a>00031 QVBoxLayout* layMain = <span class="keyword">new</span> QVBoxLayout( page, 0, spacingHint() );
-<a name="l00032"></a>00032 QGridLayout* layTop = <span class="keyword">new</span> QGridLayout( layMain, 5, 2 );
+<a name="l00031"></a>00031 TQVBoxLayout* layMain = <span class="keyword">new</span> TQVBoxLayout( page, 0, spacingHint() );
+<a name="l00032"></a>00032 TQGridLayout* layTop = <span class="keyword">new</span> TQGridLayout( layMain, 5, 2 );
<a name="l00033"></a>00033
<a name="l00034"></a>00034 <span class="comment">//upper items</span>
-<a name="l00035"></a>00035 QLabel* lblAccount = <span class="keyword">new</span> QLabel( i18n( <span class="stringliteral">"Account:"</span> ), page, <span class="stringliteral">"lblAccount"</span> );
+<a name="l00035"></a>00035 TQLabel* lblAccount = <span class="keyword">new</span> TQLabel( i18n( <span class="stringliteral">"Account:"</span> ), page, <span class="stringliteral">"lblAccount"</span> );
<a name="l00036"></a>00036 <a class="code" href="classServerDialog.html#690681b24cfd21ebdc4d5543bee5b4a3">txtAccount</a> = <span class="keyword">new</span> KLineEdit( page, <span class="stringliteral">"txtAccount"</span> );
<a name="l00037"></a>00037 <a class="code" href="classServerDialog.html#690681b24cfd21ebdc4d5543bee5b4a3">txtAccount</a>-&gt;setEnabled( <span class="keyword">false</span> );
-<a name="l00038"></a>00038 QToolTip::add( lblAccount, i18n( <span class="stringliteral">"Unique Account Name"</span> ) );
-<a name="l00039"></a>00039 QToolTip::add( <a class="code" href="classServerDialog.html#690681b24cfd21ebdc4d5543bee5b4a3">txtAccount</a>, i18n( <span class="stringliteral">"Unique Account Name"</span> ) );
+<a name="l00038"></a>00038 TQToolTip::add( lblAccount, i18n( <span class="stringliteral">"Unique Account Name"</span> ) );
+<a name="l00039"></a>00039 TQToolTip::add( <a class="code" href="classServerDialog.html#690681b24cfd21ebdc4d5543bee5b4a3">txtAccount</a>, i18n( <span class="stringliteral">"Unique Account Name"</span> ) );
<a name="l00040"></a>00040 layTop-&gt;addWidget( lblAccount, 0, 0 );
<a name="l00041"></a>00041 layTop-&gt;addWidget( <a class="code" href="classServerDialog.html#690681b24cfd21ebdc4d5543bee5b4a3">txtAccount</a>, 0, 1 );
<a name="l00042"></a>00042
-<a name="l00043"></a>00043 QLabel* lblServer = <span class="keyword">new</span> QLabel( i18n( <span class="stringliteral">"Server:"</span> ), page, <span class="stringliteral">"lblServer"</span> );
+<a name="l00043"></a>00043 TQLabel* lblServer = <span class="keyword">new</span> TQLabel( i18n( <span class="stringliteral">"Server:"</span> ), page, <span class="stringliteral">"lblServer"</span> );
<a name="l00044"></a>00044 <a class="code" href="classServerDialog.html#4779a9cb8e86f39ea43f8db6e7c0b0ad">txtServer</a> = <span class="keyword">new</span> KLineEdit( page, <span class="stringliteral">"txtServer"</span> );
<a name="l00045"></a>00045 <a class="code" href="classServerDialog.html#4779a9cb8e86f39ea43f8db6e7c0b0ad">txtServer</a>-&gt;setFocus();
-<a name="l00046"></a>00046 QToolTip::add( lblServer, i18n( <span class="stringliteral">"Server Name"</span> ) );
-<a name="l00047"></a>00047 QToolTip::add( <a class="code" href="classServerDialog.html#690681b24cfd21ebdc4d5543bee5b4a3">txtAccount</a>, i18n( <span class="stringliteral">"Server Name"</span> ) );
+<a name="l00046"></a>00046 TQToolTip::add( lblServer, i18n( <span class="stringliteral">"Server Name"</span> ) );
+<a name="l00047"></a>00047 TQToolTip::add( <a class="code" href="classServerDialog.html#690681b24cfd21ebdc4d5543bee5b4a3">txtAccount</a>, i18n( <span class="stringliteral">"Server Name"</span> ) );
<a name="l00048"></a>00048 layTop-&gt;addWidget( lblServer, 1, 0 );
<a name="l00049"></a>00049 layTop-&gt;addWidget( <a class="code" href="classServerDialog.html#4779a9cb8e86f39ea43f8db6e7c0b0ad">txtServer</a>, 1, 1 );
<a name="l00050"></a>00050
-<a name="l00051"></a>00051 QLabel* lblProtocol = <span class="keyword">new</span> QLabel( i18n( <span class="stringliteral">"Protocol:"</span> ), page, <span class="stringliteral">"lblProtocol"</span> );
+<a name="l00051"></a>00051 TQLabel* lblProtocol = <span class="keyword">new</span> TQLabel( i18n( <span class="stringliteral">"Protocol:"</span> ), page, <span class="stringliteral">"lblProtocol"</span> );
<a name="l00052"></a>00052 <a class="code" href="classServerDialog.html#2634e6da37697f6a6a1a2020118bfd59">cboProtocol</a> = <span class="keyword">new</span> KComboBox( page, <span class="stringliteral">"cboProtocol"</span> );
<a name="l00053"></a>00053 <a class="code" href="classServerDialog.html#2634e6da37697f6a6a1a2020118bfd59">cboProtocol</a>-&gt;insertItem( <span class="stringliteral">"POP3"</span> ); <span class="comment">//currently KShowmail just supports POP3</span>
-<a name="l00054"></a>00054 QToolTip::add( lblProtocol, i18n( <span class="stringliteral">"Protocol, which shall be used to get the mails from the server. Currently KShowmail just supports POP3."</span>) );
-<a name="l00055"></a>00055 QToolTip::add( <a class="code" href="classServerDialog.html#2634e6da37697f6a6a1a2020118bfd59">cboProtocol</a>, i18n( <span class="stringliteral">"Protocol, which shall be used to get the mails from the server. Currently KShowmail just supports POP3."</span>) );
+<a name="l00054"></a>00054 TQToolTip::add( lblProtocol, i18n( <span class="stringliteral">"Protocol, which shall be used to get the mails from the server. Currently KShowmail just supports POP3."</span>) );
+<a name="l00055"></a>00055 TQToolTip::add( <a class="code" href="classServerDialog.html#2634e6da37697f6a6a1a2020118bfd59">cboProtocol</a>, i18n( <span class="stringliteral">"Protocol, which shall be used to get the mails from the server. Currently KShowmail just supports POP3."</span>) );
<a name="l00056"></a>00056 layTop-&gt;addWidget( lblProtocol, 2, 0 );
<a name="l00057"></a>00057 layTop-&gt;addWidget( <a class="code" href="classServerDialog.html#2634e6da37697f6a6a1a2020118bfd59">cboProtocol</a>, 2, 1 );
<a name="l00058"></a>00058
-<a name="l00059"></a>00059 QLabel* lblPort = <span class="keyword">new</span> QLabel( i18n( <span class="stringliteral">"Port:"</span> ), page, <span class="stringliteral">"lblPort"</span> );
-<a name="l00060"></a>00060 <a class="code" href="classServerDialog.html#1ac6a0a7f23a08ab62450991412627d6">spbPort</a> = <span class="keyword">new</span> QSpinBox( 0, 65535, 1, page, <span class="stringliteral">"spbPort"</span> );
+<a name="l00059"></a>00059 TQLabel* lblPort = <span class="keyword">new</span> TQLabel( i18n( <span class="stringliteral">"Port:"</span> ), page, <span class="stringliteral">"lblPort"</span> );
+<a name="l00060"></a>00060 <a class="code" href="classServerDialog.html#1ac6a0a7f23a08ab62450991412627d6">spbPort</a> = <span class="keyword">new</span> TQSpinBox( 0, 65535, 1, page, <span class="stringliteral">"spbPort"</span> );
<a name="l00061"></a>00061 <a class="code" href="classServerDialog.html#1ac6a0a7f23a08ab62450991412627d6">spbPort</a>-&gt;setValue( DEFAULT_PORT_POP3 );
-<a name="l00062"></a>00062 QToolTip::add( lblPort, i18n( <span class="stringliteral">"Port Number. Normally POP3 uses port 110."</span> ) );
-<a name="l00063"></a>00063 QToolTip::add( <a class="code" href="classServerDialog.html#1ac6a0a7f23a08ab62450991412627d6">spbPort</a>, i18n( <span class="stringliteral">"Port Number. Normally POP3 uses port 110."</span> ) );
+<a name="l00062"></a>00062 TQToolTip::add( lblPort, i18n( <span class="stringliteral">"Port Number. Normally POP3 uses port 110."</span> ) );
+<a name="l00063"></a>00063 TQToolTip::add( <a class="code" href="classServerDialog.html#1ac6a0a7f23a08ab62450991412627d6">spbPort</a>, i18n( <span class="stringliteral">"Port Number. Normally POP3 uses port 110."</span> ) );
<a name="l00064"></a>00064 layTop-&gt;addWidget( lblPort, 3, 0 );
<a name="l00065"></a>00065 layTop-&gt;addWidget( <a class="code" href="classServerDialog.html#1ac6a0a7f23a08ab62450991412627d6">spbPort</a>, 3, 1 );
<a name="l00066"></a>00066
-<a name="l00067"></a>00067 QLabel* lblUser = <span class="keyword">new</span> QLabel( i18n( <span class="stringliteral">"User:"</span> ), page, <span class="stringliteral">"lblUser"</span> );
+<a name="l00067"></a>00067 TQLabel* lblUser = <span class="keyword">new</span> TQLabel( i18n( <span class="stringliteral">"User:"</span> ), page, <span class="stringliteral">"lblUser"</span> );
<a name="l00068"></a>00068 <a class="code" href="classServerDialog.html#0df9d91a225a5426d198286987f5b1b2">txtUser</a> = <span class="keyword">new</span> KLineEdit( page, <span class="stringliteral">"txtUser"</span> );
-<a name="l00069"></a>00069 QToolTip::add( lblUser, i18n( <span class="stringliteral">"To authenticate to the mail server you need an user name."</span> ) );
-<a name="l00070"></a>00070 QToolTip::add( <a class="code" href="classServerDialog.html#0df9d91a225a5426d198286987f5b1b2">txtUser</a>, i18n( <span class="stringliteral">"To authenticate to the mail server you need an user name."</span> ) );
+<a name="l00069"></a>00069 TQToolTip::add( lblUser, i18n( <span class="stringliteral">"To authenticate to the mail server you need an user name."</span> ) );
+<a name="l00070"></a>00070 TQToolTip::add( <a class="code" href="classServerDialog.html#0df9d91a225a5426d198286987f5b1b2">txtUser</a>, i18n( <span class="stringliteral">"To authenticate to the mail server you need an user name."</span> ) );
<a name="l00071"></a>00071 layTop-&gt;addWidget( lblUser, 4, 0 );
<a name="l00072"></a>00072 layTop-&gt;addWidget( <a class="code" href="classServerDialog.html#0df9d91a225a5426d198286987f5b1b2">txtUser</a>, 4, 1 );
<a name="l00073"></a>00073
<a name="l00074"></a>00074 <span class="comment">//password groupbox and layouts</span>
-<a name="l00075"></a>00075 QGroupBox* gboxPassword = <span class="keyword">new</span> QGroupBox( 0, Qt::Horizontal, i18n( <span class="stringliteral">"Password"</span> ), page, <span class="stringliteral">"gboxPassword"</span> );
+<a name="l00075"></a>00075 TQGroupBox* gboxPassword = <span class="keyword">new</span> TQGroupBox( 0, TQt::Horizontal, i18n( <span class="stringliteral">"Password"</span> ), page, <span class="stringliteral">"gboxPassword"</span> );
<a name="l00076"></a>00076 layMain-&gt;addWidget( gboxPassword );
<a name="l00077"></a>00077
-<a name="l00078"></a>00078 QVBoxLayout* layPassword = <span class="keyword">new</span> QVBoxLayout( gboxPassword-&gt;layout(), spacingHint() );
-<a name="l00079"></a>00079 QGridLayout* layPasswordStorage = <span class="keyword">new</span> QGridLayout( layPassword, 2, 2, spacingHint() );
+<a name="l00078"></a>00078 TQVBoxLayout* layPassword = <span class="keyword">new</span> TQVBoxLayout( gboxPassword-&gt;layout(), spacingHint() );
+<a name="l00079"></a>00079 TQGridLayout* layPasswordStorage = <span class="keyword">new</span> TQGridLayout( layPassword, 2, 2, spacingHint() );
<a name="l00080"></a>00080
<a name="l00081"></a>00081
<a name="l00082"></a>00082 <span class="comment">//radio buttons to set storage of the password</span>
-<a name="l00083"></a>00083 <a class="code" href="classServerDialog.html#63a7dda4a3c7da5a4b7979dcd13f96ce">grpPasswordStorage</a> = <span class="keyword">new</span> QButtonGroup( NULL, <span class="stringliteral">"grpPasswordStorage"</span> );
+<a name="l00083"></a>00083 <a class="code" href="classServerDialog.html#63a7dda4a3c7da5a4b7979dcd13f96ce">grpPasswordStorage</a> = <span class="keyword">new</span> TQButtonGroup( NULL, <span class="stringliteral">"grpPasswordStorage"</span> );
<a name="l00084"></a>00084 connect( <a class="code" href="classServerDialog.html#63a7dda4a3c7da5a4b7979dcd13f96ce">grpPasswordStorage</a>, SIGNAL( clicked( <span class="keywordtype">int</span> ) ), <span class="keyword">this</span>, SLOT( <a class="code" href="classServerDialog.html#3b3962b56ecaaa225953601d37228cb3">slotPasswordStorageChanged</a>( <span class="keywordtype">int</span> ) ) );
<a name="l00085"></a>00085
-<a name="l00086"></a>00086 QRadioButton* btnPasswordDontSave = <span class="keyword">new</span> QRadioButton( i18n( <span class="stringliteral">"Don't save"</span> ), gboxPassword, <span class="stringliteral">"btnPasswordDontSave"</span> );
-<a name="l00087"></a>00087 QRadioButton* btnPasswordSaveFile = <span class="keyword">new</span> QRadioButton( i18n( <span class="stringliteral">"Save password"</span>), gboxPassword, <span class="stringliteral">"btnPasswordSaveFile"</span> );
-<a name="l00088"></a>00088 QRadioButton* btnPasswordSaveKWallet = <span class="keyword">new</span> QRadioButton( i18n( <span class="stringliteral">"Use KWallet"</span> ), gboxPassword, <span class="stringliteral">"btnPasswordSaveKWallet"</span> );
+<a name="l00086"></a>00086 TQRadioButton* btnPasswordDontSave = <span class="keyword">new</span> TQRadioButton( i18n( <span class="stringliteral">"Don't save"</span> ), gboxPassword, <span class="stringliteral">"btnPasswordDontSave"</span> );
+<a name="l00087"></a>00087 TQRadioButton* btnPasswordSaveFile = <span class="keyword">new</span> TQRadioButton( i18n( <span class="stringliteral">"Save password"</span>), gboxPassword, <span class="stringliteral">"btnPasswordSaveFile"</span> );
+<a name="l00088"></a>00088 TQRadioButton* btnPasswordSaveKWallet = <span class="keyword">new</span> TQRadioButton( i18n( <span class="stringliteral">"Use KWallet"</span> ), gboxPassword, <span class="stringliteral">"btnPasswordSaveKWallet"</span> );
<a name="l00089"></a>00089 <a class="code" href="classServerDialog.html#63a7dda4a3c7da5a4b7979dcd13f96ce">grpPasswordStorage</a>-&gt;insert( btnPasswordDontSave, ID_BUTTON_PASSWORD_DONT_SAVE );
<a name="l00090"></a>00090 <a class="code" href="classServerDialog.html#63a7dda4a3c7da5a4b7979dcd13f96ce">grpPasswordStorage</a>-&gt;insert( btnPasswordSaveFile, ID_BUTTON_PASSWORD_SAVE_FILE );
<a name="l00091"></a>00091 <a class="code" href="classServerDialog.html#63a7dda4a3c7da5a4b7979dcd13f96ce">grpPasswordStorage</a>-&gt;insert( btnPasswordSaveKWallet, ID_BUTTON_PASSWORD_SAVE_KWALLET );
-<a name="l00092"></a>00092 QToolTip::add( btnPasswordDontSave, i18n( <span class="stringliteral">"Don't save password. KShowmail will ask you for it at first server connect."</span> ) );
-<a name="l00093"></a>00093 QToolTip::add( btnPasswordSaveFile, i18n( <span class="stringliteral">"Save password in the configuration file. Not recommended, because the password is just lightly encrypted"</span> ) );
-<a name="l00094"></a>00094 QToolTip::add( btnPasswordSaveKWallet, i18n( <span class="stringliteral">"Use KWallet to save the password. Maybe you have to type in the KWallet master password at first server connect."</span> ) );
+<a name="l00092"></a>00092 TQToolTip::add( btnPasswordDontSave, i18n( <span class="stringliteral">"Don't save password. KShowmail will ask you for it at first server connect."</span> ) );
+<a name="l00093"></a>00093 TQToolTip::add( btnPasswordSaveFile, i18n( <span class="stringliteral">"Save password in the configuration file. Not recommended, because the password is just lightly encrypted"</span> ) );
+<a name="l00094"></a>00094 TQToolTip::add( btnPasswordSaveKWallet, i18n( <span class="stringliteral">"Use KWallet to save the password. Maybe you have to type in the KWallet master password at first server connect."</span> ) );
<a name="l00095"></a>00095 layPasswordStorage-&gt;addWidget( btnPasswordDontSave, 0, 0 );
<a name="l00096"></a>00096 layPasswordStorage-&gt;addWidget( btnPasswordSaveFile, 0, 1 );
<a name="l00097"></a>00097 layPasswordStorage-&gt;addWidget( btnPasswordSaveKWallet, 1, 0 );
@@ -122,10 +122,10 @@
<a name="l00105"></a>00105 <a class="code" href="classServerDialog.html#3b3962b56ecaaa225953601d37228cb3">slotPasswordStorageChanged</a>( DEFAULT_ACCOUNT_PASSWORD_STORAGE );
<a name="l00106"></a>00106
<a name="l00107"></a>00107 <span class="comment">//active check box</span>
-<a name="l00108"></a>00108 QGridLayout* layActive = <span class="keyword">new</span> QGridLayout( layMain, 1, 1 );
-<a name="l00109"></a>00109 layActive-&gt;setAlignment( Qt::AlignCenter );
-<a name="l00110"></a>00110 <a class="code" href="classServerDialog.html#b433e8128211c96fe08015cc45083ca6">chkActive</a> = <span class="keyword">new</span> QCheckBox( i18n( <span class="stringliteral">"Active"</span>), page, <span class="stringliteral">"chkActive"</span> );
-<a name="l00111"></a>00111 QToolTip::add( <a class="code" href="classServerDialog.html#b433e8128211c96fe08015cc45083ca6">chkActive</a>, i18n( <span class="stringliteral">"Select it to activate this account."</span> ) );
+<a name="l00108"></a>00108 TQGridLayout* layActive = <span class="keyword">new</span> TQGridLayout( layMain, 1, 1 );
+<a name="l00109"></a>00109 layActive-&gt;setAlignment( TQt::AlignCenter );
+<a name="l00110"></a>00110 <a class="code" href="classServerDialog.html#b433e8128211c96fe08015cc45083ca6">chkActive</a> = <span class="keyword">new</span> TQCheckBox( i18n( <span class="stringliteral">"Active"</span>), page, <span class="stringliteral">"chkActive"</span> );
+<a name="l00111"></a>00111 TQToolTip::add( <a class="code" href="classServerDialog.html#b433e8128211c96fe08015cc45083ca6">chkActive</a>, i18n( <span class="stringliteral">"Select it to activate this account."</span> ) );
<a name="l00112"></a>00112 layActive-&gt;addWidget( <a class="code" href="classServerDialog.html#b433e8128211c96fe08015cc45083ca6">chkActive</a>, 0, 0 );
<a name="l00113"></a>00113 <a class="code" href="classServerDialog.html#b433e8128211c96fe08015cc45083ca6">chkActive</a>-&gt;setChecked( DEFAULT_ACCOUNT_ACTIVE );
<a name="l00114"></a>00114
@@ -179,7 +179,7 @@
<a name="l00162"></a>00162 }
<a name="l00163"></a>00163
<a name="l00164"></a>00164 <span class="comment">//get application config object (kshowmailrc)</span>
-<a name="l00165"></a>00165 KConfig* config = KApplication::kApplication()-&gt;config();
+<a name="l00165"></a>00165 TDEConfig* config = TDEApplication::kApplication()-&gt;config();
<a name="l00166"></a>00166
<a name="l00167"></a>00167 config-&gt;setGroup( <a class="code" href="classServerDialog.html#690681b24cfd21ebdc4d5543bee5b4a3">txtAccount</a>-&gt;text() );
<a name="l00168"></a>00168
@@ -193,8 +193,8 @@
<a name="l00176"></a>00176 <span class="comment">//therefore we use setText(). But if we use this method, KPasswordEdit::password()</span>
<a name="l00177"></a>00177 <span class="comment">//will return an empty string. If the user has typed in a new password, KPasswordEdit::password()</span>
<a name="l00178"></a>00178 <span class="comment">//will return the correct password</span>
-<a name="l00179"></a>00179 QString pass;
-<a name="l00180"></a>00180 <span class="keywordflow">if</span>( <a class="code" href="classServerDialog.html#8630fd27107213fd88fbaf0db02793d6">txtPassword</a>-&gt;password() == <span class="stringliteral">""</span> || <a class="code" href="classServerDialog.html#8630fd27107213fd88fbaf0db02793d6">txtPassword</a>-&gt;password() == QString::null )
+<a name="l00179"></a>00179 TQString pass;
+<a name="l00180"></a>00180 <span class="keywordflow">if</span>( <a class="code" href="classServerDialog.html#8630fd27107213fd88fbaf0db02793d6">txtPassword</a>-&gt;password() == <span class="stringliteral">""</span> || <a class="code" href="classServerDialog.html#8630fd27107213fd88fbaf0db02793d6">txtPassword</a>-&gt;password() == TQString::null )
<a name="l00181"></a>00181 pass = <a class="code" href="classServerDialog.html#8630fd27107213fd88fbaf0db02793d6">txtPassword</a>-&gt;text();
<a name="l00182"></a>00182 <span class="keywordflow">else</span>
<a name="l00183"></a>00183 pass = <a class="code" href="classServerDialog.html#8630fd27107213fd88fbaf0db02793d6">txtPassword</a>-&gt;password();
@@ -209,17 +209,17 @@
<a name="l00192"></a>00192 <span class="keywordflow">switch</span>( <a class="code" href="classServerDialog.html#63a7dda4a3c7da5a4b7979dcd13f96ce">grpPasswordStorage</a>-&gt;selectedId() )
<a name="l00193"></a>00193 {
<a name="l00194"></a>00194 <span class="keywordflow">case</span> ID_BUTTON_PASSWORD_DONT_SAVE : config-&gt;writeEntry( CONFIG_ENTRY_ACCOUNT_PASSWORD_STORAGE, CONFIG_VALUE_ACCOUNT_PASSWORD_DONT_SAVE );
-<a name="l00195"></a>00195 config-&gt;writeEntry( CONFIG_ENTRY_ACCOUNT_PASSWORD, QString::null );
+<a name="l00195"></a>00195 config-&gt;writeEntry( CONFIG_ENTRY_ACCOUNT_PASSWORD, TQString::null );
<a name="l00196"></a>00196 <span class="keywordflow">break</span>;
<a name="l00197"></a>00197 <span class="keywordflow">case</span> ID_BUTTON_PASSWORD_SAVE_FILE : config-&gt;writeEntry( CONFIG_ENTRY_ACCOUNT_PASSWORD_STORAGE, CONFIG_VALUE_ACCOUNT_PASSWORD_SAVE_FILE );
<a name="l00198"></a>00198 config-&gt;writeEntry( CONFIG_ENTRY_ACCOUNT_PASSWORD, <a class="code" href="namespaceEncryption.html#83f630d4dba4cf3a5f6b03a25e43f6c8">crypt</a>( url ) );
<a name="l00199"></a>00199 <span class="keywordflow">break</span>;
<a name="l00200"></a>00200 <span class="keywordflow">case</span> ID_BUTTON_PASSWORD_SAVE_KWALLET : config-&gt;writeEntry( CONFIG_ENTRY_ACCOUNT_PASSWORD_STORAGE, CONFIG_VALUE_ACCOUNT_PASSWORD_SAVE_KWALLET );
-<a name="l00201"></a>00201 config-&gt;writeEntry( CONFIG_ENTRY_ACCOUNT_PASSWORD, QString::null );
+<a name="l00201"></a>00201 config-&gt;writeEntry( CONFIG_ENTRY_ACCOUNT_PASSWORD, TQString::null );
<a name="l00202"></a>00202 <a class="code" href="namespaceKWalletAccess.html#0687cd1465352be5b3572cdfd2411219">KWalletAccess::savePassword</a>( <a class="code" href="classServerDialog.html#690681b24cfd21ebdc4d5543bee5b4a3">txtAccount</a>-&gt;text(), pass );
<a name="l00203"></a>00203 <span class="keywordflow">break</span>;
<a name="l00204"></a>00204 <span class="keywordflow">default</span> : config-&gt;writeEntry( CONFIG_ENTRY_ACCOUNT_PASSWORD_STORAGE, CONFIG_VALUE_ACCOUNT_PASSWORD_DONT_SAVE );
-<a name="l00205"></a>00205 config-&gt;writeEntry( CONFIG_ENTRY_ACCOUNT_PASSWORD, QString::null );
+<a name="l00205"></a>00205 config-&gt;writeEntry( CONFIG_ENTRY_ACCOUNT_PASSWORD, TQString::null );
<a name="l00206"></a>00206 }
<a name="l00207"></a>00207
<a name="l00208"></a>00208 config-&gt;writeEntry( CONFIG_ENTRY_ACCOUNT_ACTIVE, <a class="code" href="classServerDialog.html#b433e8128211c96fe08015cc45083ca6">chkActive</a>-&gt;isChecked() );