summaryrefslogtreecommitdiffstats
path: root/src/styles/ntqcdestyle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/styles/ntqcdestyle.h')
-rw-r--r--src/styles/ntqcdestyle.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/styles/ntqcdestyle.h b/src/styles/ntqcdestyle.h
index 13b2c024e..5f169118c 100644
--- a/src/styles/ntqcdestyle.h
+++ b/src/styles/ntqcdestyle.h
@@ -62,11 +62,11 @@ public:
TQCDEStyle( bool useHighlightCols = FALSE );
virtual ~TQCDEStyle();
- int pixelMetric( PixelMetric metric, TQStyleControlElementData ceData, ControlElementFlags elementFlags, const TQWidget *widget = 0 ) const;
+ int pixelMetric( PixelMetric metric, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQWidget *widget = 0 ) const;
void drawControl( ControlElement element,
TQPainter *p,
- TQStyleControlElementData ceData,
+ const TQStyleControlElementData &ceData,
ControlElementFlags elementFlags,
const TQRect &r,
const TQColorGroup &cg,
@@ -76,7 +76,7 @@ public:
void drawPrimitive( PrimitiveElement pe,
TQPainter *p,
- TQStyleControlElementData ceData,
+ const TQStyleControlElementData &ceData,
ControlElementFlags elementFlags,
const TQRect &r,
const TQColorGroup &cg,