45 #include <QtTest/qtestcase.h> 46 #include <QtCore/qcoreapplication.h> 47 #include <QtCore/qelapsedtimer.h> 62 inline static void qWait(
int ms)
79 #elif defined(Q_WS_QWS) #define QT_END_NAMESPACE
This macro expands to.
static bool qWaitForWindowShown(QWidget *window)
The QElapsedTimer class provides a fast way to calculate elapsed times.
qint64 elapsed() const
Returns the number of milliseconds since this QElapsedTimer was last started.
static void processEvents(QEventLoop::ProcessEventsFlags flags=QEventLoop::AllEvents)
Processes all pending events for the calling thread according to the specified flags until there are ...
#define QT_BEGIN_NAMESPACE
This macro expands to.
static void qWait(int ms)
Waits for ms milliseconds.
static QCoreApplication * instance()
Returns a pointer to the application's QCoreApplication (or QApplication) instance.
void qt_x11_wait_for_window_manager(QWidget *w)
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
void start()
Starts this timer.
The QTest namespace contains all the functions and declarations that are related to the QTestLib tool...
Q_TESTLIB_EXPORT void qSleep(int ms)
Sleeps for ms milliseconds, blocking execution of the test.