The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.
enum | Permission { ReadOwner, WriteOwner, ExeOwner, ReadUser, ..., ExeOther } |
QString | absFilePath () const |
QString | baseName ( bool complete ) |
bool | convertToAbs () |
QDir | dir ( bool absPath ) const |
QString | dirPath ( bool absPath = false ) const |
QString | extension ( bool complete = true ) const |
bool | permission ( PermissionSpec permissions ) const |
Constant | Value |
---|---|
QFileInfo::ReadOwner | QFile::ReadOwner |
QFileInfo::WriteOwner | QFile::WriteOwner |
QFileInfo::ExeOwner | QFile::ExeOwner |
QFileInfo::ReadUser | QFile::ReadUser |
QFileInfo::WriteUser | QFile::WriteUser |
QFileInfo::ExeUser | QFile::ExeUser |
QFileInfo::ReadGroup | QFile::ReadGroup |
QFileInfo::WriteGroup | QFile::WriteGroup |
QFileInfo::ExeGroup | QFile::ExeGroup |
QFileInfo::ReadOther | QFile::ReadOther |
QFileInfo::WriteOther | QFile::WriteOther |
QFileInfo::ExeOther | QFile::ExeOther |
The PermissionSpec type is a typedef for QFlags<Permission>. It stores an OR combination of Permission values.
Use absoluteFilePath() instead.
Use completeBaseName() or the baseName() overload that takes no parameters instead.
Use makeAbsolute() instead.
Use absoluteDir() or the dir() overload that takes no parameters instead.
Use absolutePath() if the absolute path is wanted (absPath is true) or path() if it's not necessary (absPath is false).
Use completeSuffix() or suffix() instead.
Use permission() instead.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.