summaryrefslogtreecommitdiffstats
path: root/tools/designer/editor/markerwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/designer/editor/markerwidget.cpp')
-rw-r--r--tools/designer/editor/markerwidget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/designer/editor/markerwidget.cpp b/tools/designer/editor/markerwidget.cpp
index 3ce1ae3fc..5b20c0277 100644
--- a/tools/designer/editor/markerwidget.cpp
+++ b/tools/designer/editor/markerwidget.cpp
@@ -409,7 +409,7 @@ void MarkerWidget::mousePressEvent( TQMouseEvent *e )
if ( data->marker == ParagData::Breakpoint ) {
data->marker = ParagData::NoMarker;
} else {
- bool ok = TRUE;
+ bool ok = true;
isBreakpointPossible( ok, ( (Editor*)viewManager->currentView() )->text(), p->paragId() );
if ( ok )
data->marker = ParagData::Breakpoint;
@@ -465,13 +465,13 @@ void MarkerWidget::contextMenuEvent( TQContextMenuEvent *e )
return;
if ( res == collapseAll ) {
- emit collapse( TRUE );
+ emit collapse( true );
} else if ( res == collapseFunctions ) {
- emit collapse( FALSE );
+ emit collapse( false );
} else if ( res == expandAll ) {
- emit expand( TRUE );
+ emit expand( true );
} else if ( res == expandFunctions ) {
- emit expand( FALSE );
+ emit expand( false );
} else if ( res == toggleBreakPoint ) {
if ( ( (ParagData*)p->extraData() )->marker == ParagData::Breakpoint ) {
( (ParagData*)p->extraData() )->marker = ParagData::NoMarker;