diff options
Diffstat (limited to 'src/styles/ntqcommonstyle.h')
-rw-r--r-- | src/styles/ntqcommonstyle.h | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/src/styles/ntqcommonstyle.h b/src/styles/ntqcommonstyle.h index ed02fe418..8fe9ecfa1 100644 --- a/src/styles/ntqcommonstyle.h +++ b/src/styles/ntqcommonstyle.h @@ -55,15 +55,6 @@ public: TQCommonStyle(); ~TQCommonStyle(); - // Old API - // DEPRECATED - void drawPrimitive( PrimitiveElement pe, - TQPainter *p, - const TQRect &r, - const TQColorGroup &cg, - SFlags flags = Style_Default, - const TQStyleOption& = TQStyleOption::Default ) const; - // New API void drawPrimitive( PrimitiveElement pe, TQPainter *p, @@ -74,16 +65,6 @@ public: SFlags flags = Style_Default, const TQStyleOption& = TQStyleOption::Default ) const; - // Old API - // DEPRECATED - void drawControl( ControlElement element, - TQPainter *p, - const TQWidget *widget, - const TQRect &r, - const TQColorGroup &cg, - SFlags how = Style_Default, - const TQStyleOption& = TQStyleOption::Default ) const; - // New API void drawControl( ControlElement element, TQPainter *p, @@ -95,14 +76,6 @@ public: const TQStyleOption& = TQStyleOption::Default, const TQWidget *widget = 0 ) const; - // Old API - // DEPRECATED - void drawControlMask( ControlElement element, - TQPainter *p, - const TQWidget *widget, - const TQRect &r, - const TQStyleOption& = TQStyleOption::Default ) const; - // New API void drawControlMask( ControlElement element, TQPainter *p, @@ -112,29 +85,9 @@ public: const TQStyleOption& = TQStyleOption::Default, const TQWidget *widget = 0 ) const; - // Old API - // DEPRECATED - TQRect subRect( SubRect r, const TQWidget *widget ) const; - // New API TQRect subRect( SubRect r, const TQStyleControlElementData ceData, const ControlElementFlags elementFlags, const TQWidget *widget ) const; - // Old API - // DEPRECATED - void drawComplexControl( ComplexControl control, - TQPainter *p, - const TQWidget *widget, - const TQRect &r, - const TQColorGroup &cg, - SFlags how = Style_Default, -#ifdef Q_QDOC - SCFlags sub = SC_All, -#else - SCFlags sub = (uint)SC_All, -#endif - SCFlags subActive = SC_None, - const TQStyleOption& = TQStyleOption::Default ) const; - // New API void drawComplexControl( ComplexControl control, TQPainter *p, @@ -152,14 +105,6 @@ public: const TQStyleOption& = TQStyleOption::Default, const TQWidget *widget = 0 ) const; - // Old API - // DEPRECATED - void drawComplexControlMask( ComplexControl control, - TQPainter *p, - const TQWidget *widget, - const TQRect &r, - const TQStyleOption& = TQStyleOption::Default ) const; - // New API void drawComplexControlMask( ComplexControl control, TQPainter *p, @@ -169,13 +114,6 @@ public: const TQStyleOption& = TQStyleOption::Default, const TQWidget *widget = 0 ) const; - // Old API - // DEPRECATED - TQRect querySubControlMetrics( ComplexControl control, - const TQWidget *widget, - SubControl sc, - const TQStyleOption& = TQStyleOption::Default ) const; - // New API TQRect querySubControlMetrics( ComplexControl control, TQStyleControlElementData ceData, @@ -184,13 +122,6 @@ public: const TQStyleOption& = TQStyleOption::Default, const TQWidget *widget = 0 ) const; - // Old API - // DEPRECATED - SubControl querySubControl( ComplexControl control, - const TQWidget *widget, - const TQPoint &pos, - const TQStyleOption& = TQStyleOption::Default ) const; - // New API SubControl querySubControl( ComplexControl control, TQStyleControlElementData ceData, @@ -199,20 +130,9 @@ public: const TQStyleOption& = TQStyleOption::Default, const TQWidget *widget = 0 ) const; - // Old API - // DEPRECATED - int pixelMetric( PixelMetric m, const TQWidget *widget = 0 ) const; - // New API int pixelMetric( PixelMetric m, TQStyleControlElementData ceData, ControlElementFlags elementFlags, const TQWidget *widget = 0 ) const; - // Old API - // DEPRECATED - TQSize sizeFromContents( ContentsType s, - const TQWidget *widget, - const TQSize &contentsSize, - const TQStyleOption& = TQStyleOption::Default ) const; - // New API TQSize sizeFromContents( ContentsType s, TQStyleControlElementData ceData, @@ -221,19 +141,9 @@ public: const TQStyleOption& = TQStyleOption::Default, const TQWidget *widget = 0 ) const; - // Old API - // DEPRECATED - int styleHint(StyleHint sh, const TQWidget *, const TQStyleOption &, TQStyleHintReturn *) const; - // New API int styleHint(StyleHint sh, TQStyleControlElementData ceData, ControlElementFlags elementFlags, const TQStyleOption &, TQStyleHintReturn *, const TQWidget * w) const; - // Old API - // DEPRECATED - TQPixmap stylePixmap( StylePixmap sp, - const TQWidget *widget = 0, - const TQStyleOption& = TQStyleOption::Default ) const; - // New API TQPixmap stylePixmap( StylePixmap sp, TQStyleControlElementData ceData, |