MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / pressOrRelease

Method pressOrRelease

gui/qt/keypad/key.h:47–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 }
46 virtual bool isUnder(const QPainterPath &area) const = 0;
47 void pressOrRelease(bool isPress) {
48 if (isPress) {
49 press();
50 } else {
51 release();
52 }
53 }
54 void press() {
55 mSelected = true;
56 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected