Welcome! Log In Create A New Profile

Advanced

Copying QString data to Integer type

Posted by tlaks 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
Copying QString data to Integer type
February 27, 2014 02:02PM
Hi,

I'm battling to copy the contents of a QString, which has numeric data to an integer type. How do I accomplish this without converting.
avatar Re: Copying QString data to Integer type
March 01, 2014 01:26PM
Use toInt();

Language: C++
int myint = mystring.toInt();
Sorry, only registered users may post in this forum.

Click here to login