From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kstyles/light/lightstyle-v2.h | 48 +++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'kstyles/light/lightstyle-v2.h') diff --git a/kstyles/light/lightstyle-v2.h b/kstyles/light/lightstyle-v2.h index 6a7befd0c..e5a3fffac 100644 --- a/kstyles/light/lightstyle-v2.h +++ b/kstyles/light/lightstyle-v2.h @@ -42,43 +42,43 @@ public: LightStyleV2(); virtual ~LightStyleV2(); - void polishPopupMenu( QPopupMenu * ); + void polishPopupMenu( TQPopupMenu * ); - void drawPrimitive(PrimitiveElement, QPainter *, const QRect &, const QColorGroup &, + void drawPrimitive(PrimitiveElement, TQPainter *, const TQRect &, const TQColorGroup &, SFlags = Style_Default, - const QStyleOption & = QStyleOption::Default ) const; + const TQStyleOption & = TQStyleOption::Default ) const; - void drawControl(ControlElement, QPainter *, const QWidget *, const QRect &, - const QColorGroup &, SFlags = Style_Default, - const QStyleOption & = QStyleOption::Default ) const; - void drawControlMask(ControlElement, QPainter *, const QWidget *, const QRect &, - const QStyleOption & = QStyleOption::Default) const; + void drawControl(ControlElement, TQPainter *, const TQWidget *, const TQRect &, + const TQColorGroup &, SFlags = Style_Default, + const TQStyleOption & = TQStyleOption::Default ) const; + void drawControlMask(ControlElement, TQPainter *, const TQWidget *, const TQRect &, + const TQStyleOption & = TQStyleOption::Default) const; - QRect subRect(SubRect, const QWidget *) const; + TQRect subRect(SubRect, const TQWidget *) const; - void drawComplexControl(ComplexControl, QPainter *, const QWidget *, const QRect &, - const QColorGroup &, SFlags = Style_Default, + void drawComplexControl(ComplexControl, TQPainter *, const TQWidget *, const TQRect &, + const TQColorGroup &, SFlags = Style_Default, SCFlags = SC_All, SCFlags = SC_None, - const QStyleOption & = QStyleOption::Default ) const; + const TQStyleOption & = TQStyleOption::Default ) const; - QRect querySubControlMetrics(ComplexControl, const QWidget *, SubControl, - const QStyleOption & = QStyleOption::Default ) const; + TQRect querySubControlMetrics(ComplexControl, const TQWidget *, SubControl, + const TQStyleOption & = TQStyleOption::Default ) const; - SubControl querySubControl(ComplexControl, const QWidget *, const QPoint &, - const QStyleOption &data = QStyleOption::Default ) const; + SubControl querySubControl(ComplexControl, const TQWidget *, const TQPoint &, + const TQStyleOption &data = TQStyleOption::Default ) const; - int pixelMetric(PixelMetric, const QWidget * = 0 ) const; + int pixelMetric(PixelMetric, const TQWidget * = 0 ) const; - QSize sizeFromContents(ContentsType, const QWidget *, const QSize &, - const QStyleOption & = QStyleOption::Default ) const; + TQSize sizeFromContents(ContentsType, const TQWidget *, const TQSize &, + const TQStyleOption & = TQStyleOption::Default ) const; - int styleHint(StyleHint, const QWidget * = 0, - const QStyleOption & = QStyleOption::Default, + int styleHint(StyleHint, const TQWidget * = 0, + const TQStyleOption & = TQStyleOption::Default, QStyleHintReturn * = 0 ) const; - QPixmap stylePixmap( StylePixmap stylepixmap, - const QWidget* widget = 0, - const QStyleOption& = QStyleOption::Default ) const; + TQPixmap stylePixmap( StylePixmap stylepixmap, + const TQWidget* widget = 0, + const TQStyleOption& = TQStyleOption::Default ) const; }; -- cgit v1.2.1