Results 1 to 3 of 3

Thread: changing files lastmodified time

  1. #1
    Join Date
    Jul 2007
    Posts
    35
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question changing files lastmodified time

    Hi all,
    Is there any way changing files last modified time with Qt ? I know we can get lastmodifiedtime with QFileInfo. How can we set or change last modified time?
    Thanks in advance
    Ramazan

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,372
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: changing files lastmodified time

    I understand you are asking if you can change the last modification time to an arbitrary value, correct? Qt doesn't provide facilities for that.

  3. #3
    Join Date
    Jul 2007
    Posts
    35
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: changing files lastmodified time

    Yes i want to set files lastmodified time to any value. i see that Qt doesn't support this:

Similar Threads

  1. How to set the file's date and time.
    By santosh.kumar in forum General Programming
    Replies: 3
    Last Post: 12th October 2007, 11:13
  2. modification time on files
    By soul_rebel in forum Qt Programming
    Replies: 3
    Last Post: 9th August 2007, 20:51
  3. Replies: 6
    Last Post: 17th March 2006, 17:48

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.