Results 1 to 4 of 4

Thread: How to allow the user to access specific sections of a file in Qt

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2016
    Posts
    5
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Re: How to allow the user to access specific sections of a file in Qt

    Thank you, could you also tell me what i would replace lines 9, 13 , and 18 with.
    Last edited by Nicklax; 7th November 2016 at 01:17.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to allow the user to access specific sections of a file in Qt

    Well, you don't necessarily have to change these lines at all, if you want to:
    getline -> QTextStream::readLine()
    string::find() -> QString::indexOf()

    Cheers,
    _

Similar Threads

  1. Replies: 5
    Last Post: 27th December 2013, 15:27
  2. Replies: 0
    Last Post: 23rd December 2013, 11:13
  3. Applicatins directory - non user specific
    By been_1990 in forum Qt Programming
    Replies: 1
    Last Post: 15th February 2013, 00:49
  4. How to access files from specific folder using QContentSet
    By hrudhay in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 30th June 2008, 19:57
  5. Replies: 4
    Last Post: 19th April 2007, 13:17

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.