summaryrefslogtreecommitdiffstats
path: root/tools/designer/editor/markerwidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-05-30 14:27:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-06-25 16:29:01 +0900
commita7f1e6e2552d9cdbb3d76bff089db522248b9a24 (patch)
tree2e6dd07698083df817163d572443aaf6fdd26651 /tools/designer/editor/markerwidget.cpp
parent2584dba8aabfa2db8297dcfa258d33545ed6af43 (diff)
downloadtqt-a7f1e6e2552d9cdbb3d76bff089db522248b9a24.tar.gz
tqt-a7f1e6e2552d9cdbb3d76bff089db522248b9a24.zip
Replace TRUE/FALSE with boolean values true/false - part 1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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;