summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/ControllerEventsRuler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/rulers/ControllerEventsRuler.cpp')
-rw-r--r--src/gui/rulers/ControllerEventsRuler.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/rulers/ControllerEventsRuler.cpp b/src/gui/rulers/ControllerEventsRuler.cpp
index a6a7d2f..fef6e15 100644
--- a/src/gui/rulers/ControllerEventsRuler.cpp
+++ b/src/gui/rulers/ControllerEventsRuler.cpp
@@ -191,9 +191,9 @@ TQString ControllerEventsRuler::getName()
TQString hexValue;
hexValue.sprintf("0x%x", m_controller->getControllerValue());
- name = TQString("%1 (%2 / %3)").tqarg(strtoqstr(m_controller->getName()))
- .tqarg(int(m_controller->getControllerValue()))
- .tqarg(hexValue);
+ name = TQString("%1 (%2 / %3)").arg(strtoqstr(m_controller->getName()))
+ .arg(int(m_controller->getControllerValue()))
+ .arg(hexValue);
} else if (m_controller->getType() == PitchBend::EventType) {
name = i18n("Pitch Bend");
}
@@ -395,7 +395,7 @@ void ControllerEventsRuler::contentsMouseReleaseEvent(TQMouseEvent *e)
<< ", endValue = " << endValue
<< endl;
- tqdrawControlLine(startTime, endTime, startValue, endValue);
+ drawControlLine(startTime, endTime, startValue, endValue);
m_controlLineShowing = false;
m_controlLine->hide();
@@ -445,7 +445,7 @@ void ControllerEventsRuler::layoutItem(ControlItem* item)
}
void
-ControllerEventsRuler::tqdrawControlLine(timeT startTime,
+ControllerEventsRuler::drawControlLine(timeT startTime,
timeT endTime,
int startValue,
int endValue)