diff options
Diffstat (limited to 'src/styles/qmotifplusstyle.h')
-rw-r--r-- | src/styles/qmotifplusstyle.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/styles/qmotifplusstyle.h b/src/styles/qmotifplusstyle.h index 24de609..cf49425 100644 --- a/src/styles/qmotifplusstyle.h +++ b/src/styles/qmotifplusstyle.h @@ -63,15 +63,15 @@ public: virtual ~QMotifPlusStyle(); void polish(QPalette &pal); - void polish(QStyleControlElementData ceData, ControlElementFlags elementFlags, void *); - void unPolish(QStyleControlElementData ceData, ControlElementFlags elementFlags, void *); + void polish(const QStyleControlElementData &ceData, ControlElementFlags elementFlags, void *); + void unPolish(const QStyleControlElementData &ceData, ControlElementFlags elementFlags, void *); - void applicationPolish(QStyleControlElementData ceData, ControlElementFlags elementFlags, void *); - void applicationUnPolish(QStyleControlElementData ceData, ControlElementFlags elementFlags, void *); + void applicationPolish(const QStyleControlElementData &ceData, ControlElementFlags elementFlags, void *); + void applicationUnPolish(const QStyleControlElementData &ceData, ControlElementFlags elementFlags, void *); void drawPrimitive( PrimitiveElement pe, QPainter *p, - QStyleControlElementData ceData, + const QStyleControlElementData &ceData, ControlElementFlags elementFlags, const QRect &r, const QColorGroup &cg, @@ -80,7 +80,7 @@ public: void drawControl( ControlElement element, QPainter *p, - QStyleControlElementData ceData, + const QStyleControlElementData &ceData, ControlElementFlags elementFlags, const QRect &r, const QColorGroup &cg, @@ -88,11 +88,11 @@ public: const QStyleOption& = QStyleOption::Default, 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; void drawComplexControl(ComplexControl control, QPainter *p, - QStyleControlElementData ceData, + const QStyleControlElementData &ceData, ControlElementFlags elementFlags, const QRect &r, const QColorGroup &cg, @@ -107,18 +107,18 @@ public: const QWidget *widget = 0 ) const; QRect querySubControlMetrics(ComplexControl control, - QStyleControlElementData ceData, + const QStyleControlElementData &ceData, ControlElementFlags elementFlags, SubControl subcontrol, 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; - int styleHint(StyleHint sh, QStyleControlElementData ceData, ControlElementFlags elementFlags, const QStyleOption & = QStyleOption::Default, + int styleHint(StyleHint sh, const QStyleControlElementData &ceData, ControlElementFlags elementFlags, const QStyleOption & = QStyleOption::Default, QStyleHintReturn* = 0, const QWidget * = 0) const; - bool objectEventHandler( QStyleControlElementData ceData, ControlElementFlags elementFlags, void* source, QEvent *e ); + bool objectEventHandler( const QStyleControlElementData &ceData, ControlElementFlags elementFlags, void* source, QEvent *e ); private: |