summaryrefslogtreecommitdiffstats
path: root/src/styles/qcompactstyle.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-08-05 01:00:53 -0500
committerTimothy Pearson <[email protected]>2012-08-05 01:00:53 -0500
commit0008bc5bcd95694b38b0d0322aac2ea6fdb21298 (patch)
treee36a2a63a9784451af847fc952b281969cb8c0c0 /src/styles/qcompactstyle.h
parentebcb1d80bf517aceb69778e1e9f67e5f4da8c484 (diff)
downloadqt3-0008bc5bcd95694b38b0d0322aac2ea6fdb21298.tar.gz
qt3-0008bc5bcd95694b38b0d0322aac2ea6fdb21298.zip
Update style API to function without an active widget object
Diffstat (limited to 'src/styles/qcompactstyle.h')
-rw-r--r--src/styles/qcompactstyle.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/styles/qcompactstyle.h b/src/styles/qcompactstyle.h
index ea27cb4..2f9748b 100644
--- a/src/styles/qcompactstyle.h
+++ b/src/styles/qcompactstyle.h
@@ -58,10 +58,10 @@ class Q_EXPORT_STYLE_COMPACT QCompactStyle : public QWindowsStyle
public:
QCompactStyle();
- int pixelMetric( PixelMetric metric, const QWidget *widget = 0 );
+ int pixelMetric( PixelMetric metric, QStyleControlElementData ceData, ControlElementFlags elementFlags, const QWidget *widget = 0 );
- void drawControl( ControlElement element, QPainter *p, const QWidget *w, const QRect &r,
- const QColorGroup &cg, SFlags how = Style_Default, const QStyleOption& = QStyleOption::Default );
+ void drawControl( ControlElement element, QPainter *p, QStyleControlElementData ceData, ControlElementFlags elementFlags, const QRect &r,
+ const QColorGroup &cg, SFlags how = Style_Default, const QStyleOption& = QStyleOption::Default, const QWidget *w = 0 );
private: // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)