diff options
Diffstat (limited to 'doc/html/optiondialog_8cpp-source.html')
-rw-r--r-- | doc/html/optiondialog_8cpp-source.html | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/html/optiondialog_8cpp-source.html b/doc/html/optiondialog_8cpp-source.html index 5b4c828..0137a7f 100644 --- a/doc/html/optiondialog_8cpp-source.html +++ b/doc/html/optiondialog_8cpp-source.html @@ -34,15 +34,15 @@ <a name="l00017"></a>00017 <span class="comment"> * *</span> <a name="l00018"></a>00018 <span class="comment"> ***************************************************************************/</span> <a name="l00019"></a>00019 -<a name="l00020"></a>00020 <span class="preprocessor">#include <qcheckbox.h></span> -<a name="l00021"></a>00021 <span class="preprocessor">#include <qspinbox.h></span> -<a name="l00022"></a>00022 <span class="preprocessor">#include <qlabel.h></span> -<a name="l00023"></a>00023 <span class="preprocessor">#include <qfileinfo.h></span> -<a name="l00024"></a>00024 <span class="preprocessor">#include <qfiledialog.h></span> -<a name="l00025"></a>00025 <span class="preprocessor">#include <qpushbutton.h></span> +<a name="l00020"></a>00020 <span class="preprocessor">#include <ntqcheckbox.h></span> +<a name="l00021"></a>00021 <span class="preprocessor">#include <ntqspinbox.h></span> +<a name="l00022"></a>00022 <span class="preprocessor">#include <ntqlabel.h></span> +<a name="l00023"></a>00023 <span class="preprocessor">#include <ntqfileinfo.h></span> +<a name="l00024"></a>00024 <span class="preprocessor">#include <ntqfiledialog.h></span> +<a name="l00025"></a>00025 <span class="preprocessor">#include <ntqpushbutton.h></span> <a name="l00026"></a>00026 -<a name="l00027"></a>00027 <span class="preprocessor">#include <kmessagebox.h></span> -<a name="l00028"></a>00028 <span class="preprocessor">#include <klocale.h></span> +<a name="l00027"></a>00027 <span class="preprocessor">#include <tdemessagebox.h></span> +<a name="l00028"></a>00028 <span class="preprocessor">#include <tdelocale.h></span> <a name="l00029"></a>00029 <span class="preprocessor">#include <knuminput.h></span> <a name="l00030"></a>00030 <span class="preprocessor">#include <kdebug.h></span> <a name="l00031"></a>00031 @@ -52,7 +52,7 @@ <a name="l00035"></a>00035 <span class="preprocessor">#include "configelem.h"</span> <a name="l00036"></a>00036 <span class="preprocessor">#include "commandlist.h"</span> <a name="l00037"></a>00037 -<a name="l00038"></a><a class="code" href="classOptionDialog.html#798615cd9184797821f151a4465c1e2f">00038</a> <a class="code" href="classOptionDialog.html#798615cd9184797821f151a4465c1e2f">OptionDialog::OptionDialog</a>(QWidget *parent, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <a class="code" href="classConfigList.html">ConfigList</a>* config, <a class="code" href="classCommandList.html">CommandList</a>* cmd): +<a name="l00038"></a><a class="code" href="classOptionDialog.html#798615cd9184797821f151a4465c1e2f">00038</a> <a class="code" href="classOptionDialog.html#798615cd9184797821f151a4465c1e2f">OptionDialog::OptionDialog</a>(TQWidget *parent, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <a class="code" href="classConfigList.html">ConfigList</a>* config, <a class="code" href="classCommandList.html">CommandList</a>* cmd): <a name="l00039"></a>00039 <a class="code" href="classOptionDlg.html">OptionDlg</a> (parent,name,true), <a name="l00040"></a>00040 m_ConfigList (*config), <a name="l00041"></a>00041 m_pConfigList (config), @@ -78,7 +78,7 @@ <a name="l00061"></a>00061 <a class="code" href="classOptionDlg.html#613b7eb6be9c441040100dd69c4314db">m_CheckExternalProg</a>->setChecked (<a class="code" href="classOptionDialog.html#32e10dd017b5499d290283af638f3de7">m_pConfigList</a>-><a class="code" href="classConfigList.html#e53957ef0d235a05cffaf699d0572bdc">m_bExternalProg</a>); <a name="l00062"></a>00062 <a class="code" href="classOptionDlg.html#6044d14d1929890f3dd9e309f9cac091">m_ButtonExternalProgTest</a>->setEnabled (<a class="code" href="classOptionDialog.html#32e10dd017b5499d290283af638f3de7">m_pConfigList</a>-><a class="code" href="classConfigList.html#e53957ef0d235a05cffaf699d0572bdc">m_bExternalProg</a>); <a name="l00063"></a>00063 <a class="code" href="classOptionDlg.html#464fd65b203b450828c95e273c17ecc0">m_ComboExternalProg</a>->setEnabled (<a class="code" href="classOptionDialog.html#32e10dd017b5499d290283af638f3de7">m_pConfigList</a>-><a class="code" href="classConfigList.html#e53957ef0d235a05cffaf699d0572bdc">m_bExternalProg</a>); -<a name="l00064"></a>00064 <a class="code" href="classOptionDlg.html#5adabd2b563e6c382e0f578ca2cfd113">QLabel_5</a>->setEnabled (<a class="code" href="classOptionDialog.html#32e10dd017b5499d290283af638f3de7">m_pConfigList</a>-><a class="code" href="classConfigList.html#e53957ef0d235a05cffaf699d0572bdc">m_bExternalProg</a>); +<a name="l00064"></a>00064 <a class="code" href="classOptionDlg.html#5adabd2b563e6c382e0f578ca2cfd113">TQLabel_5</a>->setEnabled (<a class="code" href="classOptionDialog.html#32e10dd017b5499d290283af638f3de7">m_pConfigList</a>-><a class="code" href="classConfigList.html#e53957ef0d235a05cffaf699d0572bdc">m_bExternalProg</a>); <a name="l00065"></a>00065 <a class="code" href="classOptionDlg.html#22d76af0ad75e30b878c1412da3f84a0">m_SpinMaxSize</a>->setValue (<a class="code" href="classOptionDialog.html#32e10dd017b5499d290283af638f3de7">m_pConfigList</a>-><a class="code" href="classConfigList.html#e0f8dd2ed0939ddeec29b9da31228cb0">m_nMaxMailSize</a>); <a name="l00066"></a>00066 <a class="code" href="classOptionDialog.html#e9a1f0964b9205f483a483cc6a9a4aa8">m_ConfigList</a>.<a class="code" href="classConfigList.html#59803bd5eef942d62ab06bee12dd9b1f">setCombo</a> (<a class="code" href="classOptionDlg.html#dda3f84fb59db208ce6d71ff1500b679">m_ComboAccount</a>); <a name="l00067"></a>00067 <a class="code" href="classOptionDialog.html#88bc7fc86cc13a701d216bd8b9bf3f5b">m_pCmdList</a>-><a class="code" href="classCommandList.html#e5a8632fb53943a8ec5b8edfa268e668">setCombo</a> (<a class="code" href="classOptionDlg.html#464fd65b203b450828c95e273c17ecc0">m_ComboExternalProg</a>, <a class="code" href="classOptionDialog.html#32e10dd017b5499d290283af638f3de7">m_pConfigList</a>-><a class="code" href="classConfigList.html#44ce4ad71c954f0df6043740a7bcd80c">m_nExternalProg</a>); @@ -236,7 +236,7 @@ <a name="l00219"></a>00219 <span class="keywordflow">if</span> (KMessageBox::warningYesNo (<span class="keyword">this</span>, i18n(<span class="stringliteral">"Password will be stored as scrambled text.\n"</span> <a name="l00220"></a>00220 <span class="stringliteral">"It might be possible to decipher it.\n"</span> <a name="l00221"></a>00221 <span class="stringliteral">"Are you sure ?\n"</span>), -<a name="l00222"></a>00222 QString::null, +<a name="l00222"></a>00222 TQString::null, <a name="l00223"></a>00223 KStdGuiItem::yes(), <a name="l00224"></a>00224 KStdGuiItem::no(), <a name="l00225"></a>00225 <span class="stringliteral">"savepasswdaskagain"</span>) != KMessageBox::Yes) @@ -246,17 +246,17 @@ <a name="l00229"></a>00229 <a name="l00230"></a><a class="code" href="classOptionDialog.html#c21a2228b16965afd70357f74332a7af">00230</a> <span class="keywordtype">void</span> <a class="code" href="classOptionDialog.html#c21a2228b16965afd70357f74332a7af">OptionDialog::slotButtonSelectSoundFile</a> () <a name="l00231"></a>00231 { -<a name="l00232"></a>00232 QStringList filters; +<a name="l00232"></a>00232 TQStringList filters; <a name="l00233"></a>00233 filters.append (i18n(<span class="stringliteral">"Wave files (*.wav)"</span>)); <a name="l00234"></a>00234 filters.append (i18n(<span class="stringliteral">"All files (*)"</span>)); -<a name="l00235"></a>00235 QFileInfo info (<a class="code" href="classOptionDlg.html#9254f6d43feea0d85b590d0feb394cb3">m_EditSoundFile</a>->text ()); -<a name="l00236"></a>00236 QString dir = info.dirPath (); -<a name="l00237"></a>00237 QFileDialog dlg (<span class="keyword">this</span>, <span class="stringliteral">"Sound File"</span>, TRUE); +<a name="l00235"></a>00235 TQFileInfo info (<a class="code" href="classOptionDlg.html#9254f6d43feea0d85b590d0feb394cb3">m_EditSoundFile</a>->text ()); +<a name="l00236"></a>00236 TQString dir = info.dirPath (); +<a name="l00237"></a>00237 TQFileDialog dlg (<span class="keyword">this</span>, <span class="stringliteral">"Sound File"</span>, TRUE); <a name="l00238"></a>00238 dlg.setCaption (i18n(<span class="stringliteral">"Select Sound File"</span>)); <a name="l00239"></a>00239 dlg.setDir (dir); <a name="l00240"></a>00240 dlg.setFilters (filters); -<a name="l00241"></a>00241 dlg.setMode (QFileDialog::ExistingFile); -<a name="l00242"></a>00242 <span class="keywordflow">if</span> (dlg.exec () == QDialog::Accepted) +<a name="l00241"></a>00241 dlg.setMode (TQFileDialog::ExistingFile); +<a name="l00242"></a>00242 <span class="keywordflow">if</span> (dlg.exec () == TQDialog::Accepted) <a name="l00243"></a>00243 <a class="code" href="classOptionDlg.html#9254f6d43feea0d85b590d0feb394cb3">m_EditSoundFile</a>->setText (dlg.selectedFile()); <a name="l00244"></a>00244 } <a name="l00245"></a>00245 |