diff options
Diffstat (limited to 'tdeui')
-rw-r--r-- | tdeui/kactivelabel.cpp | 4 | ||||
-rw-r--r-- | tdeui/klineedit.cpp | 4 | ||||
-rw-r--r-- | tdeui/ktextedit.cpp | 2 | ||||
-rw-r--r-- | tdeui/kurllabel.cpp | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/tdeui/kactivelabel.cpp b/tdeui/kactivelabel.cpp index 0e5abc5ad..7dad563b2 100644 --- a/tdeui/kactivelabel.cpp +++ b/tdeui/kactivelabel.cpp @@ -59,8 +59,8 @@ void KActiveLabel::init() void KActiveLabel::paletteChanged() { TQPalette p = kapp ? kapp->palette() : palette(); - p.setBrush(TQColorGroup::Base, p.brush(TQPalette::Normal, TQColorGroup::Background)); - p.setColor(TQColorGroup::Text, p.color(TQPalette::Normal, TQColorGroup::Foreground)); + p.setBrush(TQColorGroup::Base, p.brush(TQPalette::Active, TQColorGroup::Background)); + p.setColor(TQColorGroup::Text, p.color(TQPalette::Active, TQColorGroup::Foreground)); setPalette(p); } diff --git a/tdeui/klineedit.cpp b/tdeui/klineedit.cpp index 92afc91fd..07fbc58b9 100644 --- a/tdeui/klineedit.cpp +++ b/tdeui/klineedit.cpp @@ -140,9 +140,9 @@ void KLineEdit::init() TQPalette p = palette(); if ( !d->previousHighlightedTextColor.isValid() ) - d->previousHighlightedTextColor=p.color(TQPalette::Normal,TQColorGroup::HighlightedText); + d->previousHighlightedTextColor=p.color(TQPalette::Active,TQColorGroup::HighlightedText); if ( !d->previousHighlightColor.isValid() ) - d->previousHighlightColor=p.color(TQPalette::Normal,TQColorGroup::Highlight); + d->previousHighlightColor=p.color(TQPalette::Active,TQColorGroup::Highlight); d->drawClickMsg = false; } diff --git a/tdeui/ktextedit.cpp b/tdeui/ktextedit.cpp index 3ebb1375f..e0208be82 100644 --- a/tdeui/ktextedit.cpp +++ b/tdeui/ktextedit.cpp @@ -332,7 +332,7 @@ void KTextEdit::setReadOnly(bool readOnly) if ( d->customPalette ) { TQPalette p = palette(); - TQColor color = p.color(TQPalette::Normal, TQColorGroup::Base); + TQColor color = p.color(TQPalette::Active, TQColorGroup::Base); p.setColor(TQColorGroup::Base, color); p.setColor(TQColorGroup::Background, color); setPalette( p ); diff --git a/tdeui/kurllabel.cpp b/tdeui/kurllabel.cpp index 539984466..8034423b4 100644 --- a/tdeui/kurllabel.cpp +++ b/tdeui/kurllabel.cpp @@ -355,7 +355,7 @@ bool KURLLabel::event (TQEvent *e) { // use parentWidget() unless you are a toplevel widget, then try qAapp TQPalette p = parentWidget() ? parentWidget()->palette() : tqApp->palette(); - p.setBrush(TQColorGroup::Base, p.brush(TQPalette::Normal, TQColorGroup::Background)); + p.setBrush(TQColorGroup::Base, p.brush(TQPalette::Active, TQColorGroup::Background)); p.setColor(TQColorGroup::Foreground, palette().active().foreground()); setPalette(p); d->LinkColor = TDEGlobalSettings::linkColor(); |