Home · Overviews · Examples 

QUrlInfo Class Reference
[com.trolltech.qt.network module]

The QUrlInfo class stores information about URLs. More...


Detailed Description

The QUrlInfo class stores information about URLs.

The information about a URL that can be retrieved includes name, permissions, owner, group, size, lastModified, lastRead, isDir, isFile, isSymLink, isWritable, isReadable and isExecutable.

You can create your own QUrlInfo objects passing in all the relevant information in the constructor, and you can modify a QUrlInfo; for each getter mentioned above there is an equivalent setter. Note that setting values does not affect the underlying resource that the QUrlInfo provides information about; for example if you call setWritable(true) on a read-only resource the only thing changed is the QUrlInfo object, not the resource.

See also QUrl and FTP Example.


Copyright © 2007 Trolltech Trademarks
Qt Jambi 4.3.2_01