summaryrefslogtreecommitdiffstats
path: root/src/kernel/qstyle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qstyle.h')
-rw-r--r--src/kernel/qstyle.h22
1 files changed, 3 insertions, 19 deletions
diff --git a/src/kernel/qstyle.h b/src/kernel/qstyle.h
index c38f403..be23340 100644
--- a/src/kernel/qstyle.h
+++ b/src/kernel/qstyle.h
@@ -1189,25 +1189,9 @@ public:
// Old 2.x QStyle API
#ifndef QT_NO_COMPAT
- int defaultFrameWidth() const
- {
- QStyleControlElementData ceData;
- return pixelMetric( PM_DefaultFrameWidth, ceData, CEF_None );
- }
- void tabbarMetrics( const QWidget* t,
- int& hf, int& vf, int& ov ) const
- {
- QStyleControlElementData ceData;
- hf = pixelMetric( PM_TabBarTabHSpace, ceData, CEF_None, t );
- vf = pixelMetric( PM_TabBarTabVSpace, ceData, CEF_None, t );
- ov = pixelMetric( PM_TabBarBaseOverlap, ceData, CEF_None, t );
- }
- QSize scrollBarExtent() const
- {
- QStyleControlElementData ceData;
- return QSize(pixelMetric(PM_ScrollBarExtent, ceData, CEF_None),
- pixelMetric(PM_ScrollBarExtent, ceData, CEF_None));
- }
+ int defaultFrameWidth() const;
+ void tabbarMetrics( const QWidget* t, int& hf, int& vf, int& ov ) const;
+ QSize scrollBarExtent() const;
#endif
public: