summaryrefslogtreecommitdiffstats
path: root/tdefx
diff options
context:
space:
mode:
Diffstat (limited to 'tdefx')
-rw-r--r--tdefx/kstyle.cpp4
-rw-r--r--tdefx/kstyle.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/tdefx/kstyle.cpp b/tdefx/kstyle.cpp
index d95d98281..a1a95e1fd 100644
--- a/tdefx/kstyle.cpp
+++ b/tdefx/kstyle.cpp
@@ -541,7 +541,7 @@ void KStyle::drawKStylePrimitive( KStylePrimitive kpe,
}
-int KStyle::kPixelMetric( KStylePixelMetric kpm, const TQWidget* /* widget */) const
+int KStyle::kPixelMetric( KStylePixelMetric kpm, TQStyleControlElementData ceData, ControlElementFlags elementFlags, const TQWidget* /* widget */) const
{
int value;
switch(kpm)
@@ -1389,7 +1389,7 @@ void KStyle::drawComplexControl( TQ_ComplexControl control,
}
// Draw all the branches...
- static int thickness = kPixelMetric( KPM_ListViewBranchThickness );
+ static int thickness = kPixelMetric( KPM_ListViewBranchThickness, ceData, elementFlags );
int line; // index into dotlines
TQRect branchrect;
TQStyle::StyleFlags branchflags;
diff --git a/tdefx/kstyle.h b/tdefx/kstyle.h
index 0d36678cf..b4331c223 100644
--- a/tdefx/kstyle.h
+++ b/tdefx/kstyle.h
@@ -282,7 +282,7 @@ class TDEFX_EXPORT KStyle: public TQCommonStyle
KPM_ListViewBranchThickness = 0x00000100
};
- int kPixelMetric( KStylePixelMetric kpm, const TQWidget* widget = 0 ) const;
+ int kPixelMetric( KStylePixelMetric kpm, TQStyleControlElementData ceData, ControlElementFlags elementFlags, const TQWidget* widget = 0 ) const;
// ---------------------------------------------------------------------------