summaryrefslogtreecommitdiffstats
path: root/src/styles/ntqcommonstyle.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-08-08 17:42:40 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-08-08 17:42:40 -0500
commitb6053b1b40b51e3d9b1b679a8a1751e5472e06e2 (patch)
treea327afc6092b7c368e80e6b79dccbfd80a1567b3 /src/styles/ntqcommonstyle.h
parent43db215f601fd50f1fd8b502fae30c75c1bdee4a (diff)
downloadtqt3-b6053b1b40b51e3d9b1b679a8a1751e5472e06e2.tar.gz
tqt3-b6053b1b40b51e3d9b1b679a8a1751e5472e06e2.zip
Automated update from Qt3
Diffstat (limited to 'src/styles/ntqcommonstyle.h')
-rw-r--r--src/styles/ntqcommonstyle.h90
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,