summaryrefslogtreecommitdiffstats
path: root/kstyles
diff options
context:
space:
mode:
Diffstat (limited to 'kstyles')
-rw-r--r--kstyles/highcolor/highcolor.cpp1
-rw-r--r--kstyles/highcontrast/highcontrast.cpp1
-rw-r--r--kstyles/keramik/keramik.cpp1
-rw-r--r--kstyles/kthemestyle/kthemestyle.cpp1
-rw-r--r--kstyles/light/lightstyle-v2.cpp1
-rw-r--r--kstyles/light/lightstyle-v3.cpp1
-rw-r--r--kstyles/plastik/plastik.cpp1
7 files changed, 7 insertions, 0 deletions
diff --git a/kstyles/highcolor/highcolor.cpp b/kstyles/highcolor/highcolor.cpp
index c89862fa7..cbfc2699c 100644
--- a/kstyles/highcolor/highcolor.cpp
+++ b/kstyles/highcolor/highcolor.cpp
@@ -414,6 +414,7 @@ void HighColorStyle::tqdrawPrimitive( TQ_PrimitiveElement pe,
// HEADER SECTION
// -------------------------------------------------------------------
+ case PE_HeaderSectionMenu:
case PE_HeaderSection: {
// Temporary solution for the proper orientation of gradients.
bool horizontal = true;
diff --git a/kstyles/highcontrast/highcontrast.cpp b/kstyles/highcontrast/highcontrast.cpp
index 4bc417f7e..006b745bf 100644
--- a/kstyles/highcontrast/highcontrast.cpp
+++ b/kstyles/highcontrast/highcontrast.cpp
@@ -372,6 +372,7 @@ void HighContrastStyle::tqdrawPrimitive (TQ_PrimitiveElement pe,
}
// HEADER SECTION
// -------------------------------------------------------------------
+ case PE_HeaderSectionMenu:
case PE_HeaderSection: {
setColorsButton (p, cg, flags, 0);
drawRect (p, r);
diff --git a/kstyles/keramik/keramik.cpp b/kstyles/keramik/keramik.cpp
index f7634de12..b18cdc192 100644
--- a/kstyles/keramik/keramik.cpp
+++ b/kstyles/keramik/keramik.cpp
@@ -740,6 +740,7 @@ void KeramikStyle::tqdrawPrimitive( TQ_PrimitiveElement pe,
// HEADER SECTION
// -------------------------------------------------------------------
+ case PE_HeaderSectionMenu:
case PE_HeaderSection:
if ( flags & Style_Down )
Keramik::RectTilePainter( keramik_listview_pressed, false ).draw( p, r, cg.button(), cg.background() );
diff --git a/kstyles/kthemestyle/kthemestyle.cpp b/kstyles/kthemestyle/kthemestyle.cpp
index 96cbc9b88..ffd2ffda8 100644
--- a/kstyles/kthemestyle/kthemestyle.cpp
+++ b/kstyles/kthemestyle/kthemestyle.cpp
@@ -839,6 +839,7 @@ void KThemeStyle::drawPrimitive ( PrimitiveElement pe, TQPainter * p, const TQRe
break;
}
+ case PE_HeaderSectionMenu:
case PE_HeaderSection:
{
sunken = false; //Never mind this one
diff --git a/kstyles/light/lightstyle-v2.cpp b/kstyles/light/lightstyle-v2.cpp
index f6007a1f0..9858ce4f8 100644
--- a/kstyles/light/lightstyle-v2.cpp
+++ b/kstyles/light/lightstyle-v2.cpp
@@ -137,6 +137,7 @@ void LightStyleV2::tqdrawPrimitive( TQ_PrimitiveElement pe,
const TQStyleOption &data ) const
{
switch (pe) {
+ case PE_HeaderSectionMenu:
case PE_HeaderSection:
{
flags = ((flags | Style_Sunken) ^ Style_Sunken) | Style_Raised;
diff --git a/kstyles/light/lightstyle-v3.cpp b/kstyles/light/lightstyle-v3.cpp
index 9af257bf1..b42ac5ef5 100644
--- a/kstyles/light/lightstyle-v3.cpp
+++ b/kstyles/light/lightstyle-v3.cpp
@@ -223,6 +223,7 @@ void LightStyleV3::tqdrawPrimitive( TQ_PrimitiveElement pe,
const TQBrush *fill = 0;
switch (pe) {
+ case PE_HeaderSectionMenu:
case PE_HeaderSection:
// don't draw any headers sunken
flags = ((flags | Style_Sunken) ^ Style_Sunken) | Style_Raised;
diff --git a/kstyles/plastik/plastik.cpp b/kstyles/plastik/plastik.cpp
index 4cc2a0fbc..1c6f5cd6a 100644
--- a/kstyles/plastik/plastik.cpp
+++ b/kstyles/plastik/plastik.cpp
@@ -1476,6 +1476,7 @@ void PlastikStyle::tqdrawPrimitive(TQ_PrimitiveElement pe,
break;
}
+ case PE_HeaderSectionMenu:
case PE_HeaderSection: {
// the taskbar buttons seems to be painted with PE_HeaderSection but I
// want them look like normal buttons (at least for now. :) )