summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-26 21:02:27 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-03-28 09:17:43 +0900
commitc811c531ffe77ce9f94db1031a79aa1bea76d94e (patch)
treef45387e87a60a49f3667ad704cf154f25280a23a /src/gui/dialogs
parent9be11f74a7ca312c6b2c6ec04bb662b9ebabafc1 (diff)
downloadrosegarden-c811c531.tar.gz
rosegarden-c811c531.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 2dd4d59787dcca2aa6682c89b8a02ea392175c39)
Diffstat (limited to 'src/gui/dialogs')
-rw-r--r--src/gui/dialogs/EventFilterDialog.h4
-rw-r--r--src/gui/dialogs/TransportDialog.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/dialogs/EventFilterDialog.h b/src/gui/dialogs/EventFilterDialog.h
index 2431627..a4e3b47 100644
--- a/src/gui/dialogs/EventFilterDialog.h
+++ b/src/gui/dialogs/EventFilterDialog.h
@@ -78,7 +78,7 @@ public:
filterRange getVelocity();
filterRange getDuration();
- // returns TRUE if the property value falls with in the filterRange
+ // returns true if the property value falls with in the filterRange
bool eventInRange(filterRange foo, long property) {
if (foo.first > foo.second)
return (property <= foo.second || property >= foo.first);
@@ -86,7 +86,7 @@ public:
return (property >= foo.first && property <= foo.second); }
// Used to do the work of deciding whether to keep or reject an event
- // based on the state of the dialog's widgets. Returns TRUE if an event
+ // based on the state of the dialog's widgets. Returns true if an event
// should continue to be selected. This method is the heart of the
// EventFilterDialog's public interface.
bool keepEvent(Event* const &e);
diff --git a/src/gui/dialogs/TransportDialog.cpp b/src/gui/dialogs/TransportDialog.cpp
index a75981d..f6be73f 100644
--- a/src/gui/dialogs/TransportDialog.cpp
+++ b/src/gui/dialogs/TransportDialog.cpp
@@ -211,7 +211,7 @@ TransportDialog::TransportDialog(TQWidget *parent,
TQFont localFont(m_transport->OutDisplay->font() );
localFont.setFamily( "lucida" );
- localFont.setBold( TRUE );
+ localFont.setBold( true );
m_transport->TempoDisplay->setFont( localFont );
m_transport->TimeSigDisplay->setFont( localFont );
@@ -470,7 +470,7 @@ TransportDialog::displayTime()
break;
case BarMetronomeMode:
- m_clearMetronomeTimer->start(1700, FALSE);
+ m_clearMetronomeTimer->start(1700, false);
m_transport->TimeDisplayLabel->setText("MET"); // DO NOT i18n
m_transport->TimeDisplayLabel->show();
break;