How can i set time out condition in the timer? Duplicated : https://forum.qt.io/topic/138913/qtimer-make-traitement-out-of-for-loop
-
This is my sendFrame function how can i pass it as a slot with its parameter that changes each timeout ?
class MainWindow : public QMainWindow { .... private slots: void sendFrame(QString IdData_R,QString PayloadData_R,int i); }
@imene said in How can i set time out condition in the timer? Duplicated : https://forum.qt.io/topic/138913/qtimer-make-traitement-out-of-for-loop:
how can i pass it as a slot with its parameter that changes each timeout
I already told you how: "You can use a lambda as slot to work around this"...