MCPcopy Create free account
hub / github.com/KDAB/GammaRay / selectionChanged

Method selectionChanged

3rdparty/kuserfeedback/core/selectionratiosource.cpp:56–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56void SelectionRatioSourcePrivate::selectionChanged()
57{
58 if (!previousValue.isEmpty() && lastChangeTime.elapsed() > 1000) {
59 ratioSet[previousValue] += lastChangeTime.elapsed() / 1000;
60 }
61
62 lastChangeTime.start();
63 previousValue = selectedValue();
64}
65
66QString SelectionRatioSourcePrivate::selectedValue() const
67{

Callers 3

SelectionRatioSourceMethod · 0.45
dataMethod · 0.45
storeImplMethod · 0.45

Calls 2

isEmptyMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected