summaryrefslogtreecommitdiffstats
path: root/src/styles/qwindowsstyle.h
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-11-15 12:46:17 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2012-11-15 12:46:17 -0600
commitc4fcfaa593835ff3568310c6937f47d69196f281 (patch)
treed65fcc9cdf7182890ac0b3669be5f09c6968e6ce /src/styles/qwindowsstyle.h
parent6bcbe0a787127751122109caf4a3cd621e13004e (diff)
parent5e04c37a6ce7a090adb9e6ea02a04761dea8a33e (diff)
downloadqt3-c4fcfaa593835ff3568310c6937f47d69196f281.tar.gz
qt3-c4fcfaa593835ff3568310c6937f47d69196f281.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/qt3
Diffstat (limited to 'src/styles/qwindowsstyle.h')
-rw-r--r--src/styles/qwindowsstyle.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/styles/qwindowsstyle.h b/src/styles/qwindowsstyle.h
index 4ffc849..2cb3283 100644
--- a/src/styles/qwindowsstyle.h
+++ b/src/styles/qwindowsstyle.h
@@ -61,20 +61,20 @@ public:
QWindowsStyle();
~QWindowsStyle();
- 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 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 polish( QPalette & );
- virtual void polishPopupMenu( QStyleControlElementData ceData, ControlElementFlags elementFlags, void * );
+ virtual void polishPopupMenu( const QStyleControlElementData &ceData, ControlElementFlags elementFlags, void * );
// new stuff
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,
@@ -108,29 +108,29 @@ public:
const QWidget* widget = 0 ) const;
int pixelMetric( PixelMetric metric,
- QStyleControlElementData ceData,
+ 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;
- 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;
QPixmap stylePixmap( StylePixmap stylepixmap,
- QStyleControlElementData ceData,
+ const QStyleControlElementData &ceData,
ControlElementFlags elementFlags,
const QStyleOption& = QStyleOption::Default,
const QWidget *widget = 0 ) const;
- QRect subRect( SubRect r, const QStyleControlElementData ceData, const ControlElementFlags elementFlags, const QWidget *widget ) const;
+ QRect subRect( SubRect r, const QStyleControlElementData &ceData, const ControlElementFlags elementFlags, const QWidget *widget ) const;
- bool objectEventHandler( QStyleControlElementData ceData, ControlElementFlags elementFlags, void* source, QEvent *e );
+ bool objectEventHandler( const QStyleControlElementData &ceData, ControlElementFlags elementFlags, void* source, QEvent *e );
private:
class Private;