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/AudioInstrumentParameterPanel.cpp8
-rw-r--r--src/gui/editors/parameters/SegmentParameterBox.cpp2
-rw-r--r--src/gui/editors/parameters/TrackParameterBox.cpp4
3 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/editors/parameters/AudioInstrumentParameterPanel.cpp b/src/gui/editors/parameters/AudioInstrumentParameterPanel.cpp
index 7d9abe8..d550b6d 100644
--- a/src/gui/editors/parameters/AudioInstrumentParameterPanel.cpp
+++ b/src/gui/editors/parameters/AudioInstrumentParameterPanel.cpp
@@ -217,19 +217,19 @@ AudioInstrumentParameterPanel::setButtonColour(
// Set the bypass colour on the plugin button
if (bypassState) {
button->
- setPaletteForegroundColor(kapp->palette().
+ setPaletteForegroundColor(tdeApp->palette().
color(TQPalette::Active, TQColorGroup::Button));
button->
- setPaletteBackgroundColor(kapp->palette().
+ setPaletteBackgroundColor(tdeApp->palette().
color(TQPalette::Active, TQColorGroup::ButtonText));
} else if (colour == TQt::black) {
button->
- setPaletteForegroundColor(kapp->palette().
+ setPaletteForegroundColor(tdeApp->palette().
color(TQPalette::Active, TQColorGroup::ButtonText));
button->
- setPaletteBackgroundColor(kapp->palette().
+ setPaletteBackgroundColor(tdeApp->palette().
color(TQPalette::Active, TQColorGroup::Button));
} else {
button->
diff --git a/src/gui/editors/parameters/SegmentParameterBox.cpp b/src/gui/editors/parameters/SegmentParameterBox.cpp
index b23ee9a..6a593a2 100644
--- a/src/gui/editors/parameters/SegmentParameterBox.cpp
+++ b/src/gui/editors/parameters/SegmentParameterBox.cpp
@@ -1011,7 +1011,7 @@ SegmentParameterBox::updateHighLow()
Pitch highest(m_highestPlayable, accidental);
Pitch lowest(m_lowestPlayable, accidental);
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup(GeneralOptionsConfigGroup);
int base = config->readNumEntry("midipitchoctave", -2);
//!!! FIXME this code is broken, and needs to be fixed after the fashion of
diff --git a/src/gui/editors/parameters/TrackParameterBox.cpp b/src/gui/editors/parameters/TrackParameterBox.cpp
index febded0..4e9c5f8 100644
--- a/src/gui/editors/parameters/TrackParameterBox.cpp
+++ b/src/gui/editors/parameters/TrackParameterBox.cpp
@@ -106,7 +106,7 @@ TrackParameterBox::TrackParameterBox( RosegardenGUIDoc *doc,
title_font.setBold(true);
// Set up default expansions for the collapsing elements
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
TQString groupTemp = config->group();
config->setGroup("CollapsingFrame");
bool expanded = config->readBoolEntry("trackparametersplayback", true);
@@ -593,7 +593,7 @@ TrackParameterBox::updateHighLow()
Pitch highest(m_highestPlayable, accidental);
Pitch lowest(m_lowestPlayable, accidental);
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup(GeneralOptionsConfigGroup);
int base = config->readNumEntry("midipitchoctave", -2);
bool useSharps = true;