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:
trueif the requested signal was receivedfalseon timeout
Definition at line 39 of file qtest_kde.cpp.
KDE 4.2 API Reference