summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp')
-rw-r--r--src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp b/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp
index e033b0c..70da473 100644
--- a/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp
+++ b/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp
@@ -131,7 +131,7 @@ MIDIInstrumentParameterPanel::MIDIInstrumentParameterPanel(RosegardenGUIDoc *doc
// Populate channel lists
//
for (int i = 0; i < 16; i++) {
- m_channelValue->insertItem(TQString("%1").tqarg(i + 1));
+ m_channelValue->insertItem(TQString("%1").arg(i + 1));
}
m_channelValue->setSizeLimit(16);
@@ -212,13 +212,13 @@ MIDIInstrumentParameterPanel::setupForInstrument(Instrument *instrument)
//
TQString connection(strtoqstr(md->getConnection()));
if (connection == "") {
- m_connectionLabel->setText(i18n("[ %1 ]").tqarg(i18n("No connection")));
+ m_connectionLabel->setText(i18n("[ %1 ]").arg(i18n("No connection")));
} else {
// remove trailing "(duplex)", "(read only)", "(write only)" etc
connection.replace(TQRegExp("\\s*\\([^)0-9]+\\)\\s*$"), "");
- TQString text = i18n("[ %1 ]").tqarg(connection);
+ TQString text = i18n("[ %1 ]").arg(connection);
/*TQString origText(text);
TQFontMetrics metrics(m_connectionLabel->fontMetrics());
@@ -361,7 +361,7 @@ MIDIInstrumentParameterPanel::setupControllers(MidiDevice *md)
redraw = 0;
}
if (redraw == 2) {
- rotary->tqrepaint();
+ rotary->repaint();
}
// Update the controller name that is associated with
@@ -641,8 +641,8 @@ MIDIInstrumentParameterPanel::populateProgramList()
std::string programName = programs[i].getName();
if (programName != "") {
m_programValue->insertItem(TQString("%1. %2")
- .tqarg(programs[i].getProgram() + 1)
- .tqarg(strtoqstr(programName)));
+ .arg(programs[i].getProgram() + 1)
+ .arg(strtoqstr(programName)));
if (m_selectedInstrument->getProgram() == programs[i]) {
currentProgram = m_programs.size();
}
@@ -763,8 +763,8 @@ MIDIInstrumentParameterPanel::populateVariationList()
strtoqstr(programName));
*/
m_variationValue->insertItem(TQString("%1. %2")
- .tqarg(variations[i] + 1)
- .tqarg(strtoqstr(programName)));
+ .arg(variations[i] + 1)
+ .arg(strtoqstr(programName)));
if (m_selectedInstrument->getProgram() == program) {
currentVariation = m_variations.size();
}