summaryrefslogtreecommitdiffstats
path: root/arts/gui/kde/kpoti.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-04-17 22:24:01 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-17 22:24:01 +0900
commitdd46b9bdeae872ed7682913c898931f1aa6d3d42 (patch)
tree83a29165f950f0f51ef67b342d5a79a0417643c9 /arts/gui/kde/kpoti.cpp
parentcc7a56e1bd1694b2d37ecd46691037f02381d6d3 (diff)
downloadtdemultimedia-dd46b9bdeae872ed7682913c898931f1aa6d3d42.tar.gz
tdemultimedia-dd46b9bdeae872ed7682913c898931f1aa6d3d42.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'arts/gui/kde/kpoti.cpp')
-rw-r--r--arts/gui/kde/kpoti.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/arts/gui/kde/kpoti.cpp b/arts/gui/kde/kpoti.cpp
index 03bd905d..96a19e90 100644
--- a/arts/gui/kde/kpoti.cpp
+++ b/arts/gui/kde/kpoti.cpp
@@ -218,8 +218,8 @@ void KPoti::init(int value)
potiPos = positionFromValue(value);
clickOffset = 0;
state = Idle;
- track = TRUE;
- ticks = TRUE;
+ track = true;
+ ticks = true;
m_bLabel = true;
tickInt = 0;
@@ -263,8 +263,8 @@ void KPoti::initTicks()
/**
- Enables slider tracking if \e enable is TRUE, or disables tracking
- if \e enable is FALSE.
+ Enables slider tracking if \e enable is true, or disables tracking
+ if \e enable is false.
If tracking is enabled (default), the slider emits the
valueChanged() signal whenever the slider is being dragged. If
@@ -283,7 +283,7 @@ void KPoti::setTracking( bool enable )
/**
\fn bool KPoti::tracking() const
- Returns TRUE if tracking is enabled, or FALSE if tracking is disabled.
+ Returns true if tracking is enabled, or false if tracking is disabled.
Tracking is initially enabled.
@@ -496,14 +496,14 @@ void KPoti::mousePressEvent( TQMouseEvent *e )
if ( !timer )
timer = new TQTimer( this );
connect( timer, TQ_SIGNAL(timeout()), TQ_SLOT(repeatTimeout()) );
- timer->start( thresholdTime, TRUE );
+ timer->start( thresholdTime, true );
} else {
state = TimingUp;
addPage();
if ( !timer )
timer = new TQTimer( this );
connect( timer, TQ_SIGNAL(timeout()), TQ_SLOT(repeatTimeout()) );
- timer->start( thresholdTime, TRUE );
+ timer->start( thresholdTime, true );
}
}
@@ -698,7 +698,7 @@ void KPoti::repeatTimeout()
connect( timer, TQ_SIGNAL(timeout()), TQ_SLOT(subtractStep()) );
else if ( state == TimingUp )
connect( timer, TQ_SIGNAL(timeout()), TQ_SLOT(addStep()) );
- timer->start( repeatTime, FALSE );
+ timer->start( repeatTime, false );
}