Merge pull request #506 from andrewcsmith/patch-2
[supercollider.git] / QtCollider / style / ProxyStyle.hpp
blob61bad2c48acaff210f1981b05f7ff729aed0736d
1 #ifndef QC_PROXY_STYLE_H
2 #define QC_PROXY_STYLE_H
4 #include <QProxyStyle>
6 namespace QtCollider {
8 class ProxyStyle : public QProxyStyle
10 public:
11 ProxyStyle ( QStyle *style = 0 ) : QProxyStyle(style) { }
13 #ifdef Q_OS_MAC
14 virtual void drawComplexControl ( ComplexControl, const QStyleOptionComplex *,
15 QPainter *, const QWidget * w = 0 ) const;
16 #endif
18 virtual int styleHint ( StyleHint, const QStyleOption * = 0,
19 const QWidget * = 0, QStyleHintReturn * = 0 ) const;
22 } // namespace QtCollider
24 #endif // QC_PROXY_STYLE_H