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 :-)
 PPPP   K  K  PPPP   W     W  W     W 
P P K K P P W W W W
PPPP KK PPPP W W W W W W
P K K P W W W W W W
P K K P W W W W