int QApplicationPrivate::keyboard_input_time = 400; // keyboard input interval
#ifndef QT_NO_WHEELEVENT
int QApplicationPrivate::wheel_scroll_lines = 3; // number of lines to scroll
-#else
-int QApplicationPrivate::wheel_scroll_lines = 0;
#endif
bool qt_in_tab_key_event = false;
static int drag_time = 500;
ui->doubleClickIntervalSpinBox->setValue(QApplication::doubleClickInterval());
ui->cursorFlashTimeSpinBox->setValue(QApplication::cursorFlashTime());
+#ifndef QT_NO_WHEELEVENT
ui->wheelScrollLinesSpinBox->setValue(QApplication::wheelScrollLines());
+#else // QT_NO_WHEELEVENT
+ ui->wheelScrollLinesLabel->hide();
+ ui->wheelScrollLinesSpinBox->hide();
+#endif // QT_NO_WHEELEVENT
// #############
// resolveLinksCheckBox->setChecked(qt_resolve_symlinks);
void tst_QAbstractSlider::wheelEvent()
{
+#ifndef QT_NO_WHEELEVENT
QFETCH(int,initialSliderPosition);
QFETCH(int,minimum);
QFETCH(int,maximum);
QCOMPARE(spy2.count(), expectedSignalCount);
if (expectedSignalCount)
QVERIFY(actionTriggeredTimeStamp < valueChangedTimeStamp);
+#else // QT_NO_WHEELEVENT
+ QSKIP("Katie compiled without wheel event support (QT_NO_WHEELEVENT)", SkipAll);
+#endif // QT_NO_WHEELEVENT
}
void tst_QAbstractSlider::sliderPressedReleased_data()