MCPcopy Create free account
hub / github.com/KDE/labplot / wait

Method wait

tests/CommonTest.cpp:45–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void CommonTest::wait(int milliseconds) {
46 QTimer timer(this);
47 QEventLoop loop;
48 QTimer::connect(&timer, &QTimer::timeout, &loop, &QEventLoop::quit);
49 timer.start(milliseconds);
50 loop.exec();
51}

Callers 4

readMethod · 0.80
writeMethod · 0.80
readMethod · 0.80
writeMethod · 0.80

Calls 2

execMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected