summaryrefslogtreecommitdiffstats
path: root/tools/designer/plugins/cppeditor/cppeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/designer/plugins/cppeditor/cppeditor.cpp')
-rw-r--r--tools/designer/plugins/cppeditor/cppeditor.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/designer/plugins/cppeditor/cppeditor.cpp b/tools/designer/plugins/cppeditor/cppeditor.cpp
index cce6bf9d5..4d6849639 100644
--- a/tools/designer/plugins/cppeditor/cppeditor.cpp
+++ b/tools/designer/plugins/cppeditor/cppeditor.cpp
@@ -54,7 +54,7 @@ CppEditor::CppEditor( const TQString &fn, TQWidget *parent, const char *name, De
browser = new CppEditorBrowser( this );
int j = 0;
while ( SyntaxHighlighter_CPP::keywords[ j ] != TQString::null )
- completion->addCompletionEntry( SyntaxHighlighter_CPP::keywords[ j++ ], 0, FALSE );
+ completion->addCompletionEntry( SyntaxHighlighter_CPP::keywords[ j++ ], 0, false );
configChanged();
}
@@ -82,7 +82,7 @@ void CppEditor::configChanged()
} else {
if ( hScrollBarMode() != AlwaysOn ) {
TQTextFormatterBreakWords *f = new TQTextFormatterBreakWords;
- f->setWrapEnabled( FALSE );
+ f->setWrapEnabled( false );
document()->setFormatter( f );
setHScrollBarMode( AlwaysOn );
}
@@ -112,9 +112,9 @@ TQPopupMenu *CppEditor::createPopupMenu( const TQPoint &p )
int addimplid = m->insertItem( tr( "Add Include File (in Implementation)..." ), this, TQ_SLOT( addInclImpl() ) );
int addforid = m->insertItem( tr( "Add Forward Declaration..." ), this, TQ_SLOT( addForward() ) );
if ( !dIface->currentForm() ) {
- m->setItemEnabled( adddeclid, FALSE );
- m->setItemEnabled( addimplid, FALSE );
- m->setItemEnabled( addforid, FALSE );
+ m->setItemEnabled( adddeclid, false );
+ m->setItemEnabled( addimplid, false );
+ m->setItemEnabled( addforid, false );
}
return m;
}