MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / SetCallback

Method SetCallback

DSView/pv/dstimer.cpp:68–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68void DsTimer::SetCallback(CALLBACL_FUNC f)
69 {
70 _call = f;
71
72 if(!_binded){
73 _binded = true;
74 connect(&_timer, SIGNAL(timeout()), this, SLOT(on_timeout()));
75 }
76 }
77
78 void DsTimer::Start(int millsec)
79 {

Callers 3

SigSessionMethod · 0.45
setup_uiMethod · 0.45
WinNativeWidgetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected