diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-11-14 23:47:54 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-11-14 23:47:54 -0600 |
commit | 00a3830a317e2dba5f0369eb55fd6163c25e498d (patch) | |
tree | ea4f0717d6b33104359a919ec025135627673eaf /styles/phase/phasestyle.h | |
parent | b2be7bd4d62cd8743fed9f138a95e17ac91d6aa3 (diff) | |
download | tdeartwork-00a3830a317e2dba5f0369eb55fd6163c25e498d.tar.gz tdeartwork-00a3830a317e2dba5f0369eb55fd6163c25e498d.zip |
Update to latest style API
Diffstat (limited to 'styles/phase/phasestyle.h')
-rw-r--r-- | styles/phase/phasestyle.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/styles/phase/phasestyle.h b/styles/phase/phasestyle.h index f24e3eaa..4cf7fabf 100644 --- a/styles/phase/phasestyle.h +++ b/styles/phase/phasestyle.h @@ -62,14 +62,14 @@ class PhaseStyle : public KStyle PhaseStyle(); virtual ~PhaseStyle(); - void applicationPolish(TQStyleControlElementData ceData, ControlElementFlags elementFlags, void *); - void polish(TQStyleControlElementData ceData, ControlElementFlags elementFlags, void *); + void applicationPolish(const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void *); + void polish(const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void *); void polish(TQPalette &pal); - void unPolish(TQStyleControlElementData ceData, ControlElementFlags elementFlags, void *); + void unPolish(const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void *); void drawPrimitive(TQ_PrimitiveElement element, TQPainter *painter, - TQStyleControlElementData ceData, + const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQRect &rect, const TQColorGroup &group, @@ -78,7 +78,7 @@ class PhaseStyle : public KStyle void drawKStylePrimitive(KStylePrimitive element, TQPainter *painter, - TQStyleControlElementData ceData, + const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQRect &rect, const TQColorGroup &group, @@ -88,7 +88,7 @@ class PhaseStyle : public KStyle void drawControl(TQ_ControlElement element, TQPainter *painter, - TQStyleControlElementData ceData, + const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQRect &rect, const TQColorGroup &group, @@ -98,7 +98,7 @@ class PhaseStyle : public KStyle void drawControlMask(TQ_ControlElement element, TQPainter *painter, - TQStyleControlElementData ceData, + const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQRect &rect, const TQStyleOption &option = TQStyleOption::Default, @@ -106,7 +106,7 @@ class PhaseStyle : public KStyle void drawComplexControl(TQ_ComplexControl control, TQPainter *painter, - TQStyleControlElementData ceData, + const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQRect &rect, const TQColorGroup &group, @@ -118,32 +118,32 @@ class PhaseStyle : public KStyle void drawComplexControlMask(TQ_ComplexControl control, TQPainter *painter, - const TQStyleControlElementData ceData, + const TQStyleControlElementData &ceData, const ControlElementFlags elementFlags, const TQRect &rect, const TQStyleOption &option = TQStyleOption::Default, const TQWidget *widget = 0) const; - int pixelMetric(PixelMetric metric, TQStyleControlElementData ceData, ControlElementFlags elementFlags, + int pixelMetric(PixelMetric metric, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQWidget *widget = 0) const; - TQRect subRect(SubRect rect, const TQStyleControlElementData ceData, const ControlElementFlags elementFlags, const TQWidget *widget = 0) const; + TQRect subRect(SubRect rect, const TQStyleControlElementData &ceData, const ControlElementFlags elementFlags, const TQWidget *widget = 0) const; TQRect querySubControlMetrics(TQ_ComplexControl control, - TQStyleControlElementData ceData, + const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, SubControl subcontrol, const TQStyleOption &option = TQStyleOption::Default, const TQWidget *widget = 0) const; TQSize sizeFromContents(ContentsType contents, - TQStyleControlElementData ceData, + const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQSize &contentsize, const TQStyleOption& option = TQStyleOption::Default, const TQWidget *widget = 0) const; - int styleHint(TQ_StyleHint, TQStyleControlElementData ceData, ControlElementFlags elementFlags, + int styleHint(TQ_StyleHint, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQStyleOption & = TQStyleOption::Default, TQStyleHintReturn * = 0, const TQWidget * = 0 ) const; @@ -174,7 +174,7 @@ class PhaseStyle : public KStyle void drawPhaseTab(TQPainter *painter, int x, int y, int w, int h, const TQColorGroup &group, - TQStyleControlElementData ceData, + const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQStyleOption &option, const SFlags flags) const; @@ -187,9 +187,9 @@ class PhaseStyle : public KStyle int pw=-1, int ph=-1, bool reverse=false) const; - bool flatToolbar(const TQStyleControlElementData ceData, const ControlElementFlags elementFlags, const TQToolBar *toolbar) const; + bool flatToolbar(const TQStyleControlElementData &ceData, const ControlElementFlags elementFlags, const TQToolBar *toolbar) const; - bool objectEventHandler( TQStyleControlElementData ceData, ControlElementFlags elementFlags, void* source, TQEvent *e ); + bool objectEventHandler( const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void* source, TQEvent *e ); private: TQMap<unsigned int, TQIntDict<GradientSet> > * gradients; |