Ajouter un commentaire

K-lo

La méthode QLineEdit::text() retourne un QString
et dans la classe QString il existe la méthode
int toInt ( bool * ok = 0, int base = 10 ) const

leqlineedit->text().toInt();

Filtered HTML

Plain text

CAPTCHA
Cette question permet de vérifier que vous n'êtes pas un robot spammeur :-)
 M   M  U   U   GGG   L     V     V 
MM MM U U G L V V
M M M U U G GG L V V
M M U U G G L V V
M M UUU GGG LLLL V