Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
quicktest_p.h File Reference
#include <QtQuickTest/private/quicktestglobal_p.h>
#include <QtQuickTest/quicktest.h>
#include <QtQml/qqmlpropertymap.h>
#include <QtQml/qqml.h>
+ Include dependency graph for quicktest_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QTestRootObject
 

Functions

bool qWaitForSignal (QObject *obj, const char *signal, int timeout=5000)
 

Function Documentation

◆ qWaitForSignal()

bool qWaitForSignal ( QObject obj,
const char *  signal,
int  timeout = 5000 
)

Definition at line 226 of file quicktest.cpp.

References QEventLoop::AllEvents, QEvent::DeferredDelete, QCoreApplication::processEvents(), QTest::qSleep(), QCoreApplication::sendPostedEvents(), signal, QList< T >::size(), spy, QTimer::start(), and timer.

Referenced by QuickTestResult::waitForRendering().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: