[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-edu-devel
Subject:    Re: [kde-edu]: Reading int from a string
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2005-05-04 7:30:52
Message-ID: 200505040930.52338.kevin.krammer () gmx ! at
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday 04 May 2005 03:46, Andreas Nicolai wrote:

> The problem is that after reading the last triple the stream is no longer
> "good" (it has the state atEnd()) even though the last triple was
> successfully read. All trials to read the state from the IO_device have
> failed so far. Does anyone know how to solve this problem?

I'd use QStringList to split the string into each number and then=20
QString::toInt on each part to convert to int

Btw, you are posting this question under a totally unrelated thread

Cheers,
Kevin

[Attachment #5 (application/pgp-signature)]

_______________________________________________
kde-edu mailing list
kde-edu@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-edu


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic