src/gui/styles/qmacstyle_mac.h
changeset 37 758a864f9613
parent 18 2f34d5167611
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
    58 #define Q_GUI_EXPORT_STYLE_MAC
    58 #define Q_GUI_EXPORT_STYLE_MAC
    59 #else
    59 #else
    60 #define Q_GUI_EXPORT_STYLE_MAC Q_GUI_EXPORT
    60 #define Q_GUI_EXPORT_STYLE_MAC Q_GUI_EXPORT
    61 #endif
    61 #endif
    62 
    62 
       
    63 class QPushButton;
       
    64 class QStyleOptionButton;
    63 class QMacStylePrivate;
    65 class QMacStylePrivate;
    64 class Q_GUI_EXPORT_STYLE_MAC QMacStyle : public QWindowsStyle
    66 class Q_GUI_EXPORT_STYLE_MAC QMacStyle : public QWindowsStyle
    65 {
    67 {
    66     Q_OBJECT
    68     Q_OBJECT
    67 public:
    69 public:
   131 
   133 
   132 private:
   134 private:
   133     Q_DISABLE_COPY(QMacStyle)
   135     Q_DISABLE_COPY(QMacStyle)
   134 
   136 
   135     QMacStylePrivate *d;
   137     QMacStylePrivate *d;
       
   138 
       
   139     friend bool qt_mac_buttonIsRenderedFlat(const QPushButton *pushButton, const QStyleOptionButton *option);
   136 };
   140 };
   137 
   141 
   138 #endif // Q_WS_MAC
   142 #endif // Q_WS_MAC
   139 
   143 
   140 QT_END_NAMESPACE
   144 QT_END_NAMESPACE