summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/parameters
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/parameters')
-rw-r--r--src/gui/editors/parameters/InstrumentParameterBox.cpp6
-rw-r--r--src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp2
-rw-r--r--src/gui/editors/parameters/TrackParameterBox.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/editors/parameters/InstrumentParameterBox.cpp b/src/gui/editors/parameters/InstrumentParameterBox.cpp
index 610f9ed..f31c474 100644
--- a/src/gui/editors/parameters/InstrumentParameterBox.cpp
+++ b/src/gui/editors/parameters/InstrumentParameterBox.cpp
@@ -66,16 +66,16 @@ InstrumentParameterBox::InstrumentParameterBox(RosegardenGUIDoc *doc,
m_midiInstrumentParameters->setFont(m_font);
m_audioInstrumentParameters->setFont(m_font);
- bool tqcontains = false;
+ bool contains = false;
std::vector<InstrumentParameterBox*>::iterator it =
instrumentParamBoxes.begin();
for (; it != instrumentParamBoxes.end(); it++)
if ((*it) == this)
- tqcontains = true;
+ contains = true;
- if (!tqcontains)
+ if (!contains)
instrumentParamBoxes.push_back(this);
m_widgetStack->addWidget(m_midiInstrumentParameters);
diff --git a/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp b/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp
index 8186b07..3f0e543 100644
--- a/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp
+++ b/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp
@@ -216,7 +216,7 @@ MIDIInstrumentParameterPanel::setupForInstrument(Instrument *instrument)
} else {
// remove trailing "(duplex)", "(read only)", "(write only)" etc
- connection.tqreplace(TQRegExp("\\s*\\([^)0-9]+\\)\\s*$"), "");
+ connection.replace(TQRegExp("\\s*\\([^)0-9]+\\)\\s*$"), "");
TQString text = i18n("[ %1 ]").tqarg(connection);
/*TQString origText(text);
diff --git a/src/gui/editors/parameters/TrackParameterBox.cpp b/src/gui/editors/parameters/TrackParameterBox.cpp
index b481a71..b9bdcdd 100644
--- a/src/gui/editors/parameters/TrackParameterBox.cpp
+++ b/src/gui/editors/parameters/TrackParameterBox.cpp
@@ -453,7 +453,7 @@ TrackParameterBox::populatePlaybackDeviceList()
DeviceId devId = device->getId();
if ((*it)->getType() == Instrument::SoftSynth) {
- iname.tqreplace("Synth plugin ", "");
+ iname.replace("Synth plugin ", "");
pname = "";
AudioPluginInstance *plugin = (*it)->getPlugin
(Instrument::SYNTH_PLUGIN_POSITION);
@@ -547,7 +547,7 @@ TrackParameterBox::populateRecordingDeviceList()
&& dev->isRecording()) {
TQString connection = strtoqstr(dev->getConnection());
// remove trailing "(duplex)", "(read only)", "(write only)" etc
- connection.tqreplace(TQRegExp("\\s*\\([^)0-9]+\\)\\s*$"), "");
+ connection.replace(TQRegExp("\\s*\\([^)0-9]+\\)\\s*$"), "");
m_recDevice->insertItem(connection);
m_recDeviceIds.push_back(dev->getId());
}