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-22 14:27:39 +0900 |
commit | 291b4f5da2f98283b7c98ee90401df7c3cb34dad (patch) | |
tree | a28eb1a3c46756a6c6dbf3cdaa7bd88807d237c8 /src/modules/editor/scripteditor.cpp | |
parent | 1f1b292b68c4fe5d4843dba00eff77b431e6bc12 (diff) | |
download | kvirc-291b4f5da2f98283b7c98ee90401df7c3cb34dad.tar.gz kvirc-291b4f5da2f98283b7c98ee90401df7c3cb34dad.zip |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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() |