Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
45
void 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
read
Method · 0.80
write
Method · 0.80
read
Method · 0.80
write
Method · 0.80
Calls
2
exec
Method · 0.80
start
Method · 0.45
Tested by
no test coverage detected