Results 1 to 9 of 9

Thread: How to get reference to a file?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2008
    Location
    Istanbul, TURKEY
    Posts
    537
    Qt products
    Qt4
    Platforms
    Windows Android
    Thanks
    14
    Thanked 13 Times in 13 Posts

    Default How to get reference to a file?

    Hi,

    I have a process that creates a file in the application path. I need to get a reference to this file in order to flush or close it.

    Making only;

    Qt Code:
    1. QFile myFile(nameOfTheFileIwantToRefer);
    To copy to clipboard, switch view to plain text mode 

    would be enough?
    Last edited by zgulser; 20th June 2012 at 13:34.

Similar Threads

  1. undefined reference
    By digidas in forum Newbie
    Replies: 9
    Last Post: 19th May 2010, 13:04
  2. How can Stylesheet reference non resource image file
    By dpatel in forum Qt Programming
    Replies: 1
    Last Post: 23rd April 2010, 08:41
  3. Reference to ui
    By Phalanx in forum Qt Programming
    Replies: 7
    Last Post: 22nd April 2010, 15:58
  4. undefined reference
    By jayreddy in forum Qt Programming
    Replies: 1
    Last Post: 20th November 2009, 13:45
  5. Pass by reference
    By vermarajeev in forum General Programming
    Replies: 6
    Last Post: 20th July 2007, 14:53

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.