[Qt-interest] Get a file date of creation and modification

Sean Harmer sean.harmer at maps-technology.com
Wed Jun 10 12:19:27 CEST 2009


Hi,

On Wednesday 10 Jun 2009 11:11:24 Sujan Dasmahapatra wrote:
> Dear Friends
>
> I am creating a file management system where I am getting the file name
> from the QFileDialog. now I have the file name I want to know when the
> file was created when was it last modified. How can I get the
> information from Qt....Plss help me anyone.
QFileInfo::created(), lastModified() etc but read the docs as many filesystems 
do not support all info you are after.

Cheers,

Sean




More information about the Qt-interest-old mailing list