summaryrefslogtreecommitdiffstats
path: root/src/styles/qsgistyle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/styles/qsgistyle.h')
-rw-r--r--src/styles/qsgistyle.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/styles/qsgistyle.h b/src/styles/qsgistyle.h
index 17bdb05..2e91d3a 100644
--- a/src/styles/qsgistyle.h
+++ b/src/styles/qsgistyle.h
@@ -67,14 +67,14 @@ public:
#if !defined(Q_NO_USING_KEYWORD)
using QMotifStyle::polish;
#endif
- void polish( QStyleControlElementData ceData, ControlElementFlags elementFlags, void * );
- void unPolish( QStyleControlElementData ceData, ControlElementFlags elementFlags, void * );
- void applicationPolish( QStyleControlElementData ceData, ControlElementFlags elementFlags, void * );
- void applicationUnPolish( QStyleControlElementData ceData, ControlElementFlags elementFlags, void * );
+ void polish( const QStyleControlElementData &ceData, ControlElementFlags elementFlags, void * );
+ void unPolish( const 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,
@@ -83,7 +83,7 @@ public:
void drawControl( ControlElement element,
QPainter *p,
- QStyleControlElementData ceData,
+ const QStyleControlElementData &ceData,
ControlElementFlags elementFlags,
const QRect &r,
const QColorGroup &cg,
@@ -93,7 +93,7 @@ public:
void drawComplexControl( ComplexControl control,
QPainter *p,
- QStyleControlElementData ceData,
+ const QStyleControlElementData &ceData,
ControlElementFlags elementFlags,
const QRect& r,
const QColorGroup& cg,
@@ -107,26 +107,26 @@ public:
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;
QSize sizeFromContents( ContentsType contents,
- QStyleControlElementData ceData,
+ const QStyleControlElementData &ceData,
ControlElementFlags elementFlags,
const QSize &contentsSize,
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;
QRect querySubControlMetrics( ComplexControl control,
- QStyleControlElementData ceData,
+ const QStyleControlElementData &ceData,
ControlElementFlags elementFlags,
SubControl sc,
const QStyleOption& = QStyleOption::Default,
const QWidget *widget = 0 ) const;
- int styleHint(StyleHint sh, QStyleControlElementData ceData, ControlElementFlags elementFlags, const QStyleOption &, QStyleHintReturn *, const QWidget *) const;
+ int styleHint(StyleHint sh, const QStyleControlElementData &ceData, ControlElementFlags elementFlags, const QStyleOption &, QStyleHintReturn *, const QWidget *) const;
- bool objectEventHandler( QStyleControlElementData ceData, ControlElementFlags elementFlags, void* source, QEvent *e );
+ bool objectEventHandler( const QStyleControlElementData &ceData, ControlElementFlags elementFlags, void* source, QEvent *e );
private:
QSGIStylePrivate *d;