diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-14 05:14:51 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-14 05:14:51 +0000 |
commit | 1d077caf68127ab1a5518df84cc5592a1b47a965 (patch) | |
tree | 9729a338937930e9014ccbd70296f3313d6dc2cc /styles/phase/phasestyle.h | |
parent | 771e57c60b52ff27c4d92cddc8e6bfc0b8dafd1a (diff) | |
download | tdeartwork-1d077caf68127ab1a5518df84cc5592a1b47a965.tar.gz tdeartwork-1d077caf68127ab1a5518df84cc5592a1b47a965.zip |
TQt4 port kdeartwork
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeartwork@1246991 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'styles/phase/phasestyle.h')
-rw-r--r-- | styles/phase/phasestyle.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/styles/phase/phasestyle.h b/styles/phase/phasestyle.h index 5c44c742..9d81264e 100644 --- a/styles/phase/phasestyle.h +++ b/styles/phase/phasestyle.h @@ -1,7 +1,7 @@ ////////////////////////////////////////////////////////////////////////////// // phasestyle.h // ------------------- -// Qt/KDE widget style +// TQt/KDE widget style // ------------------- // Copyright (c) 2004 David Johnson <david@usermode.org> // @@ -57,6 +57,7 @@ private: class PhaseStyle : public KStyle { Q_OBJECT + TQ_OBJECT public: PhaseStyle(); virtual ~PhaseStyle(); @@ -66,7 +67,7 @@ public: void polish(TQPalette &pal); void unPolish(TQWidget *widget); - void drawPrimitive(PrimitiveElement element, + void tqdrawPrimitive(TQ_PrimitiveElement element, TQPainter *painter, const TQRect &rect, const TQColorGroup &group, @@ -81,7 +82,7 @@ public: SFlags flags = Style_Default, const TQStyleOption &option = TQStyleOption::Default) const; - void drawControl(ControlElement element, + void tqdrawControl(TQ_ControlElement element, TQPainter *painter, const TQWidget *widget, const TQRect &rect, @@ -89,13 +90,13 @@ public: SFlags flags = Style_Default, const TQStyleOption &option = TQStyleOption::Default) const; - void drawControlMask(ControlElement element, + void tqdrawControlMask(TQ_ControlElement element, TQPainter *painter, const TQWidget *widget, const TQRect &rect, const TQStyleOption &option = TQStyleOption::Default) const; - void drawComplexControl(ComplexControl control, + void tqdrawComplexControl(TQ_ComplexControl control, TQPainter *painter, const TQWidget *widget, const TQRect &rect, @@ -105,23 +106,23 @@ public: SCFlags active = SC_None, const TQStyleOption &option = TQStyleOption::Default) const; - void drawComplexControlMask(ComplexControl control, + void tqdrawComplexControlMask(TQ_ComplexControl control, TQPainter *painter, const TQWidget *widget, const TQRect &rect, const TQStyleOption &option = TQStyleOption::Default) const; - int pixelMetric(PixelMetric metric, + int tqpixelMetric(PixelMetric metric, const TQWidget *widget = 0) const; TQRect subRect(SubRect rect, const TQWidget *widget) const; - TQRect querySubControlMetrics(ComplexControl control, + TQRect querySubControlMetrics(TQ_ComplexControl control, const TQWidget *widget, SubControl subcontrol, const TQStyleOption &option = TQStyleOption::Default) const; - TQSize sizeFromContents(ContentsType contents, + TQSize tqsizeFromContents(ContentsType contents, const TQWidget *widget, const TQSize &contentsize, const TQStyleOption& option = TQStyleOption::Default) const; |