summaryrefslogtreecommitdiffstats
path: root/src/modules/help/helpwindow.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-22 14:06:03 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-03-23 10:40:15 +0900
commite7c7a00cc24697ba5ce25a236089608091975f5a (patch)
tree85fb5906cd3c781cdb5f26b09920860e49e31bb4 /src/modules/help/helpwindow.cpp
parenta2bd363864dea4771da98b4c6f7ba85ca75a3784 (diff)
downloadkvirc-e7c7a00cc24697ba5ce25a236089608091975f5a.tar.gz
kvirc-e7c7a00cc24697ba5ce25a236089608091975f5a.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 291b4f5da2f98283b7c98ee90401df7c3cb34dad)
Diffstat (limited to 'src/modules/help/helpwindow.cpp')
-rw-r--r--src/modules/help/helpwindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/help/helpwindow.cpp b/src/modules/help/helpwindow.cpp
index 56f8663..1911e65 100644
--- a/src/modules/help/helpwindow.cpp
+++ b/src/modules/help/helpwindow.cpp
@@ -46,7 +46,7 @@ extern Index * g_pDocIndex;
extern KviPointerList<KviHelpWindow> * g_pHelpWindowList;
extern KviPointerList<KviHelpWidget> * g_pHelpWidgetList;
-bool g_bIndexingDone = FALSE;
+bool g_bIndexingDone = false;
KviHelpWindow::KviHelpWindow(KviFrame * lpFrm,const char * name)
: KviWindow(KVI_WINDOW_TYPE_HELP,lpFrm,name)
{
@@ -68,7 +68,7 @@ KviHelpWindow::KviHelpWindow(KviFrame * lpFrm,const char * name)
g_pDocIndex->writeDocumentList();
delete pProgressDialog;
}
- g_bIndexingDone=TRUE;
+ g_bIndexingDone=true;
}
g_pHelpWindowList->append(this);
@@ -150,7 +150,7 @@ void KviHelpWindow::refreshIndex()
g_pDocIndex->writeDict();
g_pDocIndex->writeDocumentList();
delete pProgressDialog;
- g_bIndexingDone=TRUE;
+ g_bIndexingDone=true;
TQStringList docList=g_pDocIndex->titlesList();
m_pIndexListBox->insertStringList(docList);
m_pIndexListBox->sort();
@@ -210,7 +210,7 @@ void KviHelpWindow::startSearch()
m_pResultBox->insertItem( g_pDocIndex->getDocumentTitle( *it ) );
m_terms.clear();
- bool isPhrase = FALSE;
+ bool isPhrase = false;
TQString s = "";
for ( int i = 0; i < (int)buf.length(); ++i ) {
if ( buf[i] == '\"' ) {