KDECore
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.
- Returns:
true
if the requested signal was receivedfalse
on timeout
Definition at line 39 of file qtest_kde.cpp.