diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-22 13:58:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-22 13:58:57 +0900 |
commit | 6d1638620f3da1664aa3b86c46852515fc78707c (patch) | |
tree | d8d2ca04431fee08138033dc6129f08a381b3334 /doc/html/configlist_8cpp-source.html | |
parent | 03d321be2d68dcdb1577ed5a72188265f92647f3 (diff) | |
download | kshowmail-6d1638620f3da1664aa3b86c46852515fc78707c.tar.gz kshowmail-6d1638620f3da1664aa3b86c46852515fc78707c.zip |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/configlist_8cpp-source.html')
-rw-r--r-- | doc/html/configlist_8cpp-source.html | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/html/configlist_8cpp-source.html b/doc/html/configlist_8cpp-source.html index fa9b840..aa04e2b 100644 --- a/doc/html/configlist_8cpp-source.html +++ b/doc/html/configlist_8cpp-source.html @@ -231,7 +231,7 @@ <a name="l00214"></a>00214 <a name="l00215"></a><a class="code" href="classConfigList.html#14b38a4e600859c0b6f3ef38afffc037">00215</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigList.html#14b38a4e600859c0b6f3ef38afffc037">ConfigList::hasActiveAccounts</a>( ) <a name="l00216"></a>00216 { -<a name="l00217"></a>00217 <span class="keywordtype">bool</span> activeAccountFound = <span class="keyword">false</span>; <span class="comment">//when a active account was found, this will be set to TRUE</span> +<a name="l00217"></a>00217 <span class="keywordtype">bool</span> activeAccountFound = <span class="keyword">false</span>; <span class="comment">//when a active account was found, this will be set to true</span> <a name="l00218"></a>00218 <a class="code" href="classConfigElem.html">ConfigElem</a>* currentAccount; <span class="comment">//saved current account</span> <a name="l00219"></a>00219 <a class="code" href="classConfigElem.html">ConfigElem</a>* Account; <span class="comment">//used by the search</span> <a name="l00220"></a>00220 @@ -287,7 +287,7 @@ <a name="l00270"></a>00270 <span class="keywordflow">return</span> account; <a name="l00271"></a>00271 <a name="l00272"></a>00272 <span class="comment">//iterate over all accounts</span> -<a name="l00273"></a>00273 <span class="keywordtype">bool</span> selectedAccountFound = <span class="keyword">false</span>; <span class="comment">//is TRUE, if a selected account was found</span> +<a name="l00273"></a>00273 <span class="keywordtype">bool</span> selectedAccountFound = <span class="keyword">false</span>; <span class="comment">//is true, if a selected account was found</span> <a name="l00274"></a>00274 <span class="keywordflow">while</span>( account != NULL && !selectedAccountFound ) <a name="l00275"></a>00275 { <a name="l00276"></a>00276 <span class="comment">//get next account</span> @@ -301,7 +301,7 @@ <a name="l00284"></a>00284 } <a name="l00285"></a>00285 <a name="l00286"></a>00286 <span class="comment">//return the current account if we have found a selected account</span> -<a name="l00287"></a>00287 <span class="comment">//otherwise return FALSE</span> +<a name="l00287"></a>00287 <span class="comment">//otherwise return false</span> <a name="l00288"></a>00288 <span class="keywordflow">if</span>( selectedAccountFound ) <a name="l00289"></a>00289 <span class="keywordflow">return</span> account; <a name="l00290"></a>00290 <span class="keywordflow">else</span> @@ -321,7 +321,7 @@ <a name="l00304"></a>00304 <a class="code" href="classConfigList.html#ea02d4502c51afab1e50f9fabd36a722">connectAccounts</a>(); <a name="l00305"></a>00305 <a name="l00306"></a>00306 <span class="comment">//inserts an item for every account which will get an order to delete</span> -<a name="l00307"></a>00307 <span class="comment">//its selected mails. The key is the account name and the data is TRUE.</span> +<a name="l00307"></a>00307 <span class="comment">//its selected mails. The key is the account name and the data is true.</span> <a name="l00308"></a>00308 <span class="comment">//it is important to do this in a seperate iteration because this avoids</span> <a name="l00309"></a>00309 <span class="comment">//race conditions</span> <a name="l00310"></a>00310 <span class="keywordflow">while</span>( ( account = it.current() ) != NULL ) @@ -351,10 +351,10 @@ <a name="l00334"></a>00334 <a name="l00335"></a><a class="code" href="classConfigList.html#640d6202cfb38c449e95906e7581693b">00335</a> <span class="keywordtype">void</span> <a class="code" href="classConfigList.html#640d6202cfb38c449e95906e7581693b">ConfigList::slotCheckDeletionState</a>( TQString account ) <a name="l00336"></a>00336 { -<a name="l00337"></a>00337 <span class="keywordtype">bool</span> accountDeleting = <span class="keyword">false</span>; <span class="comment">//set to TRUE if an account is still deleting</span> +<a name="l00337"></a>00337 <span class="keywordtype">bool</span> accountDeleting = <span class="keyword">false</span>; <span class="comment">//set to true if an account is still deleting</span> <a name="l00338"></a>00338 AccountTaskMap_Type::Iterator it; <span class="comment">//iterator over the account deletion map</span> <a name="l00339"></a>00339 -<a name="l00340"></a>00340 <span class="comment">//set the appropriate item in AccountDeletionMap to FALSE</span> +<a name="l00340"></a>00340 <span class="comment">//set the appropriate item in AccountDeletionMap to false</span> <a name="l00341"></a>00341 <a class="code" href="classConfigList.html#bc124e934246f773aeab03b5f0940f01">AccountDeletionMap</a>[ account ] = <span class="keyword">false</span>; <a name="l00342"></a>00342 <a name="l00343"></a>00343 <span class="comment">//iterate over the account deletion map to check, whether all accounts</span> @@ -423,7 +423,7 @@ <a name="l00406"></a>00406 <a name="l00407"></a><a class="code" href="classConfigList.html#d80765bfadbd675b9b89ebdec0cf3566">00407</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigList.html#d80765bfadbd675b9b89ebdec0cf3566">ConfigList::hasSelectedMails</a>( ) <a name="l00408"></a>00408 { -<a name="l00409"></a>00409 <span class="keywordtype">bool</span> foundSelected = <span class="keyword">false</span>; <span class="comment">//set to TRUE, when an account with selected mails was found</span> +<a name="l00409"></a>00409 <span class="keywordtype">bool</span> foundSelected = <span class="keyword">false</span>; <span class="comment">//set to true, when an account with selected mails was found</span> <a name="l00410"></a>00410 TQPtrListIterator<ConfigElem> it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span> <a name="l00411"></a>00411 <a class="code" href="classConfigElem.html">ConfigElem</a>* account; <span class="comment">//current account</span> <a name="l00412"></a>00412 @@ -452,7 +452,7 @@ <a name="l00435"></a>00435 <a class="code" href="classConfigList.html#ea02d4502c51afab1e50f9fabd36a722">connectAccounts</a>(); <a name="l00436"></a>00436 <a name="l00437"></a>00437 <span class="comment">//inserts an item for every account which will get an order to show</span> -<a name="l00438"></a>00438 <span class="comment">//its selected mails. The key is the account name and the data is TRUE.</span> +<a name="l00438"></a>00438 <span class="comment">//its selected mails. The key is the account name and the data is true.</span> <a name="l00439"></a>00439 <span class="comment">//it is important to do this in a seperate iteration because this avoids</span> <a name="l00440"></a>00440 <span class="comment">//race conditions</span> <a name="l00441"></a>00441 <span class="keywordflow">while</span>( ( account = it.current() ) != NULL ) @@ -478,10 +478,10 @@ <a name="l00461"></a>00461 <a name="l00462"></a><a class="code" href="classConfigList.html#bdbf21b25f8e963e5c32d167aff1fe16">00462</a> <span class="keywordtype">void</span> <a class="code" href="classConfigList.html#bdbf21b25f8e963e5c32d167aff1fe16">ConfigList::slotCheckShowBodiesState</a>( TQString account ) <a name="l00463"></a>00463 { -<a name="l00464"></a>00464 <span class="keywordtype">bool</span> accountDownloading = <span class="keyword">false</span>; <span class="comment">//set to TRUE if an account is downloading mail body yet</span> +<a name="l00464"></a>00464 <span class="keywordtype">bool</span> accountDownloading = <span class="keyword">false</span>; <span class="comment">//set to true if an account is downloading mail body yet</span> <a name="l00465"></a>00465 AccountTaskMap_Type::Iterator it; <span class="comment">//iterator over the account map</span> <a name="l00466"></a>00466 -<a name="l00467"></a>00467 <span class="comment">//set the appropriate item in AccountShowBodiesMap to FALSE</span> +<a name="l00467"></a>00467 <span class="comment">//set the appropriate item in AccountShowBodiesMap to false</span> <a name="l00468"></a>00468 <a class="code" href="classConfigList.html#6fcc9096444b71e03865ac2402bb0d23">AccountShowBodiesMap</a>[ account ] = <span class="keyword">false</span>; <a name="l00469"></a>00469 <a name="l00470"></a>00470 <span class="comment">//iterate over the account map to check, whether all accounts</span> @@ -556,7 +556,7 @@ <a name="l00539"></a>00539 <a class="code" href="classConfigList.html#ea02d4502c51afab1e50f9fabd36a722">connectAccounts</a>(); <a name="l00540"></a>00540 <a name="l00541"></a>00541 <span class="comment">//inserts an item for every account which will get an order to refresh</span> -<a name="l00542"></a>00542 <span class="comment">//its mail list. The key is the account name and the data is TRUE.</span> +<a name="l00542"></a>00542 <span class="comment">//its mail list. The key is the account name and the data is true.</span> <a name="l00543"></a>00543 <span class="comment">//it is important to do this in a seperate iteration because this avoids</span> <a name="l00544"></a>00544 <span class="comment">//race conditions</span> <a name="l00545"></a>00545 <span class="keywordflow">while</span>( ( account = it.current() ) != NULL ) @@ -582,10 +582,10 @@ <a name="l00565"></a>00565 <a name="l00566"></a><a class="code" href="classConfigList.html#beaa15863a4aae563a8539d176067f79">00566</a> <span class="keywordtype">void</span> <a class="code" href="classConfigList.html#beaa15863a4aae563a8539d176067f79">ConfigList::slotCheckRefreshState</a>( TQString account ) <a name="l00567"></a>00567 { -<a name="l00568"></a>00568 <span class="keywordtype">bool</span> accountRefreshing = <span class="keyword">false</span>; <span class="comment">//set to TRUE if an account is still refreshing</span> +<a name="l00568"></a>00568 <span class="keywordtype">bool</span> accountRefreshing = <span class="keyword">false</span>; <span class="comment">//set to true if an account is still refreshing</span> <a name="l00569"></a>00569 AccountTaskMap_Type::Iterator it; <span class="comment">//iterator over the account map</span> <a name="l00570"></a>00570 -<a name="l00571"></a>00571 <span class="comment">//set the appropriate item in AccountRefreshMap to FALSE</span> +<a name="l00571"></a>00571 <span class="comment">//set the appropriate item in AccountRefreshMap to false</span> <a name="l00572"></a>00572 <a class="code" href="classConfigList.html#9c266b75b6629ff8f850ac9b9a2a8a08">AccountRefreshMap</a>[ account ] = <span class="keyword">false</span>; <a name="l00573"></a>00573 <a name="l00574"></a>00574 <span class="comment">//iterate over the account map to check whether all accounts</span> @@ -936,7 +936,7 @@ <a name="l00919"></a>00919 <a name="l00920"></a><a class="code" href="classConfigList.html#47d7852e47d047dc7c00ad76715aa4df">00920</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigList.html#47d7852e47d047dc7c00ad76715aa4df">ConfigList::hasAccount</a>( <span class="keyword">const</span> TQString & name )<span class="keyword"> const</span> <a name="l00921"></a>00921 <span class="keyword"></span>{ -<a name="l00922"></a>00922 <span class="keywordtype">bool</span> found = <span class="keyword">false</span>; <span class="comment">//TRUE if we have found the given account</span> +<a name="l00922"></a>00922 <span class="keywordtype">bool</span> found = <span class="keyword">false</span>; <span class="comment">//true if we have found the given account</span> <a name="l00923"></a>00923 <a class="code" href="classConfigElem.html">ConfigElem</a>* account; <span class="comment">//account from which we want to get its name</span> <a name="l00924"></a>00924 TQPtrListIterator<ConfigElem> it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the account list</span> <a name="l00925"></a>00925 @@ -946,7 +946,7 @@ <a name="l00929"></a>00929 <span class="comment">//increment iterator to next account</span> <a name="l00930"></a>00930 ++it; <a name="l00931"></a>00931 -<a name="l00932"></a>00932 <span class="comment">//if current account is the searched one set found to TRUE</span> +<a name="l00932"></a>00932 <span class="comment">//if current account is the searched one set found to true</span> <a name="l00933"></a>00933 <span class="keywordflow">if</span>( account-><a class="code" href="classConfigElem.html#760e18ad688d55cd76bfeeb4958df769">getAccountName</a>() == name ) <a name="l00934"></a>00934 found = <span class="keyword">true</span>; <a name="l00935"></a>00935 } @@ -956,7 +956,7 @@ <a name="l00939"></a>00939 <a name="l00940"></a><a class="code" href="classConfigList.html#f5155dad83daf4956ebfb09f6ebd50c6">00940</a> <a class="code" href="classConfigElem.html">ConfigElem</a> * <a class="code" href="classConfigList.html#f5155dad83daf4956ebfb09f6ebd50c6">ConfigList::getAccount</a>( <span class="keyword">const</span> TQString & name )<span class="keyword"> const</span> <a name="l00941"></a>00941 <span class="keyword"></span>{ -<a name="l00942"></a>00942 <span class="keywordtype">bool</span> found = <span class="keyword">false</span>; <span class="comment">//TRUE if we have found the given account</span> +<a name="l00942"></a>00942 <span class="keywordtype">bool</span> found = <span class="keyword">false</span>; <span class="comment">//true if we have found the given account</span> <a name="l00943"></a>00943 <a class="code" href="classConfigElem.html">ConfigElem</a>* account = NULL; <span class="comment">//account from which we want to get its name</span> <a name="l00944"></a>00944 TQPtrListIterator<ConfigElem> it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the account list</span> <a name="l00945"></a>00945 <a class="code" href="classConfigElem.html">ConfigElem</a>* returnValue = NULL; @@ -967,7 +967,7 @@ <a name="l00950"></a>00950 <span class="comment">//increment iterator to next account</span> <a name="l00951"></a>00951 ++it; <a name="l00952"></a>00952 -<a name="l00953"></a>00953 <span class="comment">//if current account is the searched one set found to TRUE</span> +<a name="l00953"></a>00953 <span class="comment">//if current account is the searched one set found to true</span> <a name="l00954"></a>00954 <span class="keywordflow">if</span>( account-><a class="code" href="classConfigElem.html#760e18ad688d55cd76bfeeb4958df769">getAccountName</a>() == name ) <a name="l00955"></a>00955 { <a name="l00956"></a>00956 found = <span class="keyword">true</span>; |