diff options
Diffstat (limited to 'src/styles/qplatinumstyle.h')
-rw-r--r-- | src/styles/qplatinumstyle.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/styles/qplatinumstyle.h b/src/styles/qplatinumstyle.h index 6bf409f..13cc866 100644 --- a/src/styles/qplatinumstyle.h +++ b/src/styles/qplatinumstyle.h @@ -65,7 +65,7 @@ public: // new Style Stuff void drawPrimitive( PrimitiveElement pe, QPainter *p, - QStyleControlElementData ceData, + const QStyleControlElementData &ceData, ControlElementFlags elementFlags, const QRect &r, const QColorGroup &cg, @@ -74,7 +74,7 @@ public: void drawControl( ControlElement element, QPainter *p, - QStyleControlElementData ceData, + const QStyleControlElementData &ceData, ControlElementFlags elementFlags, const QRect &r, const QColorGroup &cg, @@ -84,7 +84,7 @@ public: void drawComplexControl( ComplexControl control, QPainter *p, - QStyleControlElementData ceData, + const QStyleControlElementData &ceData, ControlElementFlags elementFlags, const QRect &r, const QColorGroup &cg, @@ -99,15 +99,15 @@ public: const QWidget *widget = 0 ) const; QRect querySubControlMetrics( ComplexControl control, - QStyleControlElementData ceData, + const QStyleControlElementData &ceData, ControlElementFlags elementFlags, SubControl sc, const QStyleOption& = QStyleOption::Default, const QWidget *widget = 0 ) const; - int pixelMetric( PixelMetric metric, QStyleControlElementData ceData, ControlElementFlags elementFlags, const QWidget *widget = 0 ) const; + int pixelMetric( PixelMetric metric, const QStyleControlElementData &ceData, ControlElementFlags elementFlags, const QWidget *widget = 0 ) const; - QRect subRect( SubRect r, QStyleControlElementData ceData, ControlElementFlags elementFlags, const QWidget *widget ) const; + QRect subRect( SubRect r, const QStyleControlElementData &ceData, ControlElementFlags elementFlags, const QWidget *widget ) const; protected: QColor mixedColor(const QColor &, const QColor &) const; |