View Single Post
d-iivil's Avatar
Posts: 2,154 | Thanked: 2,186 times | Joined on Dec 2009 @ Hellsinki, Finland
#131
Originally Posted by Berserk View Post
What do you not understand exactly?

In the example they don't use QTextStream::readLine(), they use QFile::readLine(), which is inherited from QIODevice.

The difference is that QTextStream::readLine() returns a QString and QFile::readLine() returns a qint64 (QByteArray in the example), but I don't know anything about qint64 or QByteArrays, so I'll stick with QTextStrem::readLine()
I understand it now, but when I first checked the example and didn't have a glue that I should use file.open I didn't pay attention to the example enough

Anyways... next "problem" is to read gconf -values and since Qt Creator doesn't support it natively and documentation is really poor on that area, I think I'm gonna have no spare time problems this weekend...
__________________
If you're rich and you think I deserve a cold beer, you may donate one or two :-P

80's style stadium rock is back - FIRENOTE
Hi-Octane heavy metal - FORCE MAJEURE