Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QAbstractFileEngine::FileFlags QAbstractFileEngine::fileFlags ( FileFlags  type = FileInfoAll ) const [virtual]

This function should return the set of OR'd flags that are true for the file engine's file, and that are in the type's OR'd members.

In your reimplementation you can use the type argument as an optimization hint and only return the OR'd set of members that are true and that match those in type; in other words you can ignore any members not mentioned in type, thus avoiding some potentially expensive lookups or system calls.

This virtual function must be reimplemented by all subclasses.

See also:
setFileName()

Reimplemented in QFSFileEngine, and QResourceFileEngine.

Definition at line 610 of file qabstractfileengine.cpp.

Referenced by QFontDatabase::addApplicationFont(), create(), and QFile::permissions().

{
    Q_UNUSED(type);
    return 0;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index