diff options
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() |