equal
deleted
inserted
replaced
52 // |
52 // |
53 // We mean it. |
53 // We mean it. |
54 // |
54 // |
55 |
55 |
56 #include "QtCore/qbasictimer.h" |
56 #include "QtCore/qbasictimer.h" |
|
57 #include "QtCore/qelapsedtimer.h" |
57 #include "private/qwidget_p.h" |
58 #include "private/qwidget_p.h" |
58 #include "qstyle.h" |
59 #include "qstyle.h" |
59 |
60 |
60 QT_BEGIN_NAMESPACE |
61 QT_BEGIN_NAMESPACE |
61 |
62 |
101 qreal repeatMultiplier; |
102 qreal repeatMultiplier; |
102 |
103 |
103 /** |
104 /** |
104 * The time of when the first auto repeating key press event occurs. |
105 * The time of when the first auto repeating key press event occurs. |
105 */ |
106 */ |
106 QTime firstRepeat; |
107 QElapsedTimer firstRepeat; |
107 |
108 |
108 #endif |
109 #endif |
109 |
110 |
110 inline int effectiveSingleStep() const |
111 inline int effectiveSingleStep() const |
111 { |
112 { |