From df48ed078a0409e56f8d3373898f0797c3376ae7 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 22 Mar 2025 13:58:57 +0900 Subject: Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro (cherry picked from commit 6d1638620f3da1664aa3b86c46852515fc78707c) --- doc/html/AlertDlg_8cpp-source.html | 12 +-- doc/html/AlertDlg_8h-source.html | 2 +- doc/html/CommandDlg_8cpp-source.html | 6 +- doc/html/CommandDlg_8h-source.html | 2 +- doc/html/CommandEntryDlg_8cpp-source.html | 4 +- doc/html/CommandEntryDlg_8h-source.html | 2 +- doc/html/EditDlg_8cpp-source.html | 6 +- doc/html/EditDlg_8h-source.html | 2 +- doc/html/FilterDlg_8cpp-source.html | 6 +- doc/html/FilterDlg_8h-source.html | 2 +- doc/html/FilterEntryDlg_8cpp-source.html | 20 ++-- doc/html/FilterEntryDlg_8h-source.html | 2 +- doc/html/OptionDlg_8cpp-source.html | 42 ++++----- doc/html/OptionDlg_8h-source.html | 2 +- doc/html/ServerDlg_8cpp-source.html | 6 +- doc/html/ServerDlg_8h-source.html | 2 +- doc/html/classAlertDialog-members.html | 2 +- doc/html/classAlertDlg-members.html | 2 +- doc/html/classAlertDlg.html | 6 +- doc/html/classCommandDialog-members.html | 2 +- doc/html/classCommandDlg-members.html | 2 +- doc/html/classCommandDlg.html | 4 +- doc/html/classCommandEntryDialog-members.html | 2 +- doc/html/classCommandEntryDlg-members.html | 2 +- doc/html/classCommandEntryDlg.html | 4 +- doc/html/classConfigElem.html | 46 +++++----- doc/html/classConfigList.html | 110 +++++++++++----------- doc/html/classEditDialog-members.html | 2 +- doc/html/classEditDlg-members.html | 2 +- doc/html/classEditDlg.html | 4 +- doc/html/classFilterDialog-members.html | 2 +- doc/html/classFilterDlg-members.html | 2 +- doc/html/classFilterDlg.html | 4 +- doc/html/classFilterEntryDialog-members.html | 2 +- doc/html/classFilterEntryDlg-members.html | 2 +- doc/html/classFilterEntryDlg.html | 4 +- doc/html/classKShowMailApp.html | 2 +- doc/html/classOptionDialog-members.html | 2 +- doc/html/classOptionDlg-members.html | 2 +- doc/html/classOptionDlg.html | 4 +- doc/html/classServerDlg-members.html | 2 +- doc/html/classServerDlg.html | 4 +- doc/html/classShowRecord.html | 14 +-- doc/html/classShowRecordElem.html | 16 ++-- doc/html/commandentrydialog_8cpp-source.html | 2 +- doc/html/configelem_8cpp-source.html | 4 +- doc/html/configlist_8cpp-source.html | 34 +++---- doc/html/decodeRFC2047_8cpp-source.html | 16 ++-- doc/html/filterlist_8cpp-source.html | 2 +- doc/html/namespaceTypes.html | 2 +- doc/html/optiondialog_8cpp-source.html | 2 +- doc/html/showrecord_8cpp-source.html | 2 +- doc/html/showrecordelem_8cpp-source.html | 2 +- kshowmail/configelem.cpp | 10 +- kshowmail/configelem.h | 50 +++++----- kshowmail/configlist.cpp | 34 +++---- kshowmail/configlist.h | 126 +++++++++++++------------- kshowmail/decodeRFC2047.cpp | 16 ++-- kshowmail/filteritem.cpp | 2 +- kshowmail/filteritemcriteria.h | 6 +- kshowmail/filterlog.h | 4 +- kshowmail/filterlogentry.h | 14 +-- kshowmail/headerfilter.h | 4 +- kshowmail/kcmconfigs/accountsetupitem.h | 8 +- kshowmail/kcmconfigs/configactions.h | 4 +- kshowmail/kcmconfigs/configfilter.h | 2 +- kshowmail/kcmconfigs/configspamcheck.h | 2 +- kshowmail/kcmconfigs/filtercriteriawidget.h | 4 +- kshowmail/kcmconfigs/filtersetupdialog.h | 2 +- kshowmail/kcmconfigs/mailboxwizard.h | 2 +- kshowmail/kcmconfigs/tdewalletaccess.h | 4 +- kshowmail/kshowmail.h | 2 +- kshowmail/senderlistfilter.cpp | 2 +- kshowmail/senderlistfilter.h | 6 +- kshowmail/showmaildialog.h | 2 +- kshowmail/showrecord.cpp | 2 +- kshowmail/showrecord.h | 14 +-- kshowmail/showrecordelem.cpp | 2 +- kshowmail/showrecordelem.h | 16 ++-- kshowmail/tdewalletaccess.h | 4 +- kshowmail/types.h | 4 +- 81 files changed, 392 insertions(+), 392 deletions(-) diff --git a/doc/html/AlertDlg_8cpp-source.html b/doc/html/AlertDlg_8cpp-source.html index 575eb90..68d84ae 100644 --- a/doc/html/AlertDlg_8cpp-source.html +++ b/doc/html/AlertDlg_8cpp-source.html @@ -208,7 +208,7 @@ 00191 * name 'name' and widget flags set to 'f'. 00192 * 00193 * The dialog will by default be modeless, unless you set 'modal' to -00194 * TRUE to construct a modal dialog. +00194 * true to construct a modal dialog. 00195 */ 00196 AlertDlg::AlertDlg( TQWidget* parent, const char* name, bool modal, WFlags fl ) 00197 : TQDialog( parent, name, modal, fl ), @@ -228,15 +228,15 @@ 00211 00212 PixmapLabel2 = new TQLabel( this, "PixmapLabel2" ); 00213 PixmapLabel2->setPixmap( image0 ); -00214 PixmapLabel2->setScaledContents( TRUE ); +00214 PixmapLabel2->setScaledContents( true ); 00215 00216 AlertDlgLayout->addMultiCellWidget( PixmapLabel2, 0, 1, 0, 0 ); 00217 00218 TQLabel_1 = new TQLabel( this, "TQLabel_1" ); 00219 TQFont TQLabel_1_font( TQLabel_1->font() ); 00220 TQLabel_1_font.setPointSize( 14 ); -00221 TQLabel_1_font.setBold( TRUE ); -00222 TQLabel_1_font.setItalic( TRUE ); +00221 TQLabel_1_font.setBold( true ); +00222 TQLabel_1_font.setItalic( true ); 00223 TQLabel_1->setFont( TQLabel_1_font ); 00224 00225 AlertDlgLayout->addMultiCellWidget( TQLabel_1, 0, 0, 1, 2 ); @@ -244,8 +244,8 @@ 00227 TQLabel_2 = new TQLabel( this, "TQLabel_2" ); 00228 TQFont TQLabel_2_font( TQLabel_2->font() ); 00229 TQLabel_2_font.setPointSize( 14 ); -00230 TQLabel_2_font.setBold( TRUE ); -00231 TQLabel_2_font.setItalic( TRUE ); +00230 TQLabel_2_font.setBold( true ); +00231 TQLabel_2_font.setItalic( true ); 00232 TQLabel_2->setFont( TQLabel_2_font ); 00233 00234 AlertDlgLayout->addMultiCellWidget( TQLabel_2, 1, 1, 1, 2 ); diff --git a/doc/html/AlertDlg_8h-source.html b/doc/html/AlertDlg_8h-source.html index 8bc9043..bfdc89d 100644 --- a/doc/html/AlertDlg_8h-source.html +++ b/doc/html/AlertDlg_8h-source.html @@ -48,7 +48,7 @@ 00026 TQ_OBJECT 00027 00028 public: -00029 AlertDlg( TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); +00029 AlertDlg( TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); 00030 ~AlertDlg(); 00031 00032 TQPushButton* m_ButtonIgnore; diff --git a/doc/html/CommandDlg_8cpp-source.html b/doc/html/CommandDlg_8cpp-source.html index 0745fbb..1c40837 100644 --- a/doc/html/CommandDlg_8cpp-source.html +++ b/doc/html/CommandDlg_8cpp-source.html @@ -41,14 +41,14 @@ 00024 * name 'name' and widget flags set to 'f'. 00025 * 00026 * The dialog will by default be modeless, unless you set 'modal' to -00027 * TRUE to construct a modal dialog. +00027 * true to construct a modal dialog. 00028 */ 00029 CommandDlg::CommandDlg( TQWidget* parent, const char* name, bool modal, WFlags fl ) 00030 : TQDialog( parent, name, modal, fl ) 00031 { 00032 if ( !name ) 00033 setName( "CommandDlg" ); -00034 setSizeGripEnabled( FALSE ); +00034 setSizeGripEnabled( false ); 00035 CommandDlgLayout = new TQGridLayout( this, 1, 1, 11, 6, "CommandDlgLayout"); 00036 00037 Layout6 = new TQHBoxLayout( 0, 0, 6, "Layout6"); @@ -91,7 +91,7 @@ 00074 00075 TQGroupBox_1Layout->addWidget( m_ButtonDelete, 1, 3 ); 00076 -00077 m_ComboCommand = new TQComboBox( FALSE, TQGroupBox_1, "m_ComboCommand" ); +00077 m_ComboCommand = new TQComboBox( false, TQGroupBox_1, "m_ComboCommand" ); 00078 m_ComboCommand->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, m_ComboCommand->sizePolicy().hasHeightForWidth() ) ); 00079 m_ComboCommand->setInsertionPolicy( TQComboBox::AtTop ); 00080 diff --git a/doc/html/CommandDlg_8h-source.html b/doc/html/CommandDlg_8h-source.html index 89cf9c7..d5548b2 100644 --- a/doc/html/CommandDlg_8h-source.html +++ b/doc/html/CommandDlg_8h-source.html @@ -43,7 +43,7 @@ 00026 TQ_OBJECT 00027 00028 public: -00029 CommandDlg( TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); +00029 CommandDlg( TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); 00030 ~CommandDlg(); 00031 00032 TQPushButton* m_ButtonOk; diff --git a/doc/html/CommandEntryDlg_8cpp-source.html b/doc/html/CommandEntryDlg_8cpp-source.html index df1339c..2dec343 100644 --- a/doc/html/CommandEntryDlg_8cpp-source.html +++ b/doc/html/CommandEntryDlg_8cpp-source.html @@ -42,14 +42,14 @@ 00025 * name 'name' and widget flags set to 'f'. 00026 * 00027 * The dialog will by default be modeless, unless you set 'modal' to -00028 * TRUE to construct a modal dialog. +00028 * true to construct a modal dialog. 00029 */ 00030 CommandEntryDlg::CommandEntryDlg( TQWidget* parent, const char* name, bool modal, WFlags fl ) 00031 : TQDialog( parent, name, modal, fl ) 00032 { 00033 if ( !name ) 00034 setName( "CommandEntryDlg" ); -00035 setSizeGripEnabled( FALSE ); +00035 setSizeGripEnabled( false ); 00036 CommandEntryDlgLayout = new TQVBoxLayout( this, 11, 6, "CommandEntryDlgLayout"); 00037 00038 TQGroupBox_1 = new TQGroupBox( this, "TQGroupBox_1" ); diff --git a/doc/html/CommandEntryDlg_8h-source.html b/doc/html/CommandEntryDlg_8h-source.html index c0c6920..b5d0286 100644 --- a/doc/html/CommandEntryDlg_8h-source.html +++ b/doc/html/CommandEntryDlg_8h-source.html @@ -44,7 +44,7 @@ 00027 TQ_OBJECT 00028 00029 public: -00030 CommandEntryDlg( TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); +00030 CommandEntryDlg( TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); 00031 ~CommandEntryDlg(); 00032 00033 TQGroupBox* TQGroupBox_1; diff --git a/doc/html/EditDlg_8cpp-source.html b/doc/html/EditDlg_8cpp-source.html index 009679b..8967c66 100644 --- a/doc/html/EditDlg_8cpp-source.html +++ b/doc/html/EditDlg_8cpp-source.html @@ -40,7 +40,7 @@ 00023 * name 'name' and widget flags set to 'f'. 00024 * 00025 * The dialog will by default be modeless, unless you set 'modal' to -00026 * TRUE to construct a modal dialog. +00026 * true to construct a modal dialog. 00027 */ 00028 EditDlg::EditDlg( TQWidget* parent, const char* name, bool modal, WFlags fl ) 00029 : TQDialog( parent, name, modal, fl ) @@ -55,8 +55,8 @@ 00038 m_Edit = new KTextBrowser( this, "m_Edit" ); 00039 m_Edit->setFocusPolicy( KTextBrowser::TabFocus ); 00040 m_Edit->setTextFormat( KTextBrowser::AutoText ); -00041 m_Edit->setReadOnly( TRUE ); -00042 m_Edit->setUndoRedoEnabled( FALSE ); +00041 m_Edit->setReadOnly( true ); +00042 m_Edit->setUndoRedoEnabled( false ); 00043 EditDlgLayout->addWidget( m_Edit ); 00044 00045 layout3 = new TQHBoxLayout( 0, 0, 6, "layout3"); diff --git a/doc/html/EditDlg_8h-source.html b/doc/html/EditDlg_8h-source.html index cdeaeaa..c028f31 100644 --- a/doc/html/EditDlg_8h-source.html +++ b/doc/html/EditDlg_8h-source.html @@ -42,7 +42,7 @@ 00025 TQ_OBJECT 00026 00027 public: -00028 EditDlg( TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); +00028 EditDlg( TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); 00029 ~EditDlg(); 00030 00031 KTextBrowser* m_Edit; diff --git a/doc/html/FilterDlg_8cpp-source.html b/doc/html/FilterDlg_8cpp-source.html index cb61bc5..891df2e 100644 --- a/doc/html/FilterDlg_8cpp-source.html +++ b/doc/html/FilterDlg_8cpp-source.html @@ -43,14 +43,14 @@ 00026 * name 'name' and widget flags set to 'f'. 00027 * 00028 * The dialog will by default be modeless, unless you set 'modal' to -00029 * TRUE to construct a modal dialog. +00029 * true to construct a modal dialog. 00030 */ 00031 FilterDlg::FilterDlg( TQWidget* parent, const char* name, bool modal, WFlags fl ) 00032 : TQDialog( parent, name, modal, fl ) 00033 { 00034 if ( !name ) 00035 setName( "FilterDlg" ); -00036 setSizeGripEnabled( FALSE ); +00036 setSizeGripEnabled( false ); 00037 FilterDlgLayout = new TQGridLayout( this, 1, 1, 11, 6, "FilterDlgLayout"); 00038 00039 Layout6 = new TQHBoxLayout( 0, 0, 6, "Layout6"); @@ -94,7 +94,7 @@ 00077 TQGroupBox_1Layout = new TQGridLayout( TQGroupBox_1->layout() ); 00078 TQGroupBox_1Layout->setAlignment( TQt::AlignTop ); 00079 -00080 _comboFilter = new TQComboBox( FALSE, TQGroupBox_1, "_comboFilter" ); +00080 _comboFilter = new TQComboBox( false, TQGroupBox_1, "_comboFilter" ); 00081 _comboFilter->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, _comboFilter->sizePolicy().hasHeightForWidth() ) ); 00082 _comboFilter->setInsertionPolicy( TQComboBox::AtTop ); 00083 diff --git a/doc/html/FilterDlg_8h-source.html b/doc/html/FilterDlg_8h-source.html index 7cbdcd4..64a59ac 100644 --- a/doc/html/FilterDlg_8h-source.html +++ b/doc/html/FilterDlg_8h-source.html @@ -45,7 +45,7 @@ 00028 TQ_OBJECT 00029 00030 public: -00031 FilterDlg( TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); +00031 FilterDlg( TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); 00032 ~FilterDlg(); 00033 00034 TQPushButton* _buttonOk; diff --git a/doc/html/FilterEntryDlg_8cpp-source.html b/doc/html/FilterEntryDlg_8cpp-source.html index 969bf12..f642188 100644 --- a/doc/html/FilterEntryDlg_8cpp-source.html +++ b/doc/html/FilterEntryDlg_8cpp-source.html @@ -44,19 +44,19 @@ 00027 * name 'name' and widget flags set to 'f'. 00028 * 00029 * The dialog will by default be modeless, unless you set 'modal' to -00030 * TRUE to construct a modal dialog. +00030 * true to construct a modal dialog. 00031 */ 00032 FilterEntryDlg::FilterEntryDlg( TQWidget* parent, const char* name, bool modal, WFlags fl ) 00033 : TQDialog( parent, name, modal, fl ) 00034 { 00035 if ( !name ) 00036 setName( "FilterEntryDlg" ); -00037 setSizeGripEnabled( FALSE ); +00037 setSizeGripEnabled( false ); 00038 FilterEntryDlgLayout = new TQGridLayout( this, 1, 1, 11, 6, "FilterEntryDlgLayout"); 00039 00040 _editName = new TQLineEdit( this, "_editName" ); -00041 _editName->setEnabled( TRUE ); -00042 _editName->setReadOnly( TRUE ); +00041 _editName->setEnabled( true ); +00042 _editName->setReadOnly( true ); 00043 00044 FilterEntryDlgLayout->addWidget( _editName, 0, 0 ); 00045 @@ -69,11 +69,11 @@ 00052 TQGroupBox_1Layout = new TQGridLayout( TQGroupBox_1->layout() ); 00053 TQGroupBox_1Layout->setAlignment( TQt::AlignTop ); 00054 -00055 _comboItem1 = new TQComboBox( FALSE, TQGroupBox_1, "_comboItem1" ); +00055 _comboItem1 = new TQComboBox( false, TQGroupBox_1, "_comboItem1" ); 00056 00057 TQGroupBox_1Layout->addMultiCellWidget( _comboItem1, 0, 0, 0, 1 ); 00058 -00059 _comboExpression1 = new TQComboBox( FALSE, TQGroupBox_1, "_comboExpression1" ); +00059 _comboExpression1 = new TQComboBox( false, TQGroupBox_1, "_comboExpression1" ); 00060 00061 TQGroupBox_1Layout->addMultiCellWidget( _comboExpression1, 0, 0, 2, 3 ); 00062 @@ -81,7 +81,7 @@ 00064 00065 TQGroupBox_1Layout->addMultiCellWidget( _editMatch1, 1, 1, 0, 3 ); 00066 -00067 _comboSecondCondition = new TQComboBox( FALSE, TQGroupBox_1, "_comboSecondCondition" ); +00067 _comboSecondCondition = new TQComboBox( false, TQGroupBox_1, "_comboSecondCondition" ); 00068 00069 TQGroupBox_1Layout->addMultiCellWidget( _comboSecondCondition, 3, 3, 0, 3 ); 00070 @@ -102,18 +102,18 @@ 00085 FilterEntryDlgLayout->addWidget( TQGroupBox_1, 1, 0 ); 00086 00087 _groupBox2 = new TQGroupBox( this, "_groupBox2" ); -00088 _groupBox2->setEnabled( FALSE ); +00088 _groupBox2->setEnabled( false ); 00089 _groupBox2->setColumnLayout(0, TQt::Vertical ); 00090 _groupBox2->layout()->setSpacing( 6 ); 00091 _groupBox2->layout()->setMargin( 11 ); 00092 _groupBox2Layout = new TQGridLayout( _groupBox2->layout() ); 00093 _groupBox2Layout->setAlignment( TQt::AlignTop ); 00094 -00095 _comboItem2 = new TQComboBox( FALSE, _groupBox2, "_comboItem2" ); +00095 _comboItem2 = new TQComboBox( false, _groupBox2, "_comboItem2" ); 00096 00097 _groupBox2Layout->addMultiCellWidget( _comboItem2, 0, 0, 0, 1 ); 00098 -00099 _comboExpression2 = new TQComboBox( FALSE, _groupBox2, "_comboExpression2" ); +00099 _comboExpression2 = new TQComboBox( false, _groupBox2, "_comboExpression2" ); 00100 00101 _groupBox2Layout->addMultiCellWidget( _comboExpression2, 0, 0, 2, 3 ); 00102 diff --git a/doc/html/FilterEntryDlg_8h-source.html b/doc/html/FilterEntryDlg_8h-source.html index 207de30..051d6e6 100644 --- a/doc/html/FilterEntryDlg_8h-source.html +++ b/doc/html/FilterEntryDlg_8h-source.html @@ -46,7 +46,7 @@ 00029 TQ_OBJECT 00030 00031 public: -00032 FilterEntryDlg( TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); +00032 FilterEntryDlg( TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); 00033 ~FilterEntryDlg(); 00034 00035 TQLineEdit* _editName; diff --git a/doc/html/OptionDlg_8cpp-source.html b/doc/html/OptionDlg_8cpp-source.html index a2f61d6..db0879e 100644 --- a/doc/html/OptionDlg_8cpp-source.html +++ b/doc/html/OptionDlg_8cpp-source.html @@ -47,7 +47,7 @@ 00030 * name 'name' and widget flags set to 'f'. 00031 * 00032 * The dialog will by default be modeless, unless you set 'modal' to -00033 * TRUE to construct a modal dialog. +00033 * true to construct a modal dialog. 00034 */ 00035 OptionDlg::OptionDlg( TQWidget* parent, const char* name, bool modal, WFlags fl ) 00036 : TQDialog( parent, name, modal, fl ) @@ -55,7 +55,7 @@ 00038 if ( !name ) 00039 setName( "OptionDlg" ); 00040 setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, 0, 0, sizePolicy().hasHeightForWidth() ) ); -00041 setSizeGripEnabled( FALSE ); +00041 setSizeGripEnabled( false ); 00042 OptionDlgLayout = new TQVBoxLayout( this, 11, 6, "OptionDlgLayout"); 00043 00044 TQGroupBox_1 = new TQGroupBox( this, "TQGroupBox_1" ); @@ -88,7 +88,7 @@ 00071 00072 TQGroupBox_1Layout->addWidget( m_ButtonAdd, 1, 0 ); 00073 -00074 m_ComboAccount = new TQComboBox( FALSE, TQGroupBox_1, "m_ComboAccount" ); +00074 m_ComboAccount = new TQComboBox( false, TQGroupBox_1, "m_ComboAccount" ); 00075 m_ComboAccount->setFocusPolicy( TQComboBox::TabFocus ); 00076 m_ComboAccount->setInsertionPolicy( TQComboBox::AtTop ); 00077 @@ -134,9 +134,9 @@ 00117 tabLayout->addWidget( TQLabel_4, 4, 2 ); 00118 00119 m_SpinPop3Timer = new TQSpinBox( tab, "m_SpinPop3Timer" ); -00120 m_SpinPop3Timer->setMouseTracking( FALSE ); +00120 m_SpinPop3Timer->setMouseTracking( false ); 00121 m_SpinPop3Timer->setFocusPolicy( TQSpinBox::StrongFocus ); -00122 m_SpinPop3Timer->setAcceptDrops( FALSE ); +00122 m_SpinPop3Timer->setAcceptDrops( false ); 00123 m_SpinPop3Timer->setMaxValue( 300 ); 00124 00125 tabLayout->addWidget( m_SpinPop3Timer, 4, 1 ); @@ -187,27 +187,27 @@ 00170 GroupBox3Layout->setAlignment( TQt::AlignTop ); 00171 00172 m_CheckActive = new TQCheckBox( GroupBox3, "m_CheckActive" ); -00173 m_CheckActive->setChecked( TRUE ); +00173 m_CheckActive->setChecked( true ); 00174 GroupBox3Layout->addWidget( m_CheckActive ); 00175 00176 m_CheckAccount1 = new TQCheckBox( GroupBox3, "m_CheckAccount1" ); -00177 m_CheckAccount1->setChecked( TRUE ); +00177 m_CheckAccount1->setChecked( true ); 00178 GroupBox3Layout->addWidget( m_CheckAccount1 ); 00179 00180 m_CheckServer = new TQCheckBox( GroupBox3, "m_CheckServer" ); -00181 m_CheckServer->setChecked( TRUE ); +00181 m_CheckServer->setChecked( true ); 00182 GroupBox3Layout->addWidget( m_CheckServer ); 00183 00184 m_CheckUser = new TQCheckBox( GroupBox3, "m_CheckUser" ); -00185 m_CheckUser->setChecked( TRUE ); +00185 m_CheckUser->setChecked( true ); 00186 GroupBox3Layout->addWidget( m_CheckUser ); 00187 00188 m_CheckMessages = new TQCheckBox( GroupBox3, "m_CheckMessages" ); -00189 m_CheckMessages->setChecked( TRUE ); +00189 m_CheckMessages->setChecked( true ); 00190 GroupBox3Layout->addWidget( m_CheckMessages ); 00191 00192 m_CheckSize1 = new TQCheckBox( GroupBox3, "m_CheckSize1" ); -00193 m_CheckSize1->setChecked( TRUE ); +00193 m_CheckSize1->setChecked( true ); 00194 GroupBox3Layout->addWidget( m_CheckSize1 ); 00195 tabLayout_2->addWidget( GroupBox3 ); 00196 @@ -221,47 +221,47 @@ 00204 00205 m_CheckNumber = new TQCheckBox( GroupBox2, "m_CheckNumber" ); 00206 m_CheckNumber->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, m_CheckNumber->sizePolicy().hasHeightForWidth() ) ); -00207 m_CheckNumber->setChecked( TRUE ); +00207 m_CheckNumber->setChecked( true ); 00208 GroupBox2Layout->addWidget( m_CheckNumber ); 00209 00210 m_CheckAccount2 = new TQCheckBox( GroupBox2, "m_CheckAccount2" ); 00211 m_CheckAccount2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, m_CheckAccount2->sizePolicy().hasHeightForWidth() ) ); -00212 m_CheckAccount2->setChecked( TRUE ); +00212 m_CheckAccount2->setChecked( true ); 00213 GroupBox2Layout->addWidget( m_CheckAccount2 ); 00214 00215 m_CheckFrom = new TQCheckBox( GroupBox2, "m_CheckFrom" ); 00216 m_CheckFrom->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, m_CheckFrom->sizePolicy().hasHeightForWidth() ) ); -00217 m_CheckFrom->setChecked( TRUE ); +00217 m_CheckFrom->setChecked( true ); 00218 GroupBox2Layout->addWidget( m_CheckFrom ); 00219 00220 m_CheckTo = new TQCheckBox( GroupBox2, "m_CheckTo" ); 00221 m_CheckTo->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, m_CheckTo->sizePolicy().hasHeightForWidth() ) ); -00222 m_CheckTo->setChecked( TRUE ); +00222 m_CheckTo->setChecked( true ); 00223 GroupBox2Layout->addWidget( m_CheckTo ); 00224 00225 m_CheckSubject = new TQCheckBox( GroupBox2, "m_CheckSubject" ); 00226 m_CheckSubject->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, m_CheckSubject->sizePolicy().hasHeightForWidth() ) ); -00227 m_CheckSubject->setChecked( TRUE ); +00227 m_CheckSubject->setChecked( true ); 00228 GroupBox2Layout->addWidget( m_CheckSubject ); 00229 00230 m_CheckDate = new TQCheckBox( GroupBox2, "m_CheckDate" ); 00231 m_CheckDate->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, m_CheckDate->sizePolicy().hasHeightForWidth() ) ); -00232 m_CheckDate->setChecked( TRUE ); +00232 m_CheckDate->setChecked( true ); 00233 GroupBox2Layout->addWidget( m_CheckDate ); 00234 00235 m_CheckSize2 = new TQCheckBox( GroupBox2, "m_CheckSize2" ); 00236 m_CheckSize2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, m_CheckSize2->sizePolicy().hasHeightForWidth() ) ); -00237 m_CheckSize2->setChecked( TRUE ); +00237 m_CheckSize2->setChecked( true ); 00238 GroupBox2Layout->addWidget( m_CheckSize2 ); 00239 00240 m_CheckContent = new TQCheckBox( GroupBox2, "m_CheckContent" ); 00241 m_CheckContent->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, m_CheckContent->sizePolicy().hasHeightForWidth() ) ); -00242 m_CheckContent->setChecked( TRUE ); +00242 m_CheckContent->setChecked( true ); 00243 GroupBox2Layout->addWidget( m_CheckContent ); 00244 00245 m_CheckState = new TQCheckBox( GroupBox2, "m_CheckState" ); 00246 m_CheckState->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, m_CheckState->sizePolicy().hasHeightForWidth() ) ); -00247 m_CheckState->setChecked( TRUE ); +00247 m_CheckState->setChecked( true ); 00248 GroupBox2Layout->addWidget( m_CheckState ); 00249 tabLayout_2->addWidget( GroupBox2 ); 00250 @@ -318,7 +318,7 @@ 00301 00302 tabLayout_4->addWidget( TQLabel_5, 4, 0 ); 00303 -00304 m_ComboExternalProg = new TQComboBox( FALSE, tab_4, "m_ComboExternalProg" ); +00304 m_ComboExternalProg = new TQComboBox( false, tab_4, "m_ComboExternalProg" ); 00305 m_ComboExternalProg->setInsertionPolicy( TQComboBox::AtTop ); 00306 00307 tabLayout_4->addMultiCellWidget( m_ComboExternalProg, 4, 4, 1, 2 ); diff --git a/doc/html/OptionDlg_8h-source.html b/doc/html/OptionDlg_8h-source.html index 1d71967..1c12dc9 100644 --- a/doc/html/OptionDlg_8h-source.html +++ b/doc/html/OptionDlg_8h-source.html @@ -49,7 +49,7 @@ 00032 TQ_OBJECT 00033 00034 public: -00035 OptionDlg( TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); +00035 OptionDlg( TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); 00036 ~OptionDlg(); 00037 00038 TQGroupBox* TQGroupBox_1; diff --git a/doc/html/ServerDlg_8cpp-source.html b/doc/html/ServerDlg_8cpp-source.html index 83b417d..a967652 100644 --- a/doc/html/ServerDlg_8cpp-source.html +++ b/doc/html/ServerDlg_8cpp-source.html @@ -44,14 +44,14 @@ 00027 * name 'name' and widget flags set to 'f'. 00028 * 00029 * The dialog will by default be modeless, unless you set 'modal' to -00030 * TRUE to construct a modal dialog. +00030 * true to construct a modal dialog. 00031 */ 00032 ServerDlg::ServerDlg( TQWidget* parent, const char* name, bool modal, WFlags fl ) 00033 : TQDialog( parent, name, modal, fl ) 00034 { 00035 if ( !name ) 00036 setName( "ServerDlg" ); -00037 setSizeGripEnabled( FALSE ); +00037 setSizeGripEnabled( false ); 00038 ServerDlgLayout = new TQGridLayout( this, 1, 1, 11, 6, "ServerDlgLayout"); 00039 00040 TQLabel_4 = new TQLabel( this, "TQLabel_4" ); @@ -114,7 +114,7 @@ 00097 00098 Layout15 = new TQHBoxLayout( 0, 0, 6, "Layout15"); 00099 -00100 m_ComboProtocol = new TQComboBox( FALSE, this, "m_ComboProtocol" ); +00100 m_ComboProtocol = new TQComboBox( false, this, "m_ComboProtocol" ); 00101 m_ComboProtocol->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, m_ComboProtocol->sizePolicy().hasHeightForWidth() ) ); 00102 m_ComboProtocol->setFocusPolicy( TQComboBox::ClickFocus ); 00103 m_ComboProtocol->setInsertionPolicy( TQComboBox::AtTop ); diff --git a/doc/html/ServerDlg_8h-source.html b/doc/html/ServerDlg_8h-source.html index 2e51b80..a35c001 100644 --- a/doc/html/ServerDlg_8h-source.html +++ b/doc/html/ServerDlg_8h-source.html @@ -47,7 +47,7 @@ 00030 TQ_OBJECT 00031 00032 public: -00033 ServerDlg( TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); +00033 ServerDlg( TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); 00034 ~ServerDlg(); 00035 00036 TQLabel* TQLabel_4; diff --git a/doc/html/classAlertDialog-members.html b/doc/html/classAlertDialog-members.html index c337a23..6b2e3b0 100644 --- a/doc/html/classAlertDialog-members.html +++ b/doc/html/classAlertDialog-members.html @@ -22,7 +22,7 @@

AlertDialog Member List

This is the complete list of members for AlertDialog, including all inherited members.

- + diff --git a/doc/html/classAlertDlg-members.html b/doc/html/classAlertDlg-members.html index 7015a87..4db6839 100644 --- a/doc/html/classAlertDlg-members.html +++ b/doc/html/classAlertDlg-members.html @@ -21,7 +21,7 @@
  • Class Members
  • AlertDlg Member List

    This is the complete list of members for AlertDlg, including all inherited members.

    AlertDialog(TQWidget *parent=0, const char *name=0)AlertDialog
    AlertDlg(TQWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0)AlertDlg
    AlertDlg(TQWidget *parent=0, const char *name=0, bool modal=false, WFlags fl=0)AlertDlg
    AlertDlgLayoutAlertDlg [protected]
    languageChange()AlertDlg [protected, virtual, slot]
    m_ButtonIgnoreAlertDlg
    - + diff --git a/doc/html/classAlertDlg.html b/doc/html/classAlertDlg.html index 12561e8..06da22b 100644 --- a/doc/html/classAlertDlg.html +++ b/doc/html/classAlertDlg.html @@ -33,7 +33,7 @@ - + @@ -59,7 +59,7 @@
    AlertDlg(TQWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0)AlertDlg
    AlertDlg(TQWidget *parent=0, const char *name=0, bool modal=false, WFlags fl=0)AlertDlg
    AlertDlgLayoutAlertDlg [protected]
    image0AlertDlg [private]
    languageChange()AlertDlg [protected, virtual, slot]
    virtual void slotOk ()

    Public Member Functions

     AlertDlg (TQWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0)
     AlertDlg (TQWidget *parent=0, const char *name=0, bool modal=false, WFlags fl=0)
     ~AlertDlg ()


    Constructor & Destructor Documentation

    - +
    @@ -79,7 +79,7 @@ - + diff --git a/doc/html/classCommandDialog-members.html b/doc/html/classCommandDialog-members.html index ed91faf..f52c772 100644 --- a/doc/html/classCommandDialog-members.html +++ b/doc/html/classCommandDialog-members.html @@ -22,7 +22,7 @@

    CommandDialog Member List

    This is the complete list of members for CommandDialog, including all inherited members.

    bool  modal = FALSE, modal = false,
    - + diff --git a/doc/html/classCommandDlg-members.html b/doc/html/classCommandDlg-members.html index 773b12e..f458283 100644 --- a/doc/html/classCommandDlg-members.html +++ b/doc/html/classCommandDlg-members.html @@ -21,7 +21,7 @@
  • Class Members
  • CommandDlg Member List

    This is the complete list of members for CommandDlg, including all inherited members.

    CommandDialog(TQWidget *parent, const char *name, CommandList *list, ConfigElem *pConfig, ConfigList *pConfigList)CommandDialog
    CommandDlg(TQWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0)CommandDlg
    CommandDlg(TQWidget *parent=0, const char *name=0, bool modal=false, WFlags fl=0)CommandDlg
    CommandDlgLayoutCommandDlg [protected]
    languageChange()CommandDlg [protected, virtual, slot]
    Layout6CommandDlg [protected]
    - + diff --git a/doc/html/classCommandDlg.html b/doc/html/classCommandDlg.html index 84aee1d..bf4ddf7 100644 --- a/doc/html/classCommandDlg.html +++ b/doc/html/classCommandDlg.html @@ -47,8 +47,8 @@ virtual void  - + diff --git a/doc/html/classCommandEntryDialog-members.html b/doc/html/classCommandEntryDialog-members.html index 943cc1a..8c4d0a1 100644 --- a/doc/html/classCommandEntryDialog-members.html +++ b/doc/html/classCommandEntryDialog-members.html @@ -22,7 +22,7 @@

    CommandEntryDialog Member List

    This is the complete list of members for CommandEntryDialog, including all inherited members.

    CommandDlg(TQWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0)CommandDlg
    CommandDlg(TQWidget *parent=0, const char *name=0, bool modal=false, WFlags fl=0)CommandDlg
    CommandDlgLayoutCommandDlg [protected]
    languageChange()CommandDlg [protected, virtual, slot]
    Layout6CommandDlg [protected]
    slotOk ()

    Public Member Functions

    CommandDlg (TQWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0)
    CommandDlg (TQWidget *parent=0, const char *name=0, bool modal=false, WFlags fl=0)
     ~CommandDlg ()
    - + diff --git a/doc/html/classCommandEntryDlg-members.html b/doc/html/classCommandEntryDlg-members.html index 3224b94..3cd7505 100644 --- a/doc/html/classCommandEntryDlg-members.html +++ b/doc/html/classCommandEntryDlg-members.html @@ -21,7 +21,7 @@
  • Class Members
  • CommandEntryDlg Member List

    This is the complete list of members for CommandEntryDlg, including all inherited members.

    CommandEntryDialog(TQWidget *parent, const char *name, CommandEntry *entry, ConfigElem *pConfigElem)CommandEntryDialog
    CommandEntryDlg(TQWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0)CommandEntryDlg
    CommandEntryDlg(TQWidget *parent=0, const char *name=0, bool modal=false, WFlags fl=0)CommandEntryDlg
    CommandEntryDlgLayoutCommandEntryDlg [protected]
    languageChange()CommandEntryDlg [protected, virtual, slot]
    layout2CommandEntryDlg [protected]
    - + diff --git a/doc/html/classCommandEntryDlg.html b/doc/html/classCommandEntryDlg.html index 43e4abd..eebfdd8 100644 --- a/doc/html/classCommandEntryDlg.html +++ b/doc/html/classCommandEntryDlg.html @@ -38,8 +38,8 @@ virtual void  - + diff --git a/doc/html/classConfigElem.html b/doc/html/classConfigElem.html index caf3a02..15cac66 100644 --- a/doc/html/classConfigElem.html +++ b/doc/html/classConfigElem.html @@ -429,7 +429,7 @@ Destructor Does nothing.

    -Returns whether the account is active.

    Returns:
    TRUE - account is active; FALSE - account is not active
    +Returns whether the account is active.
    Returns:
    true - account is active; false - account is not active

    @@ -452,7 +452,7 @@ Returns whether the account is active.

    Returns

    Sets the account active.

    Parameters:
    CommandEntryDlg(TQWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0)CommandEntryDlg
    CommandEntryDlg(TQWidget *parent=0, const char *name=0, bool modal=false, WFlags fl=0)CommandEntryDlg
    CommandEntryDlgLayoutCommandEntryDlg [protected]
    languageChange()CommandEntryDlg [protected, virtual, slot]
    layout2CommandEntryDlg [protected]
    slotTest ()

    Public Member Functions

    CommandEntryDlg (TQWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0)
    CommandEntryDlg (TQWidget *parent=0, const char *name=0, bool modal=false, WFlags fl=0)
     ~CommandEntryDlg ()
    - +
    active TRUE - active account; FALSE - deactivate account
    active true - active account; false - deactivate account
    @@ -564,7 +564,7 @@ Sets the account password. To save it in the configuration file call

    -Returns whether a password is stored.

    Returns:
    TRUE - there is password stored; FALSE - no password stored
    +Returns whether a password is stored.
    Returns:
    true - there is password stored; false - no password stored

    @@ -651,8 +651,8 @@ Returns the pointer to the account list view item.

    <

    -Returns TRUE, if the appropriate list view item is selected.

    Returns:
    TRUE - list view item is selected

    -FALSE - list view item is not selected

    +Returns true, if the appropriate list view item is selected.
    Returns:
    true - list view item is selected

    +false - list view item is not selected

    @@ -764,7 +764,7 @@ Sets the protocol.

    Parameters:

    Returns the protocol.

    Parameters:
    - +
    upperCase TRUE - transforms the protocol string to upper case
    upperCase true - transforms the protocol string to upper case
    Returns:
    protocol
    @@ -790,7 +790,7 @@ Returns the protocol.
    Parameters:

    Enable or disable TLS.

    Parameters:
    - +
    tls TRUE: use TLS; FALSE: don't use TLS
    tls true: use TLS; false: don't use TLS
    @@ -812,8 +812,8 @@ Enable or disable TLS.
    Parameters:

    -Returns whether TLS is enabled.

    Returns:
    TRUE: TLS is enabled

    -FALSE: TLS is disabled

    +Returns whether TLS is enabled.
    Returns:
    true: TLS is enabled

    +false: TLS is disabled

    @@ -1092,8 +1092,8 @@ Opens a dialog to ask for a password, stores it temporarily in the account setti force ask for a new password even if a password is stored

    -
    Returns:
    TRUE - a password is available

    -FALSE - no password is available

    +
    Returns:
    true - a password is available

    +false - no password is available

    @@ -1153,8 +1153,8 @@ Returns the subjects of the selected mails.

    Re

    -Returns whether there are mails in the list that are selected in the list view.

    Returns:
    TRUE - there are selected mails

    -FALSE - there aren't selected mails

    +Returns whether there are mails in the list that are selected in the list view.
    Returns:
    true - there are selected mails

    +false - there aren't selected mails

    @@ -1626,7 +1626,7 @@ Fourth step of the refresh cycle. Copies the known headers of the old mails from

    -Sixth step of the refresh cycle. Applies the filters to the mails in the mail list. Invoked by swapMailLists(). This methode maybe starts a new refresh cycle because after a deletion or moving we need a actual list of mails on the server. To avoid a never-ending loop you must not call this methode during the second refresh cycle. Therefore it sets filterApplied to TRUE.

    See also:
    filterApplied

    +Sixth step of the refresh cycle. Applies the filters to the mails in the mail list. Invoked by swapMailLists(). This methode maybe starts a new refresh cycle because after a deletion or moving we need a actual list of mails on the server. To avoid a never-ending loop you must not call this methode during the second refresh cycle. Therefore it sets filterApplied to true.

    See also:
    filterApplied

    applyFiltersDeleted()

    @@ -1647,7 +1647,7 @@ Sixth step of the refresh cycle. Applies the filters to the mails in the mail li

    -If there are mails to delete by filters applyFilters will call the regular deletion cycle of this class with set byFilter-flag. Therefore the deletion will not branch to commitDeletion() but to this methode. This performs a second refresh cycle to get an effective mail list from the server. This new cycle will not apply the filters again, because the flag filterApplied is set to TRUE.

    See also:
    applyFilters()

    +If there are mails to delete by filters applyFilters will call the regular deletion cycle of this class with set byFilter-flag. Therefore the deletion will not branch to commitDeletion() but to this methode. This performs a second refresh cycle to get an effective mail list from the server. This new cycle will not apply the filters again, because the flag filterApplied is set to true.

    See also:
    applyFilters()

    filterApplied

    @@ -1708,7 +1708,7 @@ Commits the refresh. Starts a pop3 job that will do the commit. Its signal resul

    -Fifth step of the refresh cycle. Copies the pointer to the temporary list to m_pshowrecord. Invoked by copyHeaders() and slotUIDsReceived(). The temporary list will be the current mail list. At the end it invokes commitRefresh() if the filters were applied (filterApplied == TRUE) or deactive or it invokes applyFilters() if the filters were not applied (filterApplied == FALSE).

    See also:
    m_pshowrecord

    +Fifth step of the refresh cycle. Copies the pointer to the temporary list to m_pshowrecord. Invoked by copyHeaders() and slotUIDsReceived(). The temporary list will be the current mail list. At the end it invokes commitRefresh() if the filters were applied (filterApplied == true) or deactive or it invokes applyFilters() if the filters were not applied (filterApplied == false).

    See also:
    m_pshowrecord

    copyHeaders()

    slotUIDsReceived()

    commitRefresh()

    @@ -1778,7 +1778,7 @@ Returns whether the given directory is a maildir directory

    Pa path the directory for test
    -
    Returns:
    TRUE - directory is a maildir directory
    +
    Returns:
    true - directory is a maildir directory

    @@ -1814,7 +1814,7 @@ Writes the given mail into the mailbox.

    Parameters:
    < box path to the mailbox
    -
    Returns:
    TRUE - Writing was succesful
    +
    Returns:
    true - Writing was succesful

    @@ -2361,7 +2361,7 @@ Forwards the given mail to SpamAssassin and returns the test result

    mail the mail to test
    -
    Returns:
    TRUE - mail is spam
    +
    Returns:
    true - mail is spam

    @@ -2381,7 +2381,7 @@ Forwards the given mail to SpamAssassin and returns the test result

    -Looks for a running spamd daemon of SpamAssassin.

    Returns:
    TRUE - SpamAssassin is running
    +Looks for a running spamd daemon of SpamAssassin.
    Returns:
    true - SpamAssassin is running

    @@ -2490,7 +2490,7 @@ Type of password storage. valid values are: CONFIG_VALUE_ACCOUNT_PASSWORD_DONT_S

    -TRUE - account is active; FALSE - account is not active +true - account is active; false - account is not active

    @@ -2783,7 +2783,7 @@ Every account has is own header filter instance.

    -This is a flag whether the filters was applied during a refresh cycle. If the some mails was deleted (recommend by the filter), we need a actual list of mails from the server. Therefore a second refresh cycle will be started. To avoid a never-ending loop this flag will be set to TRUE by applyFilters(). If the second refresh is running this one will not invoke the filters. +This is a flag whether the filters was applied during a refresh cycle. If the some mails was deleted (recommend by the filter), we need a actual list of mails from the server. Therefore a second refresh cycle will be started. To avoid a never-ending loop this flag will be set to true by applyFilters(). If the second refresh is running this one will not invoke the filters.

    @@ -2828,7 +2828,7 @@ This flag is set by

    -This flag is set to TRUE by applyFilters() to indicate the mailbodies are downloading and writing to the mailboxes or spam checking. When this is ended, applyFilters() will be called again and it reset this flag +This flag is set to true by applyFilters() to indicate the mailbodies are downloading and writing to the mailboxes or spam checking. When this is ended, applyFilters() will be called again and it reset this flag

    diff --git a/doc/html/classConfigList.html b/doc/html/classConfigList.html index 1a45031..388063b 100644 --- a/doc/html/classConfigList.html +++ b/doc/html/classConfigList.html @@ -349,7 +349,7 @@ Sets the auto refresh time interval.

    Parameters:

    -Returns whether auto refresh is on.

    Returns:
    TRUE - auto refresh is on; FALSE - auto refresh is off
    +Returns whether auto refresh is on.
    Returns:
    true - auto refresh is on; false - auto refresh is off

    @@ -372,7 +372,7 @@ Returns whether auto refresh is on.

    Returns: Sets whether the user has to confirm a deletion.
    Parameters:
    - +
    confirm TRUE - user has to confirm; FALSE - the user does not have to confirm
    confirm true - user has to confirm; false - the user does not have to confirm
    @@ -394,8 +394,8 @@ Sets whether the user has to confirm a deletion.
    Parameters:<

    -Returns whether the user has to confirm a deletion.

    Returns:
    TRUE - the user has to confirm

    -FALSE - the user does not have to confirm

    +Returns whether the user has to confirm a deletion.
    Returns:
    true - the user has to confirm

    +false - the user does not have to confirm

    @@ -415,8 +415,8 @@ FALSE - the user does not have to confirm

    -Returns whether the user has to confirm window close.

    Returns:
    TRUE - user has to confirm

    -FALSE - user does not have to confirm

    +Returns whether the user has to confirm window close.
    Returns:
    true - user has to confirm

    +false - user does not have to confirm

    @@ -436,8 +436,8 @@ FALSE - user does not have to confirm

    -Returns whether the app shall start minimized.

    Returns:
    TRUE - start minimized

    -FALSE - don't start minimized

    +Returns whether the app shall start minimized.
    Returns:
    true - start minimized

    +false - don't start minimized

    @@ -457,8 +457,8 @@ FALSE - don't start minimized

    -Returns whether the close button leaves the application running in tray.

    Returns:
    TRUE - leaves running

    -FALSE - app will be closed

    +Returns whether the close button leaves the application running in tray.
    Returns:
    true - leaves running

    +false - app will be closed

    @@ -478,8 +478,8 @@ FALSE - app will be closed

    -Returns whether minimizes to the tray rather than to the taskbar.

    Returns:
    TRUE - minimizes to the tray

    -FALSE - minimizes to the taskbar

    +Returns whether minimizes to the tray rather than to the taskbar.
    Returns:
    true - minimizes to the tray

    +false - minimizes to the taskbar

    @@ -499,8 +499,8 @@ FALSE - minimizes to the taskbar

    -Returns whether connection errors will be shown during refresh.

    Returns:
    TRUE - show errors

    -FALSE - don't show errors

    +Returns whether connection errors will be shown during refresh.
    Returns:
    true - show errors

    +false - don't show errors

    @@ -523,7 +523,7 @@ FALSE - don't show errors

    Sets whether the mail show dialog has to use HTML.

    Parameters:
    - +
    allowHTML TRUE - the dialog has to use HTML; FALSE - the dialog must not use HTML
    allowHTML true - the dialog has to use HTML; false - the dialog must not use HTML
    See also:
    m_bAllowHTML
    @@ -546,8 +546,8 @@ Sets whether the mail show dialog has to use HTML.
    Parameters

    -Returns whether the mail show dialog has to use HTML.

    Returns:
    TRUE - the dialog has to use HTML

    -FALSE - the dialog must not use HTML

    +Returns whether the mail show dialog has to use HTML.
    Returns:
    true - the dialog has to use HTML

    +false - the dialog must not use HTML

    See also:
    m_bAllowHTML
    @@ -568,7 +568,7 @@ FALSE - the dialog must not use HTML

    -Returns whether there are active accounts. Doesn't set the current account.

    Returns:
    TRUE - Yes, there are active accounts (at least one :o) ); FALSE - no active accounts
    +Returns whether there are active accounts. Doesn't set the current account.
    Returns:
    true - Yes, there are active accounts (at least one :o) ); false - no active accounts

    @@ -713,8 +713,8 @@ Returns the subjects of the selected mails.

    Re

    -Returns whether there are mails in this list which are selected in the list view.

    Returns:
    TRUE - there are selected mails

    -FALSE - there aren't selected mails

    +Returns whether there are mails in this list which are selected in the list view.
    Returns:
    true - there are selected mails

    +false - there aren't selected mails

    @@ -863,8 +863,8 @@ Creates for every mail a list view item and inserts it into the mail list view.

    -Returns whether the main window will be shown, if new mails was received.

    Returns:
    TRUE - main window will be shown

    -FALSE - main window will not be shown

    +Returns whether the main window will be shown, if new mails was received.
    Returns:
    true - main window will be shown

    +false - main window will not be shown

    @@ -884,8 +884,8 @@ FALSE - main window will not be shown

    -Returns whether an alert message will be shown if new mails were received.

    Returns:
    TRUE - will be shown

    -FALSE - will not be shown

    +Returns whether an alert message will be shown if new mails were received.
    Returns:
    true - will be shown

    +false - will not be shown

    @@ -905,8 +905,8 @@ FALSE - will not be shown

    -Returns whether the app will be terminated if no new mails were received.

    Returns:
    TRUE - will be terminated

    -FALSE - will not be terminated

    +Returns whether the app will be terminated if no new mails were received.
    Returns:
    true - will be terminated

    +false - will not be terminated

    @@ -926,8 +926,8 @@ FALSE - will not be terminated

    -Returns whether the main window will be minimized, if no new mails were received.

    Returns:
    TRUE - main window will be minimized

    -FALSE - main window will not be minimized

    +Returns whether the main window will be minimized, if no new mails were received.
    Returns:
    true - main window will be minimized

    +false - main window will not be minimized

    @@ -992,8 +992,8 @@ Sets the time to the first refresh.

    Parameters:

    -Returns whether a time to first refresh is configured.

    Returns:
    TRUE - init time configured

    -FALSE - no init time configured

    +Returns whether a time to first refresh is configured.
    Returns:
    true - init time configured

    +false - no init time configured

    @@ -1089,8 +1089,8 @@ Executes the configure new mail command. Does nothing, if the command option is

    -Returns whether all new mails will keep new status until the app is closed.

    Returns:
    TRUE - mails keep new status at next refresh

    -FALSE - mails don't keep new status at next refresh

    +Returns whether all new mails will keep new status until the app is closed.
    Returns:
    true - mails keep new status at next refresh

    +false - mails don't keep new status at next refresh

    @@ -1374,8 +1374,8 @@ Returns whether the given account is in the list

    Parameters:< name name of the searched account
    -
    Returns:
    TRUE - account is existent

    -FALSE - account is not existent

    +
    Returns:
    true - account is existent

    +false - account is not existent

    @@ -1441,7 +1441,7 @@ Connected with signal sigConfigChanged of all accounts. Emits the signal sigConf

    -Connected with signal sigDeleteReady of all accounts. When an account has sent this signal its appropriate item in AccountDeletionMap will set to FALSE. When all accounts have done the deletion it will emit signal sigDeleteReady.

    Parameters:
    +Connected with signal sigDeleteReady of all accounts. When an account has sent this signal its appropriate item in AccountDeletionMap will set to false. When all accounts have done the deletion it will emit signal sigDeleteReady.
    Parameters:
    account name of the account which has emitted the signal
    @@ -1467,7 +1467,7 @@ Connected with signal sigDeleteReady of all accounts. When an account has sent t

    -Connected with signal sigShowBodiesReady of all accounts. When an account has sent this signal its appropriate item in AccountShowBodiesMap will set to FALSE. When all accounts have shown the mail it will emit signal sigShowBodiesReady.

    Parameters:
    +Connected with signal sigShowBodiesReady of all accounts. When an account has sent this signal its appropriate item in AccountShowBodiesMap will set to false. When all accounts have shown the mail it will emit signal sigShowBodiesReady.
    Parameters:
    account name of the account which has emitted the signal
    @@ -1535,7 +1535,7 @@ Connected with signal sigMessageWindowClosed of all accounts. When an account ha

    -Connected with signal sigRefreshReady of all accounts. When an account has sent this signal its appropriate item in AccountRefreshMap will set to FALSE. When all accounts have refreshed their mail list it will emit signal sigRefreshReady.

    Parameters:
    +Connected with signal sigRefreshReady of all accounts. When an account has sent this signal its appropriate item in AccountRefreshMap will set to false. When all accounts have refreshed their mail list it will emit signal sigRefreshReady.
    Parameters:
    account name of the account which has emitted the signal
    @@ -1718,7 +1718,7 @@ Number of seconds the application will wait for a pop3 job to complete.

    -This map is used by the delete methods. deleteSelectedMails() clears it and after that inserts for every account an item. The Key is the account name and the data is TRUE. When slotCheckDeletionState() is invoked by a signal sent by an account, this slot will set the appropriate item data to FALSE. If the data of all items are set to FALSE, the method will know all accounts have ended the deletion and will emit sigDeleteReady.

    See also:
    deleteSelectedMails()

    +This map is used by the delete methods. deleteSelectedMails() clears it and after that inserts for every account an item. The Key is the account name and the data is true. When slotCheckDeletionState() is invoked by a signal sent by an account, this slot will set the appropriate item data to false. If the data of all items are set to false, the method will know all accounts have ended the deletion and will emit sigDeleteReady.

    See also:
    deleteSelectedMails()

    slotCheckDeletionState()

    @@ -1735,7 +1735,7 @@ This map is used by the delete methods.

    -This map is used by the methods to show the mail body. showSelectedMails() clears it and after that inserts for every account an item. The Key is the account name and the data is TRUE. When slotCheckShowBodiesState() is invoked by a signal sent by an account, this slot will set the appropriate item data to FALSE. If the data of all items are set to FALSE, the method will know all accounts have shown the mail body and will emit sigShowBodiesReady.

    See also:
    showSelectedMails()

    +This map is used by the methods to show the mail body. showSelectedMails() clears it and after that inserts for every account an item. The Key is the account name and the data is true. When slotCheckShowBodiesState() is invoked by a signal sent by an account, this slot will set the appropriate item data to false. If the data of all items are set to false, the method will know all accounts have shown the mail body and will emit sigShowBodiesReady.

    See also:
    showSelectedMails()

    slotCheckShowBodiesState()

    @@ -1752,7 +1752,7 @@ This map is used by the methods to show the mail body.

    -This map is used by the methods to refresh the account mail lists. refreshMailLists() clears it and after that inserts for every account an item. The Key ist the account name and the data is TRUE. When slotCheckRefreshState() is invoked by a signal sent by an account, this slot will set the appropriate item data to FALSE. If the data of all items are set to FALSE, the method will know all accounts have refreshed their mail list and will emit sigRefreshReady.

    See also:
    refreshMailLists()

    +This map is used by the methods to refresh the account mail lists. refreshMailLists() clears it and after that inserts for every account an item. The Key ist the account name and the data is true. When slotCheckRefreshState() is invoked by a signal sent by an account, this slot will set the appropriate item data to false. If the data of all items are set to false, the method will know all accounts have refreshed their mail list and will emit sigRefreshReady.

    See also:
    refreshMailLists()

    slotCheckRefreshState()

    @@ -1769,7 +1769,7 @@ This map is used by the methods to refresh the account mail lists.

    -TRUE - the user has to confirm a deletion, FALSE - the user does not have to confirm a deletion +true - the user has to confirm a deletion, false - the user does not have to confirm a deletion

    @@ -1784,7 +1784,7 @@ TRUE - the user has to confirm a deletion, FALSE - the user does not have to con

    -TRUE - allow HTML formatting in the mail show dialog box FALSE - don't allow HTML formatting

    See also:
    setAllowHTML()

    +true - allow HTML formatting in the mail show dialog box false - don't allow HTML formatting

    See also:
    setAllowHTML()

    allowHTML()

    @@ -1835,7 +1835,7 @@ Contains the time (seconds) to first refresh.
    See

    -TRUE - If a new mail is arrived an alert window will be shown. +true - If a new mail is arrived an alert window will be shown.

    @@ -1850,7 +1850,7 @@ TRUE - If a new mail is arrived an alert window will be shown.

    -TRUE - If a new mail is arrived the main window will be shown. +true - If a new mail is arrived the main window will be shown.

    @@ -1865,7 +1865,7 @@ TRUE - If a new mail is arrived the main window will be shown.

    -TRUE - If a new mail is arrived the system will beep. +true - If a new mail is arrived the system will beep.

    @@ -1880,7 +1880,7 @@ TRUE - If a new mail is arrived the system will beep.

    -TRUE - If a new mail is arrived a sound will be played. +true - If a new mail is arrived a sound will be played.

    @@ -1910,7 +1910,7 @@ Sound file which will be played if a new mail is arrived.

    -TRUE - If a new mail is arrived a command will be executed. +true - If a new mail is arrived a command will be executed.

    @@ -1940,7 +1940,7 @@ Path to command which will be executed if a new mail is arrived.

    -TRUE - If no new mail is arrived the application will be ended. +true - If no new mail is arrived the application will be ended.

    @@ -1955,7 +1955,7 @@ TRUE - If no new mail is arrived the application will be ended.

    -TRUE - If no new mail is arrived the main window will be minimized. +true - If no new mail is arrived the main window will be minimized.

    @@ -1970,7 +1970,7 @@ TRUE - If no new mail is arrived the main window will be minimized.

    -TRUE - If a connection error occures during refresh an error message will be shown. +true - If a connection error occures during refresh an error message will be shown.

    @@ -1985,7 +1985,7 @@ TRUE - If a connection error occures during refresh an error message will be sho

    -TRUE - The user has to confirm window close. +true - The user has to confirm window close.

    @@ -2000,7 +2000,7 @@ TRUE - The user has to confirm window close.

    -TRUE - the app starts minimized. +true - the app starts minimized.

    @@ -2015,7 +2015,7 @@ TRUE - the app starts minimized.

    -TRUE - the close button leaves the application running in tray +true - the close button leaves the application running in tray

    @@ -2030,7 +2030,7 @@ TRUE - the close button leaves the application running in tray

    -TRUE - minimizes to the tray rather than to the taskbar +true - minimizes to the tray rather than to the taskbar

    @@ -2045,7 +2045,7 @@ TRUE - minimizes to the tray rather than to the taskbar

    -TRUE - mails keep new until termination +true - mails keep new until termination

    diff --git a/doc/html/classEditDialog-members.html b/doc/html/classEditDialog-members.html index 57fc6da..02acfd9 100644 --- a/doc/html/classEditDialog-members.html +++ b/doc/html/classEditDialog-members.html @@ -27,7 +27,7 @@ _rowEditDialog [private] addWidget(const TQString &label, const TQString &value)EditDialog EditDialog(TQWidget *parent, const char *name, const char *content, bool html)EditDialog - EditDlg(TQWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0)EditDlg + EditDlg(TQWidget *parent=0, const char *name=0, bool modal=false, WFlags fl=0)EditDlg EditDlgLayoutEditDlg [protected] headerlayoutEditDlg [protected] languageChange()EditDlg [protected, virtual, slot] diff --git a/doc/html/classEditDlg-members.html b/doc/html/classEditDlg-members.html index 796d0be..cf4efb2 100644 --- a/doc/html/classEditDlg-members.html +++ b/doc/html/classEditDlg-members.html @@ -24,7 +24,7 @@ _buttonCancelEditDlg _buttonOkEditDlg _buttonReplyEditDlg - EditDlg(TQWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0)EditDlg + EditDlg(TQWidget *parent=0, const char *name=0, bool modal=false, WFlags fl=0)EditDlg EditDlgLayoutEditDlg [protected] headerlayoutEditDlg [protected] languageChange()EditDlg [protected, virtual, slot] diff --git a/doc/html/classEditDlg.html b/doc/html/classEditDlg.html index a6bc054..4bb5ac8 100644 --- a/doc/html/classEditDlg.html +++ b/doc/html/classEditDlg.html @@ -32,8 +32,8 @@ virtual void slotReplyClicked ()

    Public Member Functions

    -EditDlg (TQWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0) +EditDlg (TQWidget *parent=0, const char *name=0, bool modal=false, WFlags fl=0)  ~EditDlg () diff --git a/doc/html/classFilterDialog-members.html b/doc/html/classFilterDialog-members.html index 3b1819e..e577b3b 100644 --- a/doc/html/classFilterDialog-members.html +++ b/doc/html/classFilterDialog-members.html @@ -35,7 +35,7 @@ buttonGroup1FilterDlg buttonGroup1LayoutFilterDlg [protected] FilterDialog(TQWidget *parent=0, const char *name=0)FilterDialog - FilterDlg(TQWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0)FilterDlg + FilterDlg(TQWidget *parent=0, const char *name=0, bool modal=false, WFlags fl=0)FilterDlg FilterDlgLayoutFilterDlg [protected] languageChange()FilterDlg [protected, virtual, slot] Layout6FilterDlg [protected] diff --git a/doc/html/classFilterDlg-members.html b/doc/html/classFilterDlg-members.html index 529b1d0..fb2188b 100644 --- a/doc/html/classFilterDlg-members.html +++ b/doc/html/classFilterDlg-members.html @@ -33,7 +33,7 @@ _radioOnFilterDlg buttonGroup1FilterDlg buttonGroup1LayoutFilterDlg [protected] - FilterDlg(TQWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0)FilterDlg + FilterDlg(TQWidget *parent=0, const char *name=0, bool modal=false, WFlags fl=0)FilterDlg FilterDlgLayoutFilterDlg [protected] languageChange()FilterDlg [protected, virtual, slot] Layout6FilterDlg [protected] diff --git a/doc/html/classFilterDlg.html b/doc/html/classFilterDlg.html index 438fa2f..83c5b51 100644 --- a/doc/html/classFilterDlg.html +++ b/doc/html/classFilterDlg.html @@ -50,8 +50,8 @@ virtual void slotAutomaticActivated ()

    Public Member Functions

    -FilterDlg (TQWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0) +FilterDlg (TQWidget *parent=0, const char *name=0, bool modal=false, WFlags fl=0)  ~FilterDlg () diff --git a/doc/html/classFilterEntryDialog-members.html b/doc/html/classFilterEntryDialog-members.html index f5d72b5..74175a8 100644 --- a/doc/html/classFilterEntryDialog-members.html +++ b/doc/html/classFilterEntryDialog-members.html @@ -41,7 +41,7 @@ _groupBox2LayoutFilterEntryDlg [protected] _spinCounterFilterEntryDlg FilterEntryDialog(TQWidget *parent, const char *name, FilterElem *elem)FilterEntryDialog - FilterEntryDlg(TQWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0)FilterEntryDlg + FilterEntryDlg(TQWidget *parent=0, const char *name=0, bool modal=false, WFlags fl=0)FilterEntryDlg FilterEntryDlgLayoutFilterEntryDlg [protected] groupBox3FilterEntryDlg groupBox3LayoutFilterEntryDlg [protected] diff --git a/doc/html/classFilterEntryDlg-members.html b/doc/html/classFilterEntryDlg-members.html index 72e0f3a..df5e14f 100644 --- a/doc/html/classFilterEntryDlg-members.html +++ b/doc/html/classFilterEntryDlg-members.html @@ -39,7 +39,7 @@ _groupBox2FilterEntryDlg _groupBox2LayoutFilterEntryDlg [protected] _spinCounterFilterEntryDlg - FilterEntryDlg(TQWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0)FilterEntryDlg + FilterEntryDlg(TQWidget *parent=0, const char *name=0, bool modal=false, WFlags fl=0)FilterEntryDlg FilterEntryDlgLayoutFilterEntryDlg [protected] groupBox3FilterEntryDlg groupBox3LayoutFilterEntryDlg [protected] diff --git a/doc/html/classFilterEntryDlg.html b/doc/html/classFilterEntryDlg.html index 99c1779..9e2905e 100644 --- a/doc/html/classFilterEntryDlg.html +++ b/doc/html/classFilterEntryDlg.html @@ -71,8 +71,8 @@ virtual void slotToggleRegExp2 (bool)

    Public Member Functions

    -FilterEntryDlg (TQWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0) +FilterEntryDlg (TQWidget *parent=0, const char *name=0, bool modal=false, WFlags fl=0)  ~FilterEntryDlg () diff --git a/doc/html/classKShowMailApp.html b/doc/html/classKShowMailApp.html index 6fb4b55..e3c59f3 100644 --- a/doc/html/classKShowMailApp.html +++ b/doc/html/classKShowMailApp.html @@ -803,7 +803,7 @@ Saves GUI options, account and filter settings to the configuration file.

    -Calls the close() method of KShowMailApp to exit the application. Uses askCloseConfirmation() to ask the user (if configured). Sets m_bForceClose to TRUE, therefore queryClose() will be passed without anything to do. After that in queryExit() slotSaveOptions() will be invoked. +Calls the close() method of KShowMailApp to exit the application. Uses askCloseConfirmation() to ask the user (if configured). Sets m_bForceClose to true, therefore queryClose() will be passed without anything to do. After that in queryExit() slotSaveOptions() will be invoked.

    diff --git a/doc/html/classOptionDialog-members.html b/doc/html/classOptionDialog-members.html index 27bc912..ca033b8 100644 --- a/doc/html/classOptionDialog-members.html +++ b/doc/html/classOptionDialog-members.html @@ -80,7 +80,7 @@ m_SpinMaxSizeOptionDlg m_SpinPop3TimerOptionDlg OptionDialog(TQWidget *parent, const char *name, ConfigList *config, CommandList *cmd)OptionDialog - OptionDlg(TQWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0)OptionDlg + OptionDlg(TQWidget *parent=0, const char *name=0, bool modal=false, WFlags fl=0)OptionDlg OptionDlgLayoutOptionDlg [protected] TQGroupBox_1OptionDlg TQGroupBox_1LayoutOptionDlg [protected] diff --git a/doc/html/classOptionDlg-members.html b/doc/html/classOptionDlg-members.html index e421aa4..1b1ff32 100644 --- a/doc/html/classOptionDlg-members.html +++ b/doc/html/classOptionDlg-members.html @@ -76,7 +76,7 @@ m_SpinIntervalTimerOptionDlg m_SpinMaxSizeOptionDlg m_SpinPop3TimerOptionDlg - OptionDlg(TQWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0)OptionDlg + OptionDlg(TQWidget *parent=0, const char *name=0, bool modal=false, WFlags fl=0)OptionDlg OptionDlgLayoutOptionDlg [protected] TQGroupBox_1OptionDlg TQGroupBox_1LayoutOptionDlg [protected] diff --git a/doc/html/classOptionDlg.html b/doc/html/classOptionDlg.html index 1fa9916..ea5e914 100644 --- a/doc/html/classOptionDlg.html +++ b/doc/html/classOptionDlg.html @@ -65,8 +65,8 @@ virtual void slotTerminateNoMailClicked ()

    Public Member Functions

    -OptionDlg (TQWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0) +OptionDlg (TQWidget *parent=0, const char *name=0, bool modal=false, WFlags fl=0)  ~OptionDlg () diff --git a/doc/html/classServerDlg-members.html b/doc/html/classServerDlg-members.html index 52041e3..4e8fc65 100644 --- a/doc/html/classServerDlg-members.html +++ b/doc/html/classServerDlg-members.html @@ -40,7 +40,7 @@ TQLabel_4ServerDlg TQLabel_5ServerDlg TQLabel_6ServerDlg - ServerDlg(TQWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0)ServerDlg + ServerDlg(TQWidget *parent=0, const char *name=0, bool modal=false, WFlags fl=0)ServerDlg ServerDlgLayoutServerDlg [protected] slotButtonOkClicked()ServerDlg [virtual, slot] Spacer1ServerDlg [protected] diff --git a/doc/html/classServerDlg.html b/doc/html/classServerDlg.html index 31e0141..a29dd06 100644 --- a/doc/html/classServerDlg.html +++ b/doc/html/classServerDlg.html @@ -32,8 +32,8 @@ virtual void slotButtonOkClicked ()

    Public Member Functions

    -ServerDlg (TQWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0) +ServerDlg (TQWidget *parent=0, const char *name=0, bool modal=false, WFlags fl=0)  ~ServerDlg () diff --git a/doc/html/classShowRecord.html b/doc/html/classShowRecord.html index 9efe416..6b8dbbc 100644 --- a/doc/html/classShowRecord.html +++ b/doc/html/classShowRecord.html @@ -279,8 +279,8 @@ Apply the filters to the mails in this list.
    Parameters:<

    -Returns whether there are mails in this list which are selected in the list view.

    Returns:
    TRUE - there are selected mails

    -FALSE - there aren't selected mails

    +Returns whether there are mails in this list which are selected in the list view.
    Returns:
    true - there are selected mails

    +false - there aren't selected mails

    @@ -518,8 +518,8 @@ Returns whether there is mail with the given uid in the list.

    uid UID of the mail
    -
    Returns:
    TRUE - mail is in the list

    -FALSE - mail is not in the list

    +
    Returns:
    true - mail is in the list

    +false - mail is not in the list

    @@ -545,8 +545,8 @@ Returns whether the given mail is new.

    Parameters:
    uid UID of the mail
    -
    Returns:
    TRUE - mail is new

    -FALSE - mail is not new or mail doesn't exist

    +
    Returns:
    true - mail is new

    +false - mail is not new or mail doesn't exist

    @@ -586,7 +586,7 @@ Appends a new mail to the list.

    Parameters:
    - +
    number number of the mail on the server
    uid Unique ID of the mail
    isNew TRUE - mail is new; FALSE - mail is not new
    isNew true - mail is new; false - mail is not new
    diff --git a/doc/html/classShowRecordElem.html b/doc/html/classShowRecordElem.html index 182afd6..73c7c9c 100644 --- a/doc/html/classShowRecordElem.html +++ b/doc/html/classShowRecordElem.html @@ -212,7 +212,7 @@ Constructor
    Parameters:
    - +
    number number of the mail on the server
    uid Unique ID of the mail
    isNew TRUE - mail is new; FALSE - mail is not new
    isNew true - mail is new; false - mail is not new
    @@ -551,7 +551,7 @@ Returns the mails size as string with prefix

    Sets whether the mail is new or not.

    Parameters:
    - +
    isnew TRUE - mail is new; FALSE - mail is not new
    isnew true - mail is new; false - mail is not new
    @@ -573,8 +573,8 @@ Sets whether the mail is new or not.
    Parameters:

    -Returns whether the mail is new or not.

    Returns:
    TRUE - mail is new

    -FALSE - mail is not new

    +Returns whether the mail is new or not.
    Returns:
    true - mail is new

    +false - mail is not new

    @@ -822,8 +822,8 @@ Creates a new DOM element in the given DOM document and add it to given DOM pare

    -Returns whether the mail is selected in the list view.

    Returns:
    TRUE - mail is selected

    -FALSE - mail is not selected

    +Returns whether the mail is selected in the list view.
    Returns:
    true - mail is selected

    +false - mail is not selected

    @@ -1386,7 +1386,7 @@ Size of the mail

    -It is set to TRUE when the mail is new. +It is set to true when the mail is new.

    @@ -1416,7 +1416,7 @@ The mail number of the account

    -TRUE - the mail shall be marked at the next mail view refresh. It will be set to True by applyHeaderFilter() if the recommend filter action is MARK. It is used by setViewItem(). This methode marks the related list entry and after then it set this variable to False. +true - the mail shall be marked at the next mail view refresh. It will be set to True by applyHeaderFilter() if the recommend filter action is MARK. It is used by setViewItem(). This methode marks the related list entry and after then it set this variable to False.

    diff --git a/doc/html/commandentrydialog_8cpp-source.html b/doc/html/commandentrydialog_8cpp-source.html index 990a260..3e409b0 100644 --- a/doc/html/commandentrydialog_8cpp-source.html +++ b/doc/html/commandentrydialog_8cpp-source.html @@ -59,7 +59,7 @@ 00042 { 00043 TQFileInfo info (m_EditPath->text ()); 00044 TQString dir = info.dirPath (); -00045 TQFileDialog dlg (this, "Command", TRUE); +00045 TQFileDialog dlg (this, "Command", true); 00046 dlg.setCaption (i18n("Select Command")); 00047 dlg.setDir (dir); 00048 dlg.setMode (TQFileDialog::ExistingFile); diff --git a/doc/html/configelem_8cpp-source.html b/doc/html/configelem_8cpp-source.html index 2121fff..95dfb78 100644 --- a/doc/html/configelem_8cpp-source.html +++ b/doc/html/configelem_8cpp-source.html @@ -725,7 +725,7 @@ 00708 { 00709 int number; //an extracted mail number 00710 TQString uid; //an extracted uid -00711 bool corruptData = false; //set to TRUE, if a data is corrupt +00711 bool corruptData = false; //set to true, if a data is corrupt 00712 bool isNew = false; //state of the received mail 00713 00714 //stop timeout timer @@ -900,7 +900,7 @@ 00883 { 00884 int number; //an extracted mail number 00885 long size; //an extracted size -00886 bool corruptData = false; //set to TRUE, if a data is corrupt +00886 bool corruptData = false; //set to true, if a data is corrupt 00887 00888 //stop timeout timer 00889 pop3Timer->stop(); diff --git a/doc/html/configlist_8cpp-source.html b/doc/html/configlist_8cpp-source.html index d8ccfea..bc53627 100644 --- a/doc/html/configlist_8cpp-source.html +++ b/doc/html/configlist_8cpp-source.html @@ -231,7 +231,7 @@ 00214 00215 bool ConfigList::hasActiveAccounts( ) 00216 { -00217 bool activeAccountFound = false; //when a active account was found, this will be set to TRUE +00217 bool activeAccountFound = false; //when a active account was found, this will be set to true 00218 ConfigElem* currentAccount; //saved current account 00219 ConfigElem* Account; //used by the search 00220 @@ -287,7 +287,7 @@ 00270 return account; 00271 00272 //iterate over all accounts -00273 bool selectedAccountFound = false; //is TRUE, if a selected account was found +00273 bool selectedAccountFound = false; //is true, if a selected account was found 00274 while( account != NULL && !selectedAccountFound ) 00275 { 00276 //get next account @@ -301,7 +301,7 @@ 00284 } 00285 00286 //return the current account if we have found a selected account -00287 //otherwise return FALSE +00287 //otherwise return false 00288 if( selectedAccountFound ) 00289 return account; 00290 else @@ -321,7 +321,7 @@ 00304 connectAccounts(); 00305 00306 //inserts an item for every account which will get an order to delete -00307 //its selected mails. The key is the account name and the data is TRUE. +00307 //its selected mails. The key is the account name and the data is true. 00308 //it is important to do this in a seperate iteration because this avoids 00309 //race conditions 00310 while( ( account = it.current() ) != NULL ) @@ -351,10 +351,10 @@ 00334 00335 void ConfigList::slotCheckDeletionState( TQString account ) 00336 { -00337 bool accountDeleting = false; //set to TRUE if an account is still deleting +00337 bool accountDeleting = false; //set to true if an account is still deleting 00338 AccountTaskMap_Type::Iterator it; //iterator over the account deletion map 00339 -00340 //set the appropriate item in AccountDeletionMap to FALSE +00340 //set the appropriate item in AccountDeletionMap to false 00341 AccountDeletionMap[ account ] = false; 00342 00343 //iterate over the account deletion map to check, whether all accounts @@ -423,7 +423,7 @@ 00406 00407 bool ConfigList::hasSelectedMails( ) 00408 { -00409 bool foundSelected = false; //set to TRUE, when an account with selected mails was found +00409 bool foundSelected = false; //set to true, when an account with selected mails was found 00410 TQPtrListIterator<ConfigElem> it( *this ); //to iterate over all accounts 00411 ConfigElem* account; //current account 00412 @@ -452,7 +452,7 @@ 00435 connectAccounts(); 00436 00437 //inserts an item for every account which will get an order to show -00438 //its selected mails. The key is the account name and the data is TRUE. +00438 //its selected mails. The key is the account name and the data is true. 00439 //it is important to do this in a seperate iteration because this avoids 00440 //race conditions 00441 while( ( account = it.current() ) != NULL ) @@ -478,10 +478,10 @@ 00461 00462 void ConfigList::slotCheckShowBodiesState( TQString account ) 00463 { -00464 bool accountDownloading = false; //set to TRUE if an account is downloading mail body yet +00464 bool accountDownloading = false; //set to true if an account is downloading mail body yet 00465 AccountTaskMap_Type::Iterator it; //iterator over the account map 00466 -00467 //set the appropriate item in AccountShowBodiesMap to FALSE +00467 //set the appropriate item in AccountShowBodiesMap to false 00468 AccountShowBodiesMap[ account ] = false; 00469 00470 //iterate over the account map to check, whether all accounts @@ -556,7 +556,7 @@ 00539 connectAccounts(); 00540 00541 //inserts an item for every account which will get an order to refresh -00542 //its mail list. The key is the account name and the data is TRUE. +00542 //its mail list. The key is the account name and the data is true. 00543 //it is important to do this in a seperate iteration because this avoids 00544 //race conditions 00545 while( ( account = it.current() ) != NULL ) @@ -582,10 +582,10 @@ 00565 00566 void ConfigList::slotCheckRefreshState( TQString account ) 00567 { -00568 bool accountRefreshing = false; //set to TRUE if an account is still refreshing +00568 bool accountRefreshing = false; //set to true if an account is still refreshing 00569 AccountTaskMap_Type::Iterator it; //iterator over the account map 00570 -00571 //set the appropriate item in AccountRefreshMap to FALSE +00571 //set the appropriate item in AccountRefreshMap to false 00572 AccountRefreshMap[ account ] = false; 00573 00574 //iterate over the account map to check whether all accounts @@ -936,7 +936,7 @@ 00919 00920 bool ConfigList::hasAccount( const TQString & name ) const 00921 { -00922 bool found = false; //TRUE if we have found the given account +00922 bool found = false; //true if we have found the given account 00923 ConfigElem* account; //account from which we want to get its name 00924 TQPtrListIterator<ConfigElem> it( *this ); //iterator for the account list 00925 @@ -946,7 +946,7 @@ 00929 //increment iterator to next account 00930 ++it; 00931 -00932 //if current account is the searched one set found to TRUE +00932 //if current account is the searched one set found to true 00933 if( account->getAccountName() == name ) 00934 found = true; 00935 } @@ -956,7 +956,7 @@ 00939 00940 ConfigElem * ConfigList::getAccount( const TQString & name ) const 00941 { -00942 bool found = false; //TRUE if we have found the given account +00942 bool found = false; //true if we have found the given account 00943 ConfigElem* account = NULL; //account from which we want to get its name 00944 TQPtrListIterator<ConfigElem> it( *this ); //iterator for the account list 00945 ConfigElem* returnValue = NULL; @@ -967,7 +967,7 @@ 00950 //increment iterator to next account 00951 ++it; 00952 -00953 //if current account is the searched one set found to TRUE +00953 //if current account is the searched one set found to true 00954 if( account->getAccountName() == name ) 00955 { 00956 found = true; diff --git a/doc/html/decodeRFC2047_8cpp-source.html b/doc/html/decodeRFC2047_8cpp-source.html index 6e1d556..faf10b5 100644 --- a/doc/html/decodeRFC2047_8cpp-source.html +++ b/doc/html/decodeRFC2047_8cpp-source.html @@ -84,7 +84,7 @@ 00067 char *pos, *beg, *end, *mid; 00068 TQCString str, cstr, LWSP_buffer; 00069 char encoding, ch; -00070 bool valid, lastWasEncodedWord=FALSE; +00070 bool valid, lastWasEncodedWord=false; 00071 const int maxLen=200; 00072 int i; 00073 @@ -113,13 +113,13 @@ 00096 { 00097 result += LWSP_buffer + pos[0]; 00098 LWSP_buffer = 0; -00099 lastWasEncodedWord = FALSE; +00099 lastWasEncodedWord = false; 00100 continue; 00101 } 00102 // found possible encoded-word 00103 beg = pos+2; 00104 end = beg; -00105 valid = TRUE; +00105 valid = true; 00106 // parse charset name 00107 charset = ""; 00108 for (i=2,pos+=2; i<maxLen && (*pos!='?'&&(*pos==' '||ispunct(*pos)||isalnum(*pos))); i++) @@ -127,13 +127,13 @@ 00110 charset += *pos; 00111 pos++; 00112 } -00113 if (*pos!='?' || i<4 || i>=maxLen) valid = FALSE; +00113 if (*pos!='?' || i<4 || i>=maxLen) valid = false; 00114 else 00115 { 00116 // get encoding and check delimiting question marks 00117 encoding = toupper(pos[1]); 00118 if (pos[2]!='?' || (encoding!='Q' && encoding!='B')) -00119 valid = FALSE; +00119 valid = false; 00120 pos+=3; 00121 i+=3; 00122 } @@ -148,7 +148,7 @@ 00131 } 00132 end = pos+2;//end now points to the first char after the encoded string 00133 if (i>=maxLen || !*pos) -00134 valid = FALSE; +00134 valid = false; 00135 } 00136 if (valid) 00137 { @@ -176,7 +176,7 @@ 00159 result += codec->toUnicode(cstr); 00160 else 00161 result += TQString::fromLocal8Bit(cstr); -00162 lastWasEncodedWord = TRUE; +00162 lastWasEncodedWord = true; 00163 00164 *pos = ch; 00165 pos = end -1; @@ -190,7 +190,7 @@ 00173 result += LWSP_buffer; 00174 result += *pos++; 00175 result += *pos; -00176 lastWasEncodedWord = FALSE; +00176 lastWasEncodedWord = false; 00177 } 00178 LWSP_buffer = 0; 00179 } diff --git a/doc/html/filterlist_8cpp-source.html b/doc/html/filterlist_8cpp-source.html index 2718168..149c228 100644 --- a/doc/html/filterlist_8cpp-source.html +++ b/doc/html/filterlist_8cpp-source.html @@ -140,7 +140,7 @@ 00123 { 00124 //at first we remove all filter setups from the config 00125 int filterNumber = 0; //number of deleted filter -00126 bool ready = false; //TRUE - all filters are deleted +00126 bool ready = false; //true - all filters are deleted 00127 00128 while( !ready ) //loop until the last filter setup was removed (ready == true) 00129 { diff --git a/doc/html/namespaceTypes.html b/doc/html/namespaceTypes.html index 348e3b1..7308ec9 100644 --- a/doc/html/namespaceTypes.html +++ b/doc/html/namespaceTypes.html @@ -83,7 +83,7 @@ All special types for KShowMail.

    -Map to notice which accounts need to get an order to do a task. The Key is the account name and the data a boolean. TRUE means the task was ordered, FALSE the task was ended. +Map to notice which accounts need to get an order to do a task. The Key is the account name and the data a boolean. true means the task was ordered, false the task was ended.

    diff --git a/doc/html/optiondialog_8cpp-source.html b/doc/html/optiondialog_8cpp-source.html index 05bcb11..27ecef7 100644 --- a/doc/html/optiondialog_8cpp-source.html +++ b/doc/html/optiondialog_8cpp-source.html @@ -251,7 +251,7 @@ 00234 filters.append (i18n("All files (*)")); 00235 TQFileInfo info (m_EditSoundFile->text ()); 00236 TQString dir = info.dirPath (); -00237 TQFileDialog dlg (this, "Sound File", TRUE); +00237 TQFileDialog dlg (this, "Sound File", true); 00238 dlg.setCaption (i18n("Select Sound File")); 00239 dlg.setDir (dir); 00240 dlg.setFilters (filters); diff --git a/doc/html/showrecord_8cpp-source.html b/doc/html/showrecord_8cpp-source.html index e77ccc8..9b8d6a8 100644 --- a/doc/html/showrecord_8cpp-source.html +++ b/doc/html/showrecord_8cpp-source.html @@ -98,7 +98,7 @@ 00081 00082 bool ShowRecord::hasSelectedMails( ) 00083 { -00084 bool selected = false; //TRUE when a selected mail was found +00084 bool selected = false; //true when a selected mail was found 00085 ShowRecordElem* mail; //mail which we want to check 00086 00087 //get first mail diff --git a/doc/html/showrecordelem_8cpp-source.html b/doc/html/showrecordelem_8cpp-source.html index 6e4329c..4ccaa2c 100644 --- a/doc/html/showrecordelem_8cpp-source.html +++ b/doc/html/showrecordelem_8cpp-source.html @@ -78,7 +78,7 @@ 00061 TQString searchstring( TQString( "\r\n%1:" ).arg( item ) ); 00062 00063 //searching... -00064 int pos1 = m_header.find( searchstring, 0, FALSE ); +00064 int pos1 = m_header.find( searchstring, 0, false ); 00065 int pos2 = m_header.find( '\r', pos1 + 2 ); 00066 00067 //cut out the interesting content, if we have found a matching line diff --git a/kshowmail/configelem.cpp b/kshowmail/configelem.cpp index 9ac5f0f..ac37b28 100644 --- a/kshowmail/configelem.cpp +++ b/kshowmail/configelem.cpp @@ -765,7 +765,7 @@ void ConfigElem::slotUIDsReceived( TDEIO::Job * job ) { int number; //an extracted mail number TQString uid; //an extracted uid - bool corruptData = false; //set to TRUE, if a data is corrupt + bool corruptData = false; //set to true, if a data is corrupt bool isNew = false; //state of the received mail //stop timeout timer @@ -936,7 +936,7 @@ void ConfigElem::slotSizesReceived( TDEIO::Job * job ) { int number; //an extracted mail number long size; //an extracted size - bool corruptData = false; //set to TRUE, if a data is corrupt + bool corruptData = false; //set to true, if a data is corrupt //stop timeout timer pop3Timer->stop(); @@ -1532,9 +1532,9 @@ void ConfigElem::slotMailDownloadedForAction(TDEIO::Job * job) TQString mail( mailbody ); //convert mailtext FilterAction_Type action = firstMail.data().action; //get action - bool resultMove = false; //TRUE - mail is written into the mailbox - bool resultSpam = false; //TRUE - mail is Spam - bool deleteIt = false; //TRUE - mail shall be deleted + bool resultMove = false; //true - mail is written into the mailbox + bool resultSpam = false; //true - mail is Spam + bool deleteIt = false; //true - mail shall be deleted bool resultAction = false; //True - the action was succesful performed switch( action ) diff --git a/kshowmail/configelem.h b/kshowmail/configelem.h index aee7ece..faa5e60 100644 --- a/kshowmail/configelem.h +++ b/kshowmail/configelem.h @@ -141,13 +141,13 @@ class ConfigElem : public TQObject { /** * Returns whether the account is active. - * @return TRUE - account is active; FALSE - account is not active + * @return true - account is active; false - account is not active */ bool isActive() const; /** * Sets the account active. - * @param active TRUE - active account; FALSE - deactivate account + * @param active true - active account; false - deactivate account */ void setActive( bool active ); @@ -178,7 +178,7 @@ class ConfigElem : public TQObject { /** * Returns whether a password is stored. - * @return TRUE - there is password stored; FALSE - no password stored + * @return true - there is password stored; false - no password stored */ bool hasPassword() const; @@ -203,9 +203,9 @@ class ConfigElem : public TQObject { TQListViewItem* getListViewItem(); /** - * Returns TRUE, if the appropriate list view item is selected. - * @return TRUE - list view item is selected - * @return FALSE - list view item is not selected + * Returns true, if the appropriate list view item is selected. + * @return true - list view item is selected + * @return false - list view item is not selected */ bool isSelected() const; @@ -234,21 +234,21 @@ class ConfigElem : public TQObject { /** * Returns the protocol. - * @param upperCase TRUE - transforms the protocol string to upper case + * @param upperCase true - transforms the protocol string to upper case * @return protocol */ TQString getProtocol( bool upperCase = false ) const; /** * Enable or disable TLS. - * @param tls TRUE: use TLS; FALSE: don't use TLS + * @param tls true: use TLS; false: don't use TLS */ void setTLS( bool tls ); /** * Returns whether TLS is enabled. - * @return TRUE: TLS is enabled - * @return FALSE: TLS is disabled + * @return true: TLS is enabled + * @return false: TLS is disabled */ bool getTLS() const; @@ -332,8 +332,8 @@ class ConfigElem : public TQObject { * emits the signal sigConfigChanged. * Does not open a dialog if a password is already stored in the account settings. * @param force ask for a new password even if a password is stored - * @return TRUE - a password is available - * @return FALSE - no password is available + * @return true - a password is available + * @return false - no password is available */ bool assertPassword( bool force = false ); @@ -352,8 +352,8 @@ class ConfigElem : public TQObject { /** * Returns whether there are mails in the list that are selected * in the list view. - * @return TRUE - there are selected mails - * @return FALSE - there aren't selected mails + * @return true - there are selected mails + * @return false - there aren't selected mails */ bool hasSelectedMails(); @@ -489,7 +489,7 @@ class ConfigElem : public TQObject { int PasswordStorage; /** - * TRUE - account is active; FALSE - account is not active + * true - account is active; false - account is not active */ bool m_bActive; @@ -611,7 +611,7 @@ class ConfigElem : public TQObject { * This is a flag whether the filters was applied during a refresh cycle. * If the some mails was deleted (recommend by the filter), we need a actual * list of mails from the server. Therefore a second refresh cycle will be started. - * To avoid a never-ending loop this flag will be set to TRUE by applyFilters(). + * To avoid a never-ending loop this flag will be set to true by applyFilters(). * If the second refresh is running this one will not invoke the filters. */ bool filterApplied; @@ -629,7 +629,7 @@ class ConfigElem : public TQObject { bool refreshPerformedByFilters; /** - * This flag is set to TRUE by applyFilters() to indicate the mailbodies are downloading and writing to the mailboxes or spam checking. + * This flag is set to true by applyFilters() to indicate the mailbodies are downloading and writing to the mailboxes or spam checking. * When this is ended, applyFilters() will be called again and it reset this flag */ bool downloadActionsInvoked; @@ -774,7 +774,7 @@ class ConfigElem : public TQObject { * This methode maybe starts a new refresh cycle because after a deletion or moving we need a * actual list of mails on the server. * To avoid a never-ending loop you must not call this methode during the second refresh cycle. - * Therefore it sets filterApplied to TRUE. + * Therefore it sets filterApplied to true. * @see filterApplied * @see applyFiltersDeleted() */ @@ -784,7 +784,7 @@ class ConfigElem : public TQObject { * If there are mails to delete by filters applyFilters will call the regular deletion cycle of this class with set byFilter-flag. * Therefore the deletion will not branch to commitDeletion() but to this methode. * This performs a second refresh cycle to get an effective mail list from the server. - * This new cycle will not apply the filters again, because the flag filterApplied is set to TRUE. + * This new cycle will not apply the filters again, because the flag filterApplied is set to true. * @see applyFilters() * @see filterApplied */ @@ -820,9 +820,9 @@ class ConfigElem : public TQObject { * Invoked by copyHeaders() and slotUIDsReceived(). * The temporary list will be the current mail list. * At the end it invokes commitRefresh() if the filters were applied - * (filterApplied == TRUE) or deactive or it invokes + * (filterApplied == true) or deactive or it invokes * applyFilters() if the filters were not - * applied (filterApplied == FALSE). + * applied (filterApplied == false). * @see m_pshowrecord * @see copyHeaders() * @see slotUIDsReceived() @@ -853,7 +853,7 @@ class ConfigElem : public TQObject { /** * Returns whether the given directory is a maildir directory * @param path the directory for test - * @return TRUE - directory is a maildir directory + * @return true - directory is a maildir directory */ bool isMailDir( const TQDir& path ); @@ -861,7 +861,7 @@ class ConfigElem : public TQObject { * Writes the given mail into the mailbox. * @param mail the Mail * @param box path to the mailbox - * @return TRUE - Writing was succesful + * @return true - Writing was succesful */ bool writeToMailBox( const TQString& mail, const TQString& box ); @@ -1081,13 +1081,13 @@ class ConfigElem : public TQObject { /** * Forwards the given mail to SpamAssassin and returns the test result * @param mail the mail to test - * @return TRUE - mail is spam + * @return true - mail is spam */ bool isSpam( TQByteArray mail ) const; /** * Looks for a running spamd daemon of SpamAssassin. - * @return TRUE - SpamAssassin is running + * @return true - SpamAssassin is running */ bool isSpamAssassinRunning() const; diff --git a/kshowmail/configlist.cpp b/kshowmail/configlist.cpp index 184bb48..0cd2bf4 100644 --- a/kshowmail/configlist.cpp +++ b/kshowmail/configlist.cpp @@ -199,7 +199,7 @@ bool ConfigList::AutoRefreshOn( ) const bool ConfigList::hasActiveAccounts( ) { - bool activeAccountFound = false; //when a active account was found, this will be set to TRUE + bool activeAccountFound = false; //when a active account was found, this will be set to true ConfigElem* currentAccount; //saved current account ConfigElem* Account; //used by the search @@ -255,7 +255,7 @@ ConfigElem* ConfigList::getSelectedAccount( ) return account; //iterate over all accounts - bool selectedAccountFound = false; //is TRUE, if a selected account was found + bool selectedAccountFound = false; //is true, if a selected account was found while( account != NULL && !selectedAccountFound ) { //get next account @@ -269,7 +269,7 @@ ConfigElem* ConfigList::getSelectedAccount( ) } //return the current account if we have found a selected account - //otherwise return FALSE + //otherwise return false if( selectedAccountFound ) return account; else @@ -289,7 +289,7 @@ void ConfigList::deleteSelectedMails( ) connectAccounts(); //inserts an item for every account which will get an order to delete - //its selected mails. The key is the account name and the data is TRUE. + //its selected mails. The key is the account name and the data is true. //it is important to do this in a seperate iteration because this avoids //race conditions while( ( account = it.current() ) != NULL ) @@ -319,10 +319,10 @@ void ConfigList::slotAccountConfigChanged( ) void ConfigList::slotCheckDeletionState( TQString account ) { - bool accountDeleting = false; //set to TRUE if an account is still deleting + bool accountDeleting = false; //set to true if an account is still deleting AccountTaskMap_Type::Iterator it; //iterator over the account deletion map - //set the appropriate item in AccountDeletionMap to FALSE + //set the appropriate item in AccountDeletionMap to false AccountDeletionMap[ account ] = false; //iterate over the account deletion map to check, whether all accounts @@ -391,7 +391,7 @@ TQStringList ConfigList::getSelectedSubjects( ) const bool ConfigList::hasSelectedMails( ) { - bool foundSelected = false; //set to TRUE, when an account with selected mails was found + bool foundSelected = false; //set to true, when an account with selected mails was found TQPtrListIterator it( *this ); //to iterate over all accounts ConfigElem* account; //current account @@ -420,7 +420,7 @@ void ConfigList::showSelectedMails( ) connectAccounts(); //inserts an item for every account which will get an order to show - //its selected mails. The key is the account name and the data is TRUE. + //its selected mails. The key is the account name and the data is true. //it is important to do this in a seperate iteration because this avoids //race conditions while( ( account = it.current() ) != NULL ) @@ -446,10 +446,10 @@ void ConfigList::showSelectedMails( ) void ConfigList::slotCheckShowBodiesState( TQString account ) { - bool accountDownloading = false; //set to TRUE if an account is downloading mail body yet + bool accountDownloading = false; //set to true if an account is downloading mail body yet AccountTaskMap_Type::Iterator it; //iterator over the account map - //set the appropriate item in AccountShowBodiesMap to FALSE + //set the appropriate item in AccountShowBodiesMap to false AccountShowBodiesMap[ account ] = false; //iterate over the account map to check, whether all accounts @@ -524,7 +524,7 @@ void ConfigList::refreshMailLists( FilterLog* log ) connectAccounts(); //inserts an item for every account which will get an order to refresh - //its mail list. The key is the account name and the data is TRUE. + //its mail list. The key is the account name and the data is true. //it is important to do this in a seperate iteration because this avoids //race conditions while( ( account = it.current() ) != NULL ) @@ -550,10 +550,10 @@ void ConfigList::refreshMailLists( FilterLog* log ) void ConfigList::slotCheckRefreshState( TQString account ) { - bool accountRefreshing = false; //set to TRUE if an account is still refreshing + bool accountRefreshing = false; //set to true if an account is still refreshing AccountTaskMap_Type::Iterator it; //iterator over the account map - //set the appropriate item in AccountRefreshMap to FALSE + //set the appropriate item in AccountRefreshMap to false AccountRefreshMap[ account ] = false; //iterate over the account map to check whether all accounts @@ -954,7 +954,7 @@ bool ConfigList::showConnectionErrors( ) const bool ConfigList::hasAccount( const TQString & name ) const { - bool found = false; //TRUE if we have found the given account + bool found = false; //true if we have found the given account ConfigElem* account; //account from which we want to get its name TQPtrListIterator it( *this ); //iterator for the account list @@ -964,7 +964,7 @@ bool ConfigList::hasAccount( const TQString & name ) const //increment iterator to next account ++it; - //if current account is the searched one set found to TRUE + //if current account is the searched one set found to true if( account->getAccountName() == name ) found = true; } @@ -974,7 +974,7 @@ bool ConfigList::hasAccount( const TQString & name ) const ConfigElem * ConfigList::getAccount( const TQString & name ) const { - bool found = false; //TRUE if we have found the given account + bool found = false; //true if we have found the given account ConfigElem* account = NULL; //account from which we want to get its name TQPtrListIterator it( *this ); //iterator for the account list ConfigElem* returnValue = NULL; @@ -985,7 +985,7 @@ ConfigElem * ConfigList::getAccount( const TQString & name ) const //increment iterator to next account ++it; - //if current account is the searched one set found to TRUE + //if current account is the searched one set found to true if( account->getAccountName() == name ) { found = true; diff --git a/kshowmail/configlist.h b/kshowmail/configlist.h index b5fa070..63ff236 100644 --- a/kshowmail/configlist.h +++ b/kshowmail/configlist.h @@ -99,69 +99,69 @@ class ConfigList : public TQObject, public TQPtrList /** * Returns whether auto refresh is on. - * @return TRUE - auto refresh is on; FALSE - auto refresh is off + * @return true - auto refresh is on; false - auto refresh is off */ bool AutoRefreshOn() const; /** * Sets whether the user has to confirm a deletion. - * @param confirm TRUE - user has to confirm; FALSE - the user does not have to confirm + * @param confirm true - user has to confirm; false - the user does not have to confirm */ void setConfirmDeletion( bool confirm ); /** * Returns whether the user has to confirm a deletion. - * @return TRUE - the user has to confirm - * @return FALSE - the user does not have to confirm + * @return true - the user has to confirm + * @return false - the user does not have to confirm */ bool confirmDeletion(); /** * Returns whether the user has to confirm window close. - * @return TRUE - user has to confirm - * @return FALSE - user does not have to confirm + * @return true - user has to confirm + * @return false - user does not have to confirm */ bool confirmClose() const; /** * Returns whether the app shall start minimized. - * @return TRUE - start minimized - * @return FALSE - don't start minimized + * @return true - start minimized + * @return false - don't start minimized */ bool startMinimized() const; /** * Returns whether the close button leaves the application running in tray. - * @return TRUE - leaves running - * @return FALSE - app will be closed + * @return true - leaves running + * @return false - app will be closed */ bool closeToTray() const; /** * Returns whether minimizes to the tray rather than to the taskbar. - * @return TRUE - minimizes to the tray - * @return FALSE - minimizes to the taskbar + * @return true - minimizes to the tray + * @return false - minimizes to the taskbar */ bool minimizesToTray() const; /** * Returns whether connection errors will be shown during refresh. - * @return TRUE - show errors - * @return FALSE - don't show errors + * @return true - show errors + * @return false - don't show errors */ bool showConnectionErrors() const; /** * Sets whether the mail show dialog has to use HTML. - * @param allowHTML TRUE - the dialog has to use HTML; FALSE - the dialog must not use HTML + * @param allowHTML true - the dialog has to use HTML; false - the dialog must not use HTML * @see m_bAllowHTML * */ void setAllowHTML( bool allowHTML ); /** * Returns whether the mail show dialog has to use HTML. - * @return TRUE - the dialog has to use HTML - * @return FALSE - the dialog must not use HTML + * @return true - the dialog has to use HTML + * @return false - the dialog must not use HTML * @see m_bAllowHTML */ bool allowHTML() const; @@ -169,7 +169,7 @@ class ConfigList : public TQObject, public TQPtrList /** * Returns whether there are active accounts. * Doesn't set the current account. - * @return TRUE - Yes, there are active accounts (at least one :o) ); FALSE - no active accounts + * @return true - Yes, there are active accounts (at least one :o) ); false - no active accounts */ bool hasActiveAccounts(); @@ -222,8 +222,8 @@ class ConfigList : public TQObject, public TQPtrList /** * Returns whether there are mails in this list which are selected * in the list view. - * @return TRUE - there are selected mails - * @return FALSE - there aren't selected mails + * @return true - there are selected mails + * @return false - there aren't selected mails */ bool hasSelectedMails(); @@ -272,32 +272,32 @@ class ConfigList : public TQObject, public TQPtrList /** * Returns whether the main window will be shown, if * new mails was received. - * @return TRUE - main window will be shown - * @return FALSE - main window will not be shown + * @return true - main window will be shown + * @return false - main window will not be shown */ bool showMainWindowForNewMails(); /** * Returns whether an alert message will be shown if * new mails were received. - * @return TRUE - will be shown - * @return FALSE - will not be shown + * @return true - will be shown + * @return false - will not be shown */ bool showAlertMessageForNewMails(); /** * Returns whether the app will be terminated if * no new mails were received. - * @return TRUE - will be terminated - * @return FALSE - will not be terminated + * @return true - will be terminated + * @return false - will not be terminated */ bool quitNoNewMails(); /** * Returns whether the main window will be minimized, if * no new mails were received. - * @return TRUE - main window will be minimized - * @return FALSE - main window will not be minimized + * @return true - main window will be minimized + * @return false - main window will not be minimized */ bool minimizeMainWindowNoNewMails(); @@ -315,8 +315,8 @@ class ConfigList : public TQObject, public TQPtrList /** * Returns whether a time to first refresh is configured. - * @return TRUE - init time configured - * @return FALSE - no init time configured + * @return true - init time configured + * @return false - no init time configured */ bool hasInitTime(); @@ -343,8 +343,8 @@ class ConfigList : public TQObject, public TQPtrList /** * Returns whether all new mails will keep new status until the app is closed. - * @return TRUE - mails keep new status at next refresh - * @return FALSE - mails don't keep new status at next refresh + * @return true - mails keep new status at next refresh + * @return false - mails don't keep new status at next refresh */ bool keepNew(); @@ -442,10 +442,10 @@ class ConfigList : public TQObject, public TQPtrList /** * This map is used by the delete methods. * deleteSelectedMails() clears it and after that inserts for every account - * an item. The Key is the account name and the data is TRUE. + * an item. The Key is the account name and the data is true. * When slotCheckDeletionState() is invoked by a signal sent by an account, - * this slot will set the appropriate item data to FALSE. If the data of all - * items are set to FALSE, the method will know all accounts have ended the + * this slot will set the appropriate item data to false. If the data of all + * items are set to false, the method will know all accounts have ended the * deletion and will emit sigDeleteReady. * @see deleteSelectedMails() * @see slotCheckDeletionState() @@ -455,10 +455,10 @@ class ConfigList : public TQObject, public TQPtrList /** * This map is used by the methods to show the mail body. * showSelectedMails() clears it and after that inserts for every account - * an item. The Key is the account name and the data is TRUE. + * an item. The Key is the account name and the data is true. * When slotCheckShowBodiesState() is invoked by a signal sent by an account, - * this slot will set the appropriate item data to FALSE. If the data of all - * items are set to FALSE, the method will know all accounts have shown the + * this slot will set the appropriate item data to false. If the data of all + * items are set to false, the method will know all accounts have shown the * mail body and will emit sigShowBodiesReady. * @see showSelectedMails() * @see slotCheckShowBodiesState() @@ -468,10 +468,10 @@ class ConfigList : public TQObject, public TQPtrList /** * This map is used by the methods to refresh the account mail lists. * refreshMailLists() clears it and after that inserts for every account - * an item. The Key ist the account name and the data is TRUE. + * an item. The Key ist the account name and the data is true. * When slotCheckRefreshState() is invoked by a signal sent by an account, - * this slot will set the appropriate item data to FALSE. If the data of all - * items are set to FALSE, the method will know all accounts have refreshed their + * this slot will set the appropriate item data to false. If the data of all + * items are set to false, the method will know all accounts have refreshed their * mail list and will emit sigRefreshReady. * @see refreshMailLists() * @see slotCheckRefreshState() @@ -479,14 +479,14 @@ class ConfigList : public TQObject, public TQPtrList AccountTaskMap_Type AccountRefreshMap; /** - * TRUE - the user has to confirm a deletion, - * FALSE - the user does not have to confirm a deletion + * true - the user has to confirm a deletion, + * false - the user does not have to confirm a deletion */ bool m_bConfirmDelete; /** - * TRUE - allow HTML formatting in the mail show dialog box - * FALSE - don't allow HTML formatting + * true - allow HTML formatting in the mail show dialog box + * false - don't allow HTML formatting * @see setAllowHTML() * @see allowHTML() */ @@ -508,22 +508,22 @@ class ConfigList : public TQObject, public TQPtrList int m_nInitTimer; /** - * TRUE - If a new mail is arrived an alert window will be shown. + * true - If a new mail is arrived an alert window will be shown. */ bool m_bShowMessage; /** - * TRUE - If a new mail is arrived the main window will be shown. + * true - If a new mail is arrived the main window will be shown. */ bool m_bShowMainWindow; /** - * TRUE - If a new mail is arrived the system will beep. + * true - If a new mail is arrived the system will beep. */ bool m_bBeep; /** - * TRUE - If a new mail is arrived a sound will be played. + * true - If a new mail is arrived a sound will be played. */ bool m_bSound; @@ -533,7 +533,7 @@ class ConfigList : public TQObject, public TQPtrList TQString m_strSoundFile; /** - * TRUE - If a new mail is arrived a command will be executed. + * true - If a new mail is arrived a command will be executed. */ bool m_bCommand; @@ -543,42 +543,42 @@ class ConfigList : public TQObject, public TQPtrList TQString m_strCommandPath; /** - * TRUE - If no new mail is arrived the application will be ended. + * true - If no new mail is arrived the application will be ended. */ bool m_bTerminate; /** - * TRUE - If no new mail is arrived the main window will be minimized. + * true - If no new mail is arrived the main window will be minimized. */ bool m_bMinimize; /** - * TRUE - If a connection error occures during refresh an error message will be shown. + * true - If a connection error occures during refresh an error message will be shown. */ bool m_bShowConnectionErrors; /** - * TRUE - The user has to confirm window close. + * true - The user has to confirm window close. */ bool m_bConfirmClose; /** - * TRUE - the app starts minimized. + * true - the app starts minimized. */ bool m_bStartMinimized; /** - * TRUE - the close button leaves the application running in tray + * true - the close button leaves the application running in tray */ bool m_bCloseMinimizes; /** - * TRUE - minimizes to the tray rather than to the taskbar + * true - minimizes to the tray rather than to the taskbar */ bool m_bMinimizeToTray; /** - * TRUE - mails keep new until termination + * true - mails keep new until termination */ bool m_bKeepNew; @@ -617,8 +617,8 @@ class ConfigList : public TQObject, public TQPtrList /** * Returns whether the given account is in the list * @param name name of the searched account - * @return TRUE - account is existent - * @return FALSE - account is not existent + * @return true - account is existent + * @return false - account is not existent */ bool hasAccount( const TQString& name ) const; @@ -640,7 +640,7 @@ class ConfigList : public TQObject, public TQPtrList /** * Connected with signal sigDeleteReady of all accounts. * When an account has sent this signal its appropriate item - * in AccountDeletionMap will set to FALSE. + * in AccountDeletionMap will set to false. * When all accounts have done the deletion it will emit signal * sigDeleteReady. * @param account name of the account which has emitted the signal @@ -651,7 +651,7 @@ class ConfigList : public TQObject, public TQPtrList /** * Connected with signal sigShowBodiesReady of all accounts. * When an account has sent this signal its appropriate item - * in AccountShowBodiesMap will set to FALSE. + * in AccountShowBodiesMap will set to false. * When all accounts have shown the mail it will emit signal * sigShowBodiesReady. * @param account name of the account which has emitted the signal @@ -684,7 +684,7 @@ class ConfigList : public TQObject, public TQPtrList /** * Connected with signal sigRefreshReady of all accounts. * When an account has sent this signal its appropriate item - * in AccountRefreshMap will set to FALSE. + * in AccountRefreshMap will set to false. * When all accounts have refreshed their mail list it will emit * signal sigRefreshReady. * @param account name of the account which has emitted the signal diff --git a/kshowmail/decodeRFC2047.cpp b/kshowmail/decodeRFC2047.cpp index dfaf556..be99afa 100644 --- a/kshowmail/decodeRFC2047.cpp +++ b/kshowmail/decodeRFC2047.cpp @@ -67,7 +67,7 @@ TQString Codecs::decodeRFC2047(const TQCString& aStr) char *pos, *beg, *end, *mid; TQCString str, cstr, LWSP_buffer; char encoding, ch; - bool valid, lastWasEncodedWord=FALSE; + bool valid, lastWasEncodedWord=false; const int maxLen=200; int i; @@ -96,13 +96,13 @@ TQString Codecs::decodeRFC2047(const TQCString& aStr) { result += LWSP_buffer + pos[0]; LWSP_buffer = 0; - lastWasEncodedWord = FALSE; + lastWasEncodedWord = false; continue; } // found possible encoded-word beg = pos+2; end = beg; - valid = TRUE; + valid = true; // parse charset name charset = ""; for (i=2,pos+=2; i=maxLen) valid = FALSE; + if (*pos!='?' || i<4 || i>=maxLen) valid = false; else { // get encoding and check delimiting question marks encoding = toupper(pos[1]); if (pos[2]!='?' || (encoding!='Q' && encoding!='B')) - valid = FALSE; + valid = false; pos+=3; i+=3; } @@ -131,7 +131,7 @@ TQString Codecs::decodeRFC2047(const TQCString& aStr) } end = pos+2;//end now points to the first char after the encoded string if (i>=maxLen || !*pos) - valid = FALSE; + valid = false; } if (valid) { @@ -159,7 +159,7 @@ TQString Codecs::decodeRFC2047(const TQCString& aStr) result += codec->toUnicode(cstr); else result += TQString::fromLocal8Bit(cstr); - lastWasEncodedWord = TRUE; + lastWasEncodedWord = true; *pos = ch; pos = end -1; @@ -173,7 +173,7 @@ TQString Codecs::decodeRFC2047(const TQCString& aStr) result += LWSP_buffer; result += *pos++; result += *pos; - lastWasEncodedWord = FALSE; + lastWasEncodedWord = false; } LWSP_buffer = 0; } diff --git a/kshowmail/filteritem.cpp b/kshowmail/filteritem.cpp index 70a2954..9f94738 100644 --- a/kshowmail/filteritem.cpp +++ b/kshowmail/filteritem.cpp @@ -78,7 +78,7 @@ FilterItem::~FilterItem() FilterAction_Type FilterItem::check( TQString from, TQString to, uint size, TQString subject, TQString header, TQString account, TQString& mailboxName ) const { - bool match = false; //TRUE, if filter matches + bool match = false; //true, if filter matches //return NONE if no criterias available if( criterias.isEmpty() ) return FActNone; diff --git a/kshowmail/filteritemcriteria.h b/kshowmail/filteritemcriteria.h index a0db19f..0b0a434 100644 --- a/kshowmail/filteritemcriteria.h +++ b/kshowmail/filteritemcriteria.h @@ -55,7 +55,7 @@ class FilterItemCriteria{ * @param subject Subject * @param header Header * @param account Account - * @return TRUE - the criteria matches; FALSE - the criteria doesn't match + * @return true - the criteria matches; false - the criteria doesn't match */ bool check( TQString from, TQString to, uint size, TQString subject, TQString header, TQString account ) const; @@ -131,14 +131,14 @@ class FilterItemCriteria{ /** * Compares a text value. * @param value Value to compare - * @return TRUE - value matches; FALSE - value doesn't match + * @return true - value matches; false - value doesn't match */ bool checkText( TQString value ) const; /** * Compares a numeric value. * @param value Value to compare - * @return TRUE - value matches; FALSE - value doesn't match + * @return true - value matches; false - value doesn't match */ bool checkNum( uint value ) const; }; diff --git a/kshowmail/filterlog.h b/kshowmail/filterlog.h index 2baaa5e..06a8675 100644 --- a/kshowmail/filterlog.h +++ b/kshowmail/filterlog.h @@ -149,12 +149,12 @@ class FilterLog{ LogEntryList listMovedMails; /** - * TRUE - the log accepts orders to log deleted mails + * true - the log accepts orders to log deleted mails */ bool logDeletedMails; /** - * TRUE - the log accepts orders to log moved mails + * true - the log accepts orders to log moved mails */ bool logMovedMails; diff --git a/kshowmail/filterlogentry.h b/kshowmail/filterlogentry.h index 4363de2..9be1a22 100644 --- a/kshowmail/filterlogentry.h +++ b/kshowmail/filterlogentry.h @@ -73,42 +73,42 @@ class FilterLogEntry{ /** * Compares this entry with the given entry * @param ent entry to compare - * @return TRUE - the time of this entry is equal to te time of the given entry. + * @return true - the time of this entry is equal to te time of the given entry. */ bool operator==( const FilterLogEntry& ent ) const; /** * Compares this entry with the given entry * @param ent entry to compare - * @return TRUE - the time of this entry is not equal to the time of the given entry. + * @return true - the time of this entry is not equal to the time of the given entry. */ bool operator!=( const FilterLogEntry& ent ) const; /** * Compares this entry with the given entry * @param ent entry to compare - * @return TRUE - the time of this entry is later than the time of the given entry. + * @return true - the time of this entry is later than the time of the given entry. */ bool operator>( const FilterLogEntry& ent ) const; /** * Compares this entry with the given entry * @param ent entry to compare - * @return TRUE - the time of this entry is later than or equal to the time of the given entry. + * @return true - the time of this entry is later than or equal to the time of the given entry. */ bool operator>=( const FilterLogEntry& ent ) const; /** * Compares this entry with the given entry * @param ent entry to compare - * @return TRUE - the time of this entry is earlier than the time of the given entry. + * @return true - the time of this entry is earlier than the time of the given entry. */ bool operator<( const FilterLogEntry& ent ) const; /** * Compares this entry with the given entry * @param ent entry to compare - * @return TRUE - the time of this entry is earlier than or equal to the time of the given entry. + * @return true - the time of this entry is earlier than or equal to the time of the given entry. */ bool operator<=( const FilterLogEntry& ent ) const; @@ -120,7 +120,7 @@ class FilterLogEntry{ /** * Returns whether the mail of this entry is older than the given number of days. * @param days number of days to compare - * @return TRUE - the mail is older than the given date + * @return true - the mail is older than the given date */ bool isOlder( uint days ); diff --git a/kshowmail/headerfilter.h b/kshowmail/headerfilter.h index 30f58ae..d019a02 100644 --- a/kshowmail/headerfilter.h +++ b/kshowmail/headerfilter.h @@ -72,7 +72,7 @@ class HeaderFilter{ /** * Returns the filter active state. - * @return TRUE - filter is active + * @return true - filter is active */ bool isActive(); @@ -84,7 +84,7 @@ class HeaderFilter{ TDEConfig* config; /** - * TRUE - filter is active + * true - filter is active */ bool active; diff --git a/kshowmail/kcmconfigs/accountsetupitem.h b/kshowmail/kcmconfigs/accountsetupitem.h index 98b1f18..c3edcc7 100644 --- a/kshowmail/kcmconfigs/accountsetupitem.h +++ b/kshowmail/kcmconfigs/accountsetupitem.h @@ -139,14 +139,14 @@ class AccountSetupItem : public TDEListViewItem /** * Sets whether the account is active. - * @param active TRUE - account is active; FALSE - account is not active + * @param active true - account is active; false - account is not active */ void setActive( bool active ); /** * Returns whether the account is active. - * @return TRUE - account is active - * @return FALSE - account is not active + * @return true - account is active + * @return false - account is not active */ bool getActive() const; @@ -214,7 +214,7 @@ class AccountSetupItem : public TDEListViewItem TQString _password; /** - * TRUE - account is active + * true - account is active */ bool _active; diff --git a/kshowmail/kcmconfigs/configactions.h b/kshowmail/kcmconfigs/configactions.h index 3cddf32..f103000 100644 --- a/kshowmail/kcmconfigs/configactions.h +++ b/kshowmail/kcmconfigs/configactions.h @@ -181,14 +181,14 @@ TQ_OBJECT /** * Connected with check box chkNewMailsSound. * Enable or disable the sound configuration items. - * @param on TRUE - box is checked; FALSE - box is not checked + * @param on true - box is checked; false - box is not checked */ void slotSoundToggled( bool on ); /** * Connected with check box chkNewMailsCommand. * Enable or disable the command configuration items. - * @param on TRUE - box is checked; FALSE - box is not checked + * @param on true - box is checked; false - box is not checked */ void slotCommandToggled( bool on ); diff --git a/kshowmail/kcmconfigs/configfilter.h b/kshowmail/kcmconfigs/configfilter.h index 5a8868e..2183f48 100644 --- a/kshowmail/kcmconfigs/configfilter.h +++ b/kshowmail/kcmconfigs/configfilter.h @@ -257,7 +257,7 @@ TQ_OBJECT /** * Connected with chkActivateFilter, signal toggled(). * Enabled or disabled the other widget of this GUI. - * @param filterOn TRUE - filter is active; FALSE - filter is not active + * @param filterOn true - filter is active; false - filter is not active */ void slotFilterActiveToggled( bool filterOn ); diff --git a/kshowmail/kcmconfigs/configspamcheck.h b/kshowmail/kcmconfigs/configspamcheck.h index b2772f7..e90fbf5 100644 --- a/kshowmail/kcmconfigs/configspamcheck.h +++ b/kshowmail/kcmconfigs/configspamcheck.h @@ -152,7 +152,7 @@ TQ_OBJECT /** * Looks for a running spamd daemon of SpamAssassin. - * @return TRUE - SpamAssassin is running + * @return true - SpamAssassin is running */ bool isSpamAssassinRunning() const; diff --git a/kshowmail/kcmconfigs/filtercriteriawidget.h b/kshowmail/kcmconfigs/filtercriteriawidget.h index f2b62d7..ded175c 100644 --- a/kshowmail/kcmconfigs/filtercriteriawidget.h +++ b/kshowmail/kcmconfigs/filtercriteriawidget.h @@ -93,7 +93,7 @@ TQ_OBJECT * @param source Object of Comparison (see constants.h for valid values) * @param condition Condition of the comparison (see constants.h for valid values) * @param value comparison string - * @param cs TRUE - comparison is case sensitive; FALSE - comparison is not case sensitive + * @param cs true - comparison is case sensitive; false - comparison is not case sensitive */ void setTextCriteria( int source, int condition, TQString value, bool cs ); @@ -141,7 +141,7 @@ TQ_OBJECT KPushButton* btnOpenRegExpEditor; /** - * TRUE - KRegExpEditor is installed and available. + * true - KRegExpEditor is installed and available. */ bool kRegExpEditorAvailable; diff --git a/kshowmail/kcmconfigs/filtersetupdialog.h b/kshowmail/kcmconfigs/filtersetupdialog.h index b9cc309..273d70d 100644 --- a/kshowmail/kcmconfigs/filtersetupdialog.h +++ b/kshowmail/kcmconfigs/filtersetupdialog.h @@ -147,7 +147,7 @@ class FilterSetupDialog : public KDialogBase * @param source Object of Comparison. It accepts only text objects (e.g. Subject) (see constants.h for valid values) * @param condition Condition of the comparison (see constants.h for valid values) * @param value comparison string - * @param cs TRUE - comparison is case sensitive; FALSE - comparison is not case sensitive + * @param cs true - comparison is case sensitive; false - comparison is not case sensitive */ void addCriteriaWidget( int source, int condition, TQString value, bool cs ); diff --git a/kshowmail/kcmconfigs/mailboxwizard.h b/kshowmail/kcmconfigs/mailboxwizard.h index be1b211..7645f44 100644 --- a/kshowmail/kcmconfigs/mailboxwizard.h +++ b/kshowmail/kcmconfigs/mailboxwizard.h @@ -97,7 +97,7 @@ class MailBoxWizard : public TQWizard /** * Returns whether the given directory is a maildir directory * @param path the directory for test - * @return TRUE - directory is a maildir directory + * @return true - directory is a maildir directory */ bool isMailDir( const TQDir& path ); diff --git a/kshowmail/kcmconfigs/tdewalletaccess.h b/kshowmail/kcmconfigs/tdewalletaccess.h index 26c72dc..c3e441b 100644 --- a/kshowmail/kcmconfigs/tdewalletaccess.h +++ b/kshowmail/kcmconfigs/tdewalletaccess.h @@ -29,8 +29,8 @@ namespace TDEWalletAccess * Saves the given password into TDEWallet. * @param account account name * @param password the password - * @return TRUE - password successfully saved - * @return FALSE - password could not be saved + * @return true - password successfully saved + * @return false - password could not be saved */ bool savePassword( const TQString& account, const TQString& password ); diff --git a/kshowmail/kshowmail.h b/kshowmail/kshowmail.h index 230dcf9..b88a897 100644 --- a/kshowmail/kshowmail.h +++ b/kshowmail/kshowmail.h @@ -372,7 +372,7 @@ class KShowMailApp : public TDEMainWindow /** * Calls the close() method of KShowMailApp to exit the application. Uses askCloseConfirmation() to ask - * the user (if configured). Sets m_bForceClose to TRUE, therefore queryClose() will be passed without + * the user (if configured). Sets m_bForceClose to true, therefore queryClose() will be passed without * anything to do. After that in queryExit() slotSaveOptions() will be invoked. */ void slotFileQuit(); diff --git a/kshowmail/senderlistfilter.cpp b/kshowmail/senderlistfilter.cpp index 881a376..7b1e6d1 100644 --- a/kshowmail/senderlistfilter.cpp +++ b/kshowmail/senderlistfilter.cpp @@ -62,7 +62,7 @@ void SenderListFilter::load( ) bool SenderListFilter::search( TQStringList list, TQString sender ) const { - //return with FALSE if the list or the search string are empty + //return with false if the list or the search string are empty if( list.isEmpty() || sender.isEmpty() ) return false; //iterate over the list to search for the sender diff --git a/kshowmail/senderlistfilter.h b/kshowmail/senderlistfilter.h index 829e53e..d5086a4 100644 --- a/kshowmail/senderlistfilter.h +++ b/kshowmail/senderlistfilter.h @@ -90,13 +90,13 @@ class SenderListFilter{ protected: /** - * Returns TRUE if the given list contains the sender or a part of it. + * Returns true if the given list contains the sender or a part of it. * e.g.: The list contains: * Ulrich Weigelt * spam@spamhouse.com * "Lara Croft" * - * This sender strings will cause a return value of TRUE: + * This sender strings will cause a return value of true: * "Ulrich Weigelt" * "Spam King" * spam@spamhouse.com @@ -105,7 +105,7 @@ class SenderListFilter{ * * @param list blacklist or whitelist * @param sender searched sender name - * @return TRUE - the given sender name is listed. FALSE - is not listed + * @return true - the given sender name is listed. false - is not listed */ bool search( TQStringList list, TQString sender ) const; }; diff --git a/kshowmail/showmaildialog.h b/kshowmail/showmaildialog.h index 14126a0..d8c96a8 100644 --- a/kshowmail/showmaildialog.h +++ b/kshowmail/showmaildialog.h @@ -44,7 +44,7 @@ public: * generic constructor * @param parent parent of the dialog * @param caption the dialog caption - * @param allowHTML TRUE - allow the dialog to use the HTML in the mail body; FALSE - don't allow + * @param allowHTML true - allow the dialog to use the HTML in the mail body; false - don't allow * @param sender mail sender * @param date date of send * @param size mail size diff --git a/kshowmail/showrecord.cpp b/kshowmail/showrecord.cpp index e39e2ee..0dd4b7e 100644 --- a/kshowmail/showrecord.cpp +++ b/kshowmail/showrecord.cpp @@ -71,7 +71,7 @@ void ShowRecord::readStoredMails( TQDomElement& parent ) bool ShowRecord::hasSelectedMails( ) { - bool selected = false; //TRUE when a selected mail was found + bool selected = false; //true when a selected mail was found ShowRecordElem* mail; //mail which we want to check //get first mail diff --git a/kshowmail/showrecord.h b/kshowmail/showrecord.h index 65cefa0..66bdd7c 100644 --- a/kshowmail/showrecord.h +++ b/kshowmail/showrecord.h @@ -112,8 +112,8 @@ class ShowRecord: public TQPtrList /** * Returns whether there are mails in this list which are selected * in the list view. - * @return TRUE - there are selected mails - * @return FALSE - there aren't selected mails + * @return true - there are selected mails + * @return false - there aren't selected mails */ bool hasSelectedMails(); @@ -180,16 +180,16 @@ class ShowRecord: public TQPtrList /** * Returns whether there is mail with the given uid in the list. * @param uid UID of the mail - * @return TRUE - mail is in the list - * @return FALSE - mail is not in the list + * @return true - mail is in the list + * @return false - mail is not in the list */ bool hasMail( TQString uid ); /** * Returns whether the given mail is new. * @param uid UID of the mail - * @return TRUE - mail is new - * @return FALSE - mail is not new or mail doesn't exist + * @return true - mail is new + * @return false - mail is not new or mail doesn't exist */ bool isNew( TQString uid ) const; @@ -197,7 +197,7 @@ class ShowRecord: public TQPtrList * Appends a new mail to the list. * @param number number of the mail on the server * @param uid Unique ID of the mail - * @param isNew TRUE - mail is new; FALSE - mail is not new + * @param isNew true - mail is new; false - mail is not new */ void appendNewMail( int number, TQString uid, bool isNew ); diff --git a/kshowmail/showrecordelem.cpp b/kshowmail/showrecordelem.cpp index 19af8ae..b49b80d 100644 --- a/kshowmail/showrecordelem.cpp +++ b/kshowmail/showrecordelem.cpp @@ -61,7 +61,7 @@ TQCString ShowRecordElem::scanHeader( const TQString& item ) const TQCString searchstring( TQString( "\r\n%1:" ).arg( item ).utf8() ); //searching... - int pos1 = m_header.find( searchstring, 0, FALSE ); + int pos1 = m_header.find( searchstring, 0, false ); int pos2 = m_header.find( '\r', pos1 + 2 ); //cut out the interesting content, if we have found a matching line diff --git a/kshowmail/showrecordelem.h b/kshowmail/showrecordelem.h index 57d46c7..b178e4a 100644 --- a/kshowmail/showrecordelem.h +++ b/kshowmail/showrecordelem.h @@ -84,7 +84,7 @@ class ShowRecordElem * Constructor * @param number number of the mail on the server * @param uid Unique ID of the mail - * @param isNew TRUE - mail is new; FALSE - mail is not new + * @param isNew true - mail is new; false - mail is not new */ ShowRecordElem( int number, TQString& uid, bool isNew ); @@ -184,14 +184,14 @@ class ShowRecordElem /** * Sets whether the mail is new or not. - * @param isnew TRUE - mail is new; FALSE - mail is not new + * @param isnew true - mail is new; false - mail is not new */ void setNew( bool isnew ); /** * Returns whether the mail is new or not. - * @return TRUE - mail is new - * @return FALSE - mail is not new + * @return true - mail is new + * @return false - mail is not new */ bool isNew() const; @@ -264,8 +264,8 @@ class ShowRecordElem /** * Returns whether the mail is selected in the list view. - * @return TRUE - mail is selected - * @return FALSE - mail is not selected + * @return true - mail is selected + * @return false - mail is not selected */ bool isSelected() const; @@ -353,7 +353,7 @@ class ShowRecordElem int m_size; /** - * It is set to TRUE when the mail is new. + * It is set to true when the mail is new. */ bool m_new; @@ -363,7 +363,7 @@ class ShowRecordElem int m_nNumber; /** - * TRUE - the mail shall be marked at the next mail view refresh. + * true - the mail shall be marked at the next mail view refresh. * It will be set to True by applyHeaderFilter() if the recommend filter action is MARK. * It is used by setViewItem(). This methode marks the related list entry and after then it set * this variable to False. diff --git a/kshowmail/tdewalletaccess.h b/kshowmail/tdewalletaccess.h index 26c72dc..c3e441b 100644 --- a/kshowmail/tdewalletaccess.h +++ b/kshowmail/tdewalletaccess.h @@ -29,8 +29,8 @@ namespace TDEWalletAccess * Saves the given password into TDEWallet. * @param account account name * @param password the password - * @return TRUE - password successfully saved - * @return FALSE - password could not be saved + * @return true - password successfully saved + * @return false - password could not be saved */ bool savePassword( const TQString& account, const TQString& password ); diff --git a/kshowmail/types.h b/kshowmail/types.h index 35df1fb..01daec8 100644 --- a/kshowmail/types.h +++ b/kshowmail/types.h @@ -66,7 +66,7 @@ namespace Types /** * Map to notice which accounts need to get an order to do a task. * The Key is the account name and the data a boolean. - * TRUE means the task was ordered, FALSE the task was ended. + * true means the task was ordered, false the task was ended. */ typedef TQMap AccountTaskMap_Type; @@ -109,7 +109,7 @@ namespace Types int condition; /**