diff options
author | Michele Calgaro <[email protected]> | 2023-07-19 16:53:24 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-07-19 16:53:24 +0900 |
commit | bff9d105e960d24570400ad209f943bdc61a1016 (patch) | |
tree | fd3d3f35bb27110b56bc23313c1ecda7f2a9471e | |
parent | 7614fcf38af4b1215e0a53708025c63a26c8c230 (diff) | |
download | tdenetwork-bff9d105e960d24570400ad209f943bdc61a1016.tar.gz tdenetwork-bff9d105e960d24570400ad209f943bdc61a1016.zip |
Drop compatibility code for TQPalette
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | kpf/src/DirectoryLister.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kpf/src/DirectoryLister.cpp b/kpf/src/DirectoryLister.cpp index 6c0715d8..705af47f 100644 --- a/kpf/src/DirectoryLister.cpp +++ b/kpf/src/DirectoryLister.cpp @@ -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; " << "}" |