giacomelli.fabio
17th December 2009, 18:50
Hello
I really don't understand how to do this thing :
QTimer::singleShot(1000,this,SLOT(dati("abc")));
QTimer::singleShot(2000,this,SLOT(dati("dfg")));
QTimer::singleShot(2000,this,SLOT(dati("hil")));
void SslClient::dati(QString testo) {
appendString(testo + "\n");
.........
}
obiovusly this is a semplification of what I need to do ...
I found into the forum similar question ( how to pass arguments ) ... but I need a very simple explanation becouse I'm starting now with Qt creator (before I used gambas for linux and it was very simplier :crying: ) and the help didn't clarify my doubt . I think also becouse of my bad english :o
Thank you in advance :p
I really don't understand how to do this thing :
QTimer::singleShot(1000,this,SLOT(dati("abc")));
QTimer::singleShot(2000,this,SLOT(dati("dfg")));
QTimer::singleShot(2000,this,SLOT(dati("hil")));
void SslClient::dati(QString testo) {
appendString(testo + "\n");
.........
}
obiovusly this is a semplification of what I need to do ...
I found into the forum similar question ( how to pass arguments ) ... but I need a very simple explanation becouse I'm starting now with Qt creator (before I used gambas for linux and it was very simplier :crying: ) and the help didn't clarify my doubt . I think also becouse of my bad english :o
Thank you in advance :p