Results 1 to 2 of 2

Thread: Qfile and QTextStream

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Posts
    60
    Thanks
    21
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Qfile and QTextStream

    hi,
    whats the advantage of using QTextStream over QFile? i.e i convert to QTextStream (e.g QTextStream in(&file)) and reading the lines, instead of using the Qfile readLine method.

    I use QT4.1.3

    Thank you,

    regards,
    sreedhar
    Last edited by sreedhar; 28th June 2006 at 10:36. Reason: mentioning the version of QT

Similar Threads

  1. QSettings vs (QFile + Qtextstream)
    By nupul in forum Newbie
    Replies: 5
    Last Post: 10th April 2006, 07:26
  2. segfault on qtextstream
    By patcito in forum Qt Programming
    Replies: 13
    Last Post: 26th February 2006, 13:10
  3. qtextstream & qstring
    By mickey in forum Newbie
    Replies: 3
    Last Post: 24th February 2006, 19:18

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.