Remove Q_WS macros from qwidget-test.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Thu, 19 Apr 2012 12:14:46 +0000 (14:14 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 19 Apr 2012 17:46:07 +0000 (19:46 +0200)
commit7f533cdd4ac74f6c551f2e484a712fd3b5f8daec
treeb9b9962e1e7529d6931d28699b7bdd83ccde5db3
parenta6156d1aedaba720fe4618828609dbae931af313
Remove Q_WS macros from qwidget-test.

- Remove Q_WS-ifdefed sections and switch by platform name instead.
- Remove Q_OS_IRIX and Q_WS_QWS conditionals
- Fix deprecated QPixmap::grabWidget(), QPixmap::grabWindow()
  calls.
- Use QTest::qWaitForWindowShown() instead of
  qt_x11_wait_for_window_manager().
- Rewrite some platform-specific code using QPA interfaces.

Change-Id: I29ce4c4f3e5c05edddfd018dc2eabdd77738eb23
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp