|
|
|
@ -52,9 +52,6 @@
|
|
|
|
|
|
|
|
|
|
#ifndef QT_NO_STYLE
|
|
|
|
|
|
|
|
|
|
/* DEV ONLY */
|
|
|
|
|
/* #define MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED 1 */
|
|
|
|
|
|
|
|
|
|
class TQPopupMenu;
|
|
|
|
|
class TQStylePrivate;
|
|
|
|
|
class TQMenuItem;
|
|
|
|
@ -301,9 +298,6 @@ public:
|
|
|
|
|
|
|
|
|
|
// Old API
|
|
|
|
|
// DEPRECATED
|
|
|
|
|
#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED
|
|
|
|
|
__attribute__ ((deprecated))
|
|
|
|
|
#endif
|
|
|
|
|
virtual void polish( TQWidget * );
|
|
|
|
|
|
|
|
|
|
// New API
|
|
|
|
@ -311,9 +305,6 @@ public:
|
|
|
|
|
|
|
|
|
|
// Old API
|
|
|
|
|
// DEPRECATED
|
|
|
|
|
#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED
|
|
|
|
|
__attribute__ ((deprecated))
|
|
|
|
|
#endif
|
|
|
|
|
virtual void unPolish( TQWidget * );
|
|
|
|
|
|
|
|
|
|
// New API
|
|
|
|
@ -321,9 +312,6 @@ public:
|
|
|
|
|
|
|
|
|
|
// Old API
|
|
|
|
|
// DEPRECATED
|
|
|
|
|
#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED
|
|
|
|
|
__attribute__ ((deprecated))
|
|
|
|
|
#endif
|
|
|
|
|
virtual void polish( TQApplication * );
|
|
|
|
|
|
|
|
|
|
// New API
|
|
|
|
@ -331,9 +319,6 @@ public:
|
|
|
|
|
|
|
|
|
|
// Old API
|
|
|
|
|
// DEPRECATED
|
|
|
|
|
#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED
|
|
|
|
|
__attribute__ ((deprecated))
|
|
|
|
|
#endif
|
|
|
|
|
virtual void unPolish( TQApplication * );
|
|
|
|
|
|
|
|
|
|
// New API
|
|
|
|
@ -455,9 +440,6 @@ public:
|
|
|
|
|
|
|
|
|
|
// Old API
|
|
|
|
|
// DEPRECATED
|
|
|
|
|
#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED
|
|
|
|
|
__attribute__ ((deprecated))
|
|
|
|
|
#endif
|
|
|
|
|
virtual void drawPrimitive( PrimitiveElement pe,
|
|
|
|
|
TQPainter *p,
|
|
|
|
|
const TQRect &r,
|
|
|
|
@ -512,9 +494,6 @@ public:
|
|
|
|
|
|
|
|
|
|
// Old API
|
|
|
|
|
// DEPRECATED
|
|
|
|
|
#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED
|
|
|
|
|
__attribute__ ((deprecated))
|
|
|
|
|
#endif
|
|
|
|
|
virtual void drawControl( ControlElement element,
|
|
|
|
|
TQPainter *p,
|
|
|
|
|
const TQWidget *widget,
|
|
|
|
@ -536,9 +515,6 @@ public:
|
|
|
|
|
|
|
|
|
|
// Old API
|
|
|
|
|
// DEPRECATED
|
|
|
|
|
#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED
|
|
|
|
|
__attribute__ ((deprecated))
|
|
|
|
|
#endif
|
|
|
|
|
virtual void drawControlMask( ControlElement element,
|
|
|
|
|
TQPainter *p,
|
|
|
|
|
const TQWidget *widget,
|
|
|
|
@ -596,9 +572,6 @@ public:
|
|
|
|
|
|
|
|
|
|
// Old API
|
|
|
|
|
// DEPRECATED
|
|
|
|
|
#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED
|
|
|
|
|
__attribute__ ((deprecated))
|
|
|
|
|
#endif
|
|
|
|
|
virtual TQRect subRect( SubRect r, const TQWidget *widget ) const = 0;
|
|
|
|
|
|
|
|
|
|
// New API
|
|
|
|
@ -668,9 +641,6 @@ public:
|
|
|
|
|
|
|
|
|
|
// Old API
|
|
|
|
|
// DEPRECATED
|
|
|
|
|
#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED
|
|
|
|
|
__attribute__ ((deprecated))
|
|
|
|
|
#endif
|
|
|
|
|
virtual void drawComplexControl( ComplexControl control,
|
|
|
|
|
TQPainter *p,
|
|
|
|
|
const TQWidget *widget,
|
|
|
|
@ -703,9 +673,6 @@ public:
|
|
|
|
|
|
|
|
|
|
// Old API
|
|
|
|
|
// DEPRECATED
|
|
|
|
|
#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED
|
|
|
|
|
__attribute__ ((deprecated))
|
|
|
|
|
#endif
|
|
|
|
|
virtual void drawComplexControlMask( ComplexControl control,
|
|
|
|
|
TQPainter *p,
|
|
|
|
|
const TQWidget *widget,
|
|
|
|
@ -723,9 +690,6 @@ public:
|
|
|
|
|
|
|
|
|
|
// Old API
|
|
|
|
|
// DEPRECATED
|
|
|
|
|
#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED
|
|
|
|
|
__attribute__ ((deprecated))
|
|
|
|
|
#endif
|
|
|
|
|
virtual TQRect querySubControlMetrics( ComplexControl control,
|
|
|
|
|
const TQWidget *widget,
|
|
|
|
|
SubControl sc,
|
|
|
|
@ -741,9 +705,6 @@ public:
|
|
|
|
|
|
|
|
|
|
// Old API
|
|
|
|
|
// DEPRECATED
|
|
|
|
|
#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED
|
|
|
|
|
__attribute__ ((deprecated))
|
|
|
|
|
#endif
|
|
|
|
|
virtual SubControl querySubControl( ComplexControl control,
|
|
|
|
|
const TQWidget *widget,
|
|
|
|
|
const TQPoint &pos,
|
|
|
|
@ -828,9 +789,6 @@ public:
|
|
|
|
|
|
|
|
|
|
// Old API
|
|
|
|
|
// DEPRECATED
|
|
|
|
|
#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED
|
|
|
|
|
__attribute__ ((deprecated))
|
|
|
|
|
#endif
|
|
|
|
|
virtual int pixelMetric( PixelMetric metric,
|
|
|
|
|
const TQWidget *widget = 0 ) const = 0;
|
|
|
|
|
|
|
|
|
@ -867,9 +825,6 @@ public:
|
|
|
|
|
|
|
|
|
|
// Old API
|
|
|
|
|
// DEPRECATED
|
|
|
|
|
#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED
|
|
|
|
|
__attribute__ ((deprecated))
|
|
|
|
|
#endif
|
|
|
|
|
virtual TQSize sizeFromContents( ContentsType contents,
|
|
|
|
|
const TQWidget *widget,
|
|
|
|
|
const TQSize &contentsSize,
|
|
|
|
@ -1033,9 +988,6 @@ public:
|
|
|
|
|
|
|
|
|
|
// Old API
|
|
|
|
|
// DEPRECATED
|
|
|
|
|
#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED
|
|
|
|
|
__attribute__ ((deprecated))
|
|
|
|
|
#endif
|
|
|
|
|
virtual int styleHint( StyleHint stylehint,
|
|
|
|
|
const TQWidget *widget = 0,
|
|
|
|
|
const TQStyleOption& = TQStyleOption::Default,
|
|
|
|
@ -1071,9 +1023,6 @@ public:
|
|
|
|
|
|
|
|
|
|
// Old API
|
|
|
|
|
// DEPRECATED
|
|
|
|
|
#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED
|
|
|
|
|
__attribute__ ((deprecated))
|
|
|
|
|
#endif
|
|
|
|
|
virtual TQPixmap stylePixmap( StylePixmap stylepixmap,
|
|
|
|
|
const TQWidget *widget = 0,
|
|
|
|
|
const TQStyleOption& = TQStyleOption::Default ) const = 0;
|
|
|
|
@ -1087,9 +1036,6 @@ public:
|
|
|
|
|
|
|
|
|
|
// Old API
|
|
|
|
|
// DEPRECATED
|
|
|
|
|
#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED
|
|
|
|
|
__attribute__ ((deprecated))
|
|
|
|
|
#endif
|
|
|
|
|
static TQRect visualRect( const TQRect &logical, const TQWidget *w );
|
|
|
|
|
|
|
|
|
|
// New API
|
|
|
|
|