diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-11-14 23:45:27 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-11-14 23:45:27 -0600 |
commit | 5e04c37a6ce7a090adb9e6ea02a04761dea8a33e (patch) | |
tree | b361ace08a667135125ac6bf00c82452b61c23d5 /src/styles/qcdestyle.cpp | |
parent | 30c5994817cb87f4a291eec0bc6eaec485eefb15 (diff) | |
download | qt3-5e04c37a6ce7a090adb9e6ea02a04761dea8a33e.tar.gz qt3-5e04c37a6ce7a090adb9e6ea02a04761dea8a33e.zip |
Increase style method call speed
This breaks the style ABI
Diffstat (limited to 'src/styles/qcdestyle.cpp')
-rw-r--r-- | src/styles/qcdestyle.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/styles/qcdestyle.cpp b/src/styles/qcdestyle.cpp index 3719462..629acb8 100644 --- a/src/styles/qcdestyle.cpp +++ b/src/styles/qcdestyle.cpp @@ -87,7 +87,7 @@ QCDEStyle::~QCDEStyle() /*!\reimp */ -int QCDEStyle::pixelMetric( PixelMetric metric, QStyleControlElementData ceData, ControlElementFlags elementFlags, const QWidget *widget ) const +int QCDEStyle::pixelMetric( PixelMetric metric, const QStyleControlElementData &ceData, ControlElementFlags elementFlags, const QWidget *widget ) const { int ret; @@ -112,7 +112,7 @@ int QCDEStyle::pixelMetric( PixelMetric metric, QStyleControlElementData ceData, */ void QCDEStyle::drawControl( ControlElement element, QPainter *p, - QStyleControlElementData ceData, + const QStyleControlElementData &ceData, ControlElementFlags elementFlags, const QRect &r, const QColorGroup &cg, @@ -144,7 +144,7 @@ void QCDEStyle::drawControl( ControlElement element, */ void QCDEStyle::drawPrimitive( PrimitiveElement pe, QPainter *p, - QStyleControlElementData ceData, + const QStyleControlElementData &ceData, ControlElementFlags elementFlags, const QRect &r, const QColorGroup &cg, |