May 5, 2011

Naouali Naouali
Lab Rat
54 posts

problem with readyread() and QFile

 

Hi
is readyread signal of QIODevice implemented in QFile ? it didn’t work for me ?

3 replies

May 5, 2011

leon.anavi leon.anavi
Mad Scientist
1062 posts

No, just read the documentation about QFile [doc.qt.nokia.com]

Unlike other QIODevice implementations, such as QTcpSocket, QFile does not emit the aboutToClose(), bytesWritten(), or readyRead() signals.

Best regards,
Leon

 Signature 

http://anavi.org/

May 5, 2011

Naouali Naouali
Lab Rat
54 posts

Basically i want to read gps infos from /dev/rfcomm0 . is there a way to do that in Qt ?

May 5, 2011

leon.anavi leon.anavi
Mad Scientist
1062 posts
Naouali wrote:
Basically i want to read gps infos from /dev/rfcomm0 . is there a way to do that in Qt ?

Most probably yes :)

You can also use the Location API which is part of Qt Mobility [doc.qt.nokia.com]

 Signature 

http://anavi.org/

 
  ‹‹ Problem with renderText function in QGLWidget class      QStyledItemDelegate on a QTableView problem ››

You must log in to post a reply. Not a member yet? Register here!