diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-08-08 18:37:01 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-08-08 18:37:01 -0500 |
commit | bf9b9d6bd937bda29930d181c49d37b3e094179b (patch) | |
tree | 69eb464b19d659e7937cc59fb0ce9d717e390280 /tdefx/kstyle.cpp | |
parent | 0ee242623bc254b99d10bac9973cb375cb3aa3a9 (diff) | |
download | tdelibs-bf9b9d6bd937bda29930d181c49d37b3e094179b.tar.gz tdelibs-bf9b9d6bd937bda29930d181c49d37b3e094179b.zip |
Update kstyle API
Diffstat (limited to 'tdefx/kstyle.cpp')
-rw-r--r-- | tdefx/kstyle.cpp | 4 |
1 files changed, 2 insertions, 2 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; |