diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-22 14:06:03 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-23 10:40:15 +0900 |
| commit | e7c7a00cc24697ba5ce25a236089608091975f5a (patch) | |
| tree | 85fb5906cd3c781cdb5f26b09920860e49e31bb4 /src/modules/editor/scripteditor.cpp | |
| parent | a2bd363864dea4771da98b4c6f7ba85ca75a3784 (diff) | |
| download | kvirc-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/editor/scripteditor.cpp')
| -rw-r--r-- | src/modules/editor/scripteditor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/editor/scripteditor.cpp b/src/modules/editor/scripteditor.cpp index 6ae4740..68a70d3 100644 --- a/src/modules/editor/scripteditor.cpp +++ b/src/modules/editor/scripteditor.cpp @@ -785,7 +785,7 @@ int KviScriptSyntaxHighlighter::highlightParagraph(const TQString &text,int endS } } - bool i=TRUE; + bool i=true; TQString szFind=((KviScriptEditorWidget *)textEdit())->m_szFind; if (!szFind.isEmpty()) { @@ -1123,7 +1123,7 @@ KviScriptEditorReplaceDialog::KviScriptEditorReplaceDialog( TQWidget* parent, co replacebutton = new TQPushButton( this, "replacebutton" ); replacebutton->setText(tr("&Replace")); - replacebutton->setEnabled( FALSE ); + replacebutton->setEnabled( false ); layout->addWidget( replacebutton, 5, 0 ); checkReplaceAll = new KviStyledCheckBox( this, "replaceAll" ); @@ -1157,8 +1157,8 @@ KviScriptEditorReplaceDialog::~KviScriptEditorReplaceDialog() void KviScriptEditorReplaceDialog::textChanged(const TQString &txt) { - if (!txt.isEmpty()) replacebutton->setEnabled(TRUE); - else replacebutton->setEnabled(FALSE); + if (!txt.isEmpty()) replacebutton->setEnabled(true); + else replacebutton->setEnabled(false); } void KviScriptEditorReplaceDialog::slotReplace() |
