QTest Namespace Reference
Functions | |
| bool | kWaitForSignal (QObject *obj, const char *signal, int timeout=0) |
Function Documentation
| bool QTest::kWaitForSignal | ( | QObject * | obj, |
| const char * | signal, | ||
| int | timeout = 0 |
||
| ) |
Starts an event loop that runs until the given signal is received.
Optionally the event loop can return earlier on a timeout.
- Parameters:
-
timeout the timeout in milliseconds
- Returns:
trueif the requested signal was receivedfalseon timeout
Definition at line 57 of file qtest_kde.cpp.
KDE 4.7 API Reference