diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:34:00 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:34:00 -0600 |
commit | b98d1ff3de3e501c2a08b61433937cc7bfcc97dc (patch) | |
tree | ac02eae99f531d7f097dbde97b453ada0d3c7cda /style/qtcurve.h | |
parent | dd3d53e70948ffd0e3e2745edfd345bbeb838a32 (diff) | |
download | tde-style-qtcurve-b98d1ff3de3e501c2a08b61433937cc7bfcc97dc.tar.gz tde-style-qtcurve-b98d1ff3de3e501c2a08b61433937cc7bfcc97dc.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'style/qtcurve.h')
-rw-r--r-- | style/qtcurve.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/style/qtcurve.h b/style/qtcurve.h index 54cb871..b67334d 100644 --- a/style/qtcurve.h +++ b/style/qtcurve.h @@ -59,7 +59,7 @@ #endif #include <tqcolor.h> #include <tqpoint.h> -#include <tqpalette.h> +#include <palette.h> #include <tqpixmap.h> #include <tqcache.h> #include <tqvaluelist.h> @@ -162,23 +162,23 @@ class TQtCurveStyle : public BASE_STYLE SFlags = Style_Default, const TQStyleOption & = TQStyleOption::Default) const; void drawKStylePrimitive(KStylePrimitive kpe, TQPainter* p, const TQWidget* widget, const TQRect &r, const TQColorGroup &cg, SFlags flags, const TQStyleOption &opt ) const; - void tqdrawControl(ControlElement, TQPainter *, const TQWidget *, const TQRect &, const TQColorGroup &, + void drawControl(ControlElement, TQPainter *, const TQWidget *, const TQRect &, const TQColorGroup &, SFlags = Style_Default, const TQStyleOption & = TQStyleOption::Default) const; - void tqdrawControlMask(ControlElement, TQPainter *, const TQWidget *, const TQRect &, + void drawControlMask(ControlElement, TQPainter *, const TQWidget *, const TQRect &, const TQStyleOption & = TQStyleOption::Default) const; - void tqdrawComplexControlMask(ComplexControl control, TQPainter *p, const TQWidget *widget, + void drawComplexControlMask(ComplexControl control, TQPainter *p, const TQWidget *widget, const TQRect &r, const TQStyleOption &data) const; TQRect subRect(SubRect, const TQWidget *) const; - void tqdrawComplexControl(ComplexControl, TQPainter *, const TQWidget *, const TQRect &, + void drawComplexControl(ComplexControl, TQPainter *, const TQWidget *, const TQRect &, const TQColorGroup &, SFlags = Style_Default, SCFlags = SC_All, SCFlags = SC_None, const TQStyleOption & = TQStyleOption::Default) const; TQRect querySubControlMetrics(TQ_ComplexControl, const TQWidget *, SubControl, const TQStyleOption & = TQStyleOption::Default) const; - int tqpixelMetric(PixelMetric, const TQWidget *widget= 0) const; + int pixelMetric(PixelMetric, const TQWidget *widget= 0) const; int kPixelMetric(KStylePixelMetric kpm, const TQWidget *widget) const; TQSize tqsizeFromContents(ContentsType, const TQWidget *, const TQSize &, const TQStyleOption & = TQStyleOption::Default) const; - int tqstyleHint(StyleHint, const TQWidget *widget= 0, const TQStyleOption & = TQStyleOption::Default, + int styleHint(StyleHint, const TQWidget *widget= 0, const TQStyleOption & = TQStyleOption::Default, TQStyleHintReturn *returnData= 0) const; void drawItem(TQPainter *p, const TQRect &r, int flags, const TQColorGroup &cg, bool enabled, const TQPixmap *pixmap, const TQString &text, int len=-1, const TQColor *penColor=0) const; |