summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/ControllerEventsRuler.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:57:35 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:57:35 -0600
commit6ca08e7a881c0c97f338e0085f75af04ec08ad04 (patch)
tree5462bef0f060df1c19e3fcb98250e5cfa24edc11 /src/gui/rulers/ControllerEventsRuler.cpp
parent4faf11eccc5f08d2aa0540157d6eff80b7cdb02a (diff)
downloadrosegarden-6ca08e7a881c0c97f338e0085f75af04ec08ad04.tar.gz
rosegarden-6ca08e7a881c0c97f338e0085f75af04ec08ad04.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.
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 fef6e15..a6a7d2f 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)").arg(strtoqstr(m_controller->getName()))
- .arg(int(m_controller->getControllerValue()))
- .arg(hexValue);
+ name = TQString("%1 (%2 / %3)").tqarg(strtoqstr(m_controller->getName()))
+ .tqarg(int(m_controller->getControllerValue()))
+ .tqarg(hexValue);
} else if (m_controller->getType() == PitchBend::EventType) {
name = i18n("Pitch Bend");
}
@@ -395,7 +395,7 @@ void ControllerEventsRuler::contentsMouseReleaseEvent(TQMouseEvent *e)
<< ", endValue = " << endValue
<< endl;
- drawControlLine(startTime, endTime, startValue, endValue);
+ tqdrawControlLine(startTime, endTime, startValue, endValue);
m_controlLineShowing = false;
m_controlLine->hide();
@@ -445,7 +445,7 @@ void ControllerEventsRuler::layoutItem(ControlItem* item)
}
void
-ControllerEventsRuler::drawControlLine(timeT startTime,
+ControllerEventsRuler::tqdrawControlLine(timeT startTime,
timeT endTime,
int startValue,
int endValue)