summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/Rotary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/Rotary.cpp')
-rw-r--r--src/gui/widgets/Rotary.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/widgets/Rotary.cpp b/src/gui/widgets/Rotary.cpp
index 6327d4a..e417fd9 100644
--- a/src/gui/widgets/Rotary.cpp
+++ b/src/gui/widgets/Rotary.cpp
@@ -133,7 +133,7 @@ void
Rotary::setKnobColour(const TQColor &colour)
{
m_knobColour = colour;
- tqrepaint();
+ repaint();
}
void
@@ -398,9 +398,9 @@ Rotary::mousePressEvent(TQMouseEvent *e)
_float->reparent(this);
_float->move(totalPos + TQPoint(width() + 2, -height() / 2));
if (m_logarithmic) {
- _float->setText(TQString("%1").tqarg(powf(10, m_position)));
+ _float->setText(TQString("%1").arg(powf(10, m_position)));
} else {
- _float->setText(TQString("%1").tqarg(m_position));
+ _float->setText(TQString("%1").arg(m_position));
}
_float->show();
@@ -498,9 +498,9 @@ Rotary::mouseMoveEvent(TQMouseEvent *e)
// draw on the float text
if (m_logarithmic) {
- _float->setText(TQString("%1").tqarg(powf(10, m_snapPosition)));
+ _float->setText(TQString("%1").arg(powf(10, m_snapPosition)));
} else {
- _float->setText(TQString("%1").tqarg(m_snapPosition));
+ _float->setText(TQString("%1").arg(m_snapPosition));
}
}
}
@@ -527,9 +527,9 @@ Rotary::wheelEvent(TQWheelEvent *e)
// draw on the float text
if (m_logarithmic) {
- _float->setText(TQString("%1").tqarg(powf(10, m_snapPosition)));
+ _float->setText(TQString("%1").arg(powf(10, m_snapPosition)));
} else {
- _float->setText(TQString("%1").tqarg(m_snapPosition));
+ _float->setText(TQString("%1").arg(m_snapPosition));
}
// Reposition - we need to sum the relative positions up to the