equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the QtGui module of the Qt Toolkit. |
7 ** This file is part of the QtGui module of the Qt Toolkit. |
8 ** |
8 ** |
50 |
50 |
51 QT_MODULE(Gui) |
51 QT_MODULE(Gui) |
52 |
52 |
53 #if !defined(QT_NO_STYLE_S60) |
53 #if !defined(QT_NO_STYLE_S60) |
54 |
54 |
|
55 //Public custom pixel metrics values. |
|
56 //These can be used to fetch custom pixel metric value from outside QS60Style. |
|
57 enum { |
|
58 PM_FrameCornerWidth = QStyle::PM_CustomBase + 1, |
|
59 PM_FrameCornerHeight, |
|
60 PM_BoldLineWidth, |
|
61 PM_ThinLineWidth, |
|
62 PM_MessageBoxHeight |
|
63 }; |
|
64 |
55 class QS60StylePrivate; |
65 class QS60StylePrivate; |
56 |
66 |
57 class Q_GUI_EXPORT QS60Style : public QCommonStyle |
67 class Q_GUI_EXPORT QS60Style : public QCommonStyle |
58 { |
68 { |
59 Q_OBJECT |
69 Q_OBJECT |
92 |
102 |
93 protected Q_SLOTS: |
103 protected Q_SLOTS: |
94 QIcon standardIconImplementation( |
104 QIcon standardIconImplementation( |
95 StandardPixmap standardIcon, const QStyleOption * option = 0, const QWidget * widget = 0 ) const; |
105 StandardPixmap standardIcon, const QStyleOption * option = 0, const QWidget * widget = 0 ) const; |
96 |
106 |
|
107 protected: |
|
108 void timerEvent(QTimerEvent *event); |
|
109 bool eventFilter(QObject *o, QEvent *e); |
97 private: |
110 private: |
98 Q_DISABLE_COPY(QS60Style) |
111 Q_DISABLE_COPY(QS60Style) |
99 friend class QStyleFactory; |
112 friend class QStyleFactory; |
100 friend class QApplicationPrivate; |
113 friend class QApplicationPrivate; |
101 }; |
114 }; |