summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/parameters/AudioInstrumentParameterPanel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/parameters/AudioInstrumentParameterPanel.cpp')
-rw-r--r--src/gui/editors/parameters/AudioInstrumentParameterPanel.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/editors/parameters/AudioInstrumentParameterPanel.cpp b/src/gui/editors/parameters/AudioInstrumentParameterPanel.cpp
index bfa61a8..d7bf79a 100644
--- a/src/gui/editors/parameters/AudioInstrumentParameterPanel.cpp
+++ b/src/gui/editors/parameters/AudioInstrumentParameterPanel.cpp
@@ -115,7 +115,7 @@ AudioInstrumentParameterPanel::slotPluginSelected(InstrumentId instrumentId,
<< ", index = " << index
<< ", plugin = " << plugin << endl;
- TQColor pluginBackgroundColour = Qt::black;
+ TQColor pluginBackgroundColour = TQt::black;
bool bypassed = false;
TQPushButton *button = 0;
@@ -179,7 +179,7 @@ AudioInstrumentParameterPanel::slotPluginBypassed(InstrumentId instrumentId,
AudioPluginInstance *inst =
m_selectedInstrument->getPlugin(pluginIndex);
- TQColor backgroundColour = Qt::black; // default background colour
+ TQColor backgroundColour = TQt::black; // default background colour
if (inst && inst->isAssigned()) {
AudioPlugin *pluginClass
@@ -203,7 +203,7 @@ AudioInstrumentParameterPanel::setButtonColour(
RG_DEBUG << "AudioInstrumentParameterPanel::setButtonColour "
<< "pluginIndex = " << pluginIndex
<< ", bypassState = " << bypassState
- << ", rgb = " << colour.name() << endl;
+ << ", rgb = " << TQString(colour.name()).ascii() << endl;
TQPushButton *button = 0;
@@ -225,7 +225,7 @@ AudioInstrumentParameterPanel::setButtonColour(
button->
setPaletteBackgroundColor(kapp->palette().
color(TQPalette::Active, TQColorGroup::ButtonText));
- } else if (colour == Qt::black) {
+ } else if (colour == TQt::black) {
button->
setPaletteForegroundColor(kapp->palette().
color(TQPalette::Active, TQColorGroup::ButtonText));
@@ -235,15 +235,15 @@ AudioInstrumentParameterPanel::setButtonColour(
color(TQPalette::Active, TQColorGroup::Button));
} else {
button->
- setPaletteForegroundColor(Qt::white);
+ setPaletteForegroundColor(TQt::white);
button->
setPaletteBackgroundColor(colour);
}
}
-AudioInstrumentParameterPanel::AudioInstrumentParameterPanel(RosegardenGUIDoc* doc, TQWidget* parent)
- : InstrumentParameterPanel(doc, parent),
+AudioInstrumentParameterPanel::AudioInstrumentParameterPanel(RosegardenGUIDoc* doc, TQWidget* tqparent)
+ : InstrumentParameterPanel(doc, tqparent),
m_audioFader(new AudioFaderBox(this))
{
TQGridLayout *gridLayout = new TQGridLayout(this, 3, 2, 5, 5);
@@ -382,7 +382,7 @@ AudioInstrumentParameterPanel::setupForInstrument(Instrument* instrument)
button->setText(noneText);
TQToolTip::add
(button, noneText);
- setButtonColour(index, inst ? inst->isBypassed() : false, Qt::black);
+ setButtonColour(index, inst ? inst->isBypassed() : false, TQt::black);
}
}