summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/TempoRuler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/rulers/TempoRuler.cpp')
-rw-r--r--src/gui/rulers/TempoRuler.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/rulers/TempoRuler.cpp b/src/gui/rulers/TempoRuler.cpp
index 9928541..8aba08b 100644
--- a/src/gui/rulers/TempoRuler.cpp
+++ b/src/gui/rulers/TempoRuler.cpp
@@ -70,9 +70,9 @@ TempoRuler::TempoRuler(RulerScale *rulerScale,
double xorigin,
int height,
bool small,
- TQWidget *tqparent,
+ TQWidget *parent,
const char *name) :
- TQWidget(tqparent, name),
+ TQWidget(parent, name),
m_xorigin(xorigin),
m_height(height),
m_currentXOffset(0),
@@ -614,12 +614,12 @@ TempoRuler::showTextFloat(tempoT tempo, tempoT target,
// std::cerr << "cp = " << cp.x() << "," << cp.y() << ", tempo = " << qpm << std::endl;
TQPoint mp = cp + pos();
- TQWidget *tqparent = parentWidget();
- while (tqparent->parentWidget() &&
- !tqparent->isTopLevel() &&
- !tqparent->isDialog()) {
- mp += tqparent->pos();
- tqparent = tqparent->parentWidget();
+ TQWidget *parent = parentWidget();
+ while (parent->parentWidget() &&
+ !parent->isTopLevel() &&
+ !parent->isDialog()) {
+ mp += parent->pos();
+ parent = parent->parentWidget();
}
int yoff = cp.y() + m_textFloat->height() + 3;