summaryrefslogtreecommitdiffstats
path: root/arts/gui/kde/kpoti.cpp
diff options
context:
space:
mode:
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 );
}