diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-30 14:27:29 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-06-25 16:43:08 +0900 |
| commit | 35ced32e331ee29fda1642616c803637952f5b22 (patch) | |
| tree | da44726777f814e19c7ef1e43854f6a1693dd6fb /tools/designer/editor/markerwidget.cpp | |
| parent | 7dd4848d61e4c52091d6c644356c84c67536bde2 (diff) | |
| download | tqt-35ced32e.tar.gz tqt-35ced32e.zip | |
Replace TRUE/FALSE with boolean values true/false - part 1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a7f1e6e2552d9cdbb3d76bff089db522248b9a24)
Diffstat (limited to 'tools/designer/editor/markerwidget.cpp')
| -rw-r--r-- | tools/designer/editor/markerwidget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/designer/editor/markerwidget.cpp b/tools/designer/editor/markerwidget.cpp index 69e68817f..286877c9a 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; |
