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/configlist_8cpp-source.html | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'doc/html/configlist_8cpp-source.html') 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; -- cgit v1.2.3