c++ - Qt- How to use connect between incompatible signal and slot -


i trying game. in want call function, function receive point . function should invoked timer's timedout signal. can how achieve this. below required/error code

point p(a,b);  connect(timer,signal(timedout()),this,startdestruction(p)); 

can how achieve this?

create method use intermediate slot, this.

point p(a,b); connect(timer, signal(timedout()), this, q);  q() {     startdestruction(this->p) } 

Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -