Drop compatibility code for TQPalette

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/50/head
Michele Calgaro 1 year ago
parent 7614fcf38a
commit bff9d105e9
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -90,10 +90,10 @@ namespace KPF
<< endl
<< "table.filelist { "
<< "color: "
<< colorToCSS(pal.color(TQPalette::Normal, TQColorGroup::Foreground))
<< colorToCSS(pal.color(TQPalette::Active, TQColorGroup::Foreground))
<< "; "
<< "background-color: "
<< colorToCSS(pal.color(TQPalette::Normal, TQColorGroup::Background))
<< colorToCSS(pal.color(TQPalette::Active, TQColorGroup::Background))
<< "; "
<< "border: thin outset; "
<< "width: 100%; "
@ -106,10 +106,10 @@ namespace KPF
<< endl
<< "td.norm { "
<< "background-color: "
<< colorToCSS(pal.color(TQPalette::Normal, TQColorGroup::Base))
<< colorToCSS(pal.color(TQPalette::Active, TQColorGroup::Base))
<< "; "
<< "color: "
<< colorToCSS(pal.color(TQPalette::Normal, TQColorGroup::Foreground))
<< colorToCSS(pal.color(TQPalette::Active, TQColorGroup::Foreground))
<< "; "
<< "}"
<< endl
@ -118,27 +118,27 @@ namespace KPF
<< colorToCSS
(
TDEGlobalSettings::calculateAlternateBackgroundColor
(pal.color(TQPalette::Normal, TQColorGroup::Base))
(pal.color(TQPalette::Active, TQColorGroup::Base))
)
<< "; "
<< "color: "
<< colorToCSS(pal.color(TQPalette::Normal, TQColorGroup::Foreground))
<< colorToCSS(pal.color(TQPalette::Active, TQColorGroup::Foreground))
<< "; "
<< "}"
<< endl
<< "a { "
<< "color: "
<< colorToCSS(pal.color(TQPalette::Normal, TQColorGroup::Text))
<< colorToCSS(pal.color(TQPalette::Active, TQColorGroup::Text))
<< "; "
<< "text-decoration: none; "
<< "}"
<< endl
<< "th.listheading { "
<< "color: "
<< colorToCSS(pal.color(TQPalette::Normal, TQColorGroup::ButtonText))
<< colorToCSS(pal.color(TQPalette::Active, TQColorGroup::ButtonText))
<< "; "
<< "background-color: "
<< colorToCSS(pal.color(TQPalette::Normal, TQColorGroup::Button))
<< colorToCSS(pal.color(TQPalette::Active, TQColorGroup::Button))
<< "; "
<< "text-align: left; "
<< "white-space: nowrap; "
@ -151,7 +151,7 @@ namespace KPF
<< endl
<< "div.sizeentry { "
<< "color: "
<< colorToCSS(pal.color(TQPalette::Normal, TQColorGroup::Text))
<< colorToCSS(pal.color(TQPalette::Active, TQColorGroup::Text))
<< "; "
<< "text-align: right; "
<< "}"

Loading…
Cancel
Save