43 #include "qdatetime.h" 55 ReadUser = 0400, WriteUser = 0200, ExeUser = 0100,
56 ReadGroup = 0040, WriteGroup = 0020, ExeGroup = 0010,
57 ReadOther = 0004, WriteOther = 0002, ExeOther = 0001 };
70 void setFile(
const QString &file );
71 void setFile(
const QFile & );
73 void setFile(
const QDir &,
const QString &fileName );
78 void setCaching(
bool );
82 #ifndef QT_NO_DIR //### 86 QString extension(
bool complete = TRUE )
const;
88 #ifndef QT_NO_DIR //### 89 QString dirPath(
bool absPath = FALSE )
const;
92 QDir dir(
bool absPath = FALSE )
const;
94 bool isReadable()
const;
95 bool isWritable()
const;
96 bool isExecutable()
const;
98 #ifndef QT_NO_DIR //### 99 bool isRelative()
const;
105 bool isSymLink()
const;
110 uint ownerId()
const;
112 uint groupId()
const;
114 bool permission(
int permissionSpec )
const;
123 static void slashify(
QString & );
124 static void makeAbs(
QString & );
138 #endif // QFILEINFO_H Traverses directory structures and contents in a platform-independent way.
Definition: qdir.h:52
The QString class provides an abstraction of Unicode text and the classic C null-terminated char arra...
Definition: qstring.h:350
Definition: qfiledefs_p.h:262
bool caching() const
Definition: qfileinfo.h:132
The QDateTime class provides date and time functions.
Definition: qdatetime.h:161
The QFile class is an I/O device that operates on files.
Definition: qfile.h:50
The QFileInfo class provides system-independent file information.
Definition: qfileinfo.h:51