Remove qWaitForWindowShown(QWindow*) overload.

The QWindow* overload was introduced for Qt 5.0, but is unused already.

Change-Id: Ic07f19eac87bc93a589017407668760fceb2f632
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
This commit is contained in:
Stephen Kelly 2012-08-22 11:24:15 +02:00 committed by Qt by Nokia
parent 41ca2b4453
commit e9bc07c4f2
2 changed files with 0 additions and 18 deletions

View File

@ -881,18 +881,6 @@ QT_BEGIN_NAMESPACE
\sa QTest::qWaitForWindowExposed(), QWindow::isActive()
*/
/*! \fn bool QTest::qWaitForWindowShown(QWindow *window, int timeout)
\since 5.0
\deprecated
Waits for \a timeout milliseconds or until the \a window is exposed.
Returns true if \c window is exposed within \a timeout milliseconds, otherwise returns false.
This function does the same as qWaitForWindowExposed().
\sa QTest::qWaitForWindowActive(), QTest::qWaitForWindowExposed()
*/
/*! \fn bool QTest::qWaitForWindowExposed(QWidget *widget, int timeout)
\since 5.0

View File

@ -129,12 +129,6 @@ namespace QTest
}
#endif
#if QT_DEPRECATED_SINCE(5, 0)
QT_DEPRECATED inline static bool qWaitForWindowShown(QWindow *window, int timeout = 1000)
{
return qWaitForWindowExposed(window, timeout);
}
#endif // QT_DEPRECATED_SINCE(5, 0)
#if QT_DEPRECATED_SINCE(6, 0)
# ifdef QT_WIDGETS_LIB
QT_DEPRECATED inline static bool qWaitForWindowShown(QWidget *widget, int timeout = 1000)