diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-08-08 01:46:08 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-08-08 01:46:08 -0500 |
commit | 47132557a4c58d4ad69bc2898bb2bd9c424b3b64 (patch) | |
tree | b14ecc4aedaac504892f8ce747b2e61fbc51805c /src/kernel/qstyle.h | |
parent | 846bcc1a238225418cac981aa790b0e6d6cdf495 (diff) | |
download | qt3-47132557a4c58d4ad69bc2898bb2bd9c424b3b64.tar.gz qt3-47132557a4c58d4ad69bc2898bb2bd9c424b3b64.zip |
Remove deprecation attributes from style functions, as they prevent smoke from functioning properly
Diffstat (limited to 'src/kernel/qstyle.h')
-rw-r--r-- | src/kernel/qstyle.h | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/src/kernel/qstyle.h b/src/kernel/qstyle.h index 6978deb..bb2efbc 100644 --- a/src/kernel/qstyle.h +++ b/src/kernel/qstyle.h @@ -52,9 +52,6 @@ #ifndef QT_NO_STYLE -/* DEV ONLY */ -/* #define MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED 1 */ - class QPopupMenu; class QStylePrivate; class QMenuItem; @@ -301,9 +298,6 @@ public: // Old API // DEPRECATED -#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED - __attribute__ ((deprecated)) -#endif virtual void polish( QWidget * ); // New API @@ -311,9 +305,6 @@ public: // Old API // DEPRECATED -#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED - __attribute__ ((deprecated)) -#endif virtual void unPolish( QWidget * ); // New API @@ -321,9 +312,6 @@ public: // Old API // DEPRECATED -#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED - __attribute__ ((deprecated)) -#endif virtual void polish( QApplication * ); // New API @@ -331,9 +319,6 @@ public: // Old API // DEPRECATED -#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED - __attribute__ ((deprecated)) -#endif virtual void unPolish( QApplication * ); // 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, QPainter *p, const QRect &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, QPainter *p, const QWidget *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, QPainter *p, const QWidget *widget, @@ -596,9 +572,6 @@ public: // Old API // DEPRECATED -#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED - __attribute__ ((deprecated)) -#endif virtual QRect subRect( SubRect r, const QWidget *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, QPainter *p, const QWidget *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, QPainter *p, const QWidget *widget, @@ -723,9 +690,6 @@ public: // Old API // DEPRECATED -#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED - __attribute__ ((deprecated)) -#endif virtual QRect querySubControlMetrics( ComplexControl control, const QWidget *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 QWidget *widget, const QPoint &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 QWidget *widget = 0 ) const = 0; @@ -867,9 +825,6 @@ public: // Old API // DEPRECATED -#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED - __attribute__ ((deprecated)) -#endif virtual QSize sizeFromContents( ContentsType contents, const QWidget *widget, const QSize &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 QWidget *widget = 0, const QStyleOption& = QStyleOption::Default, @@ -1071,9 +1023,6 @@ public: // Old API // DEPRECATED -#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED - __attribute__ ((deprecated)) -#endif virtual QPixmap stylePixmap( StylePixmap stylepixmap, const QWidget *widget = 0, const QStyleOption& = QStyleOption::Default ) const = 0; @@ -1087,9 +1036,6 @@ public: // Old API // DEPRECATED -#ifdef MARK_OLD_VIRTUAL_STYLE_API_CALLS_DEPRECATED - __attribute__ ((deprecated)) -#endif static QRect visualRect( const QRect &logical, const QWidget *w ); // New API |