Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QExtendedInformation Class Reference

#include <qfileinfogatherer_p.h>

+ Collaboration diagram for QExtendedInformation:

Public Types

enum  Type { Dir , File , System }
 

Public Member Functions

 QExtendedInformation ()
 
 QExtendedInformation (const QFileInfo &info)
 
bool isDir ()
 
bool isFile ()
 
bool isSystem ()
 
bool operator== (const QExtendedInformation &fileInfo) const
 
bool isCaseSensitive () const
 
QFile::Permissions permissions () const
 
Type type () const
 
bool isSymLink (bool ignoreNtfsSymLinks=false) const
 
bool isHidden () const
 
QFileInfo fileInfo () const
 
QDateTime lastModified (const QTimeZone &tz) const
 
qint64 size () const
 

Public Attributes

QString displayType
 
QIcon icon
 

Detailed Description

Definition at line 40 of file qfileinfogatherer_p.h.

Member Enumeration Documentation

◆ Type

Enumerator
Dir 
File 
System 

Definition at line 42 of file qfileinfogatherer_p.h.

Constructor & Destructor Documentation

◆ QExtendedInformation() [1/2]

QExtendedInformation::QExtendedInformation ( )
inline

Definition at line 44 of file qfileinfogatherer_p.h.

◆ QExtendedInformation() [2/2]

QExtendedInformation::QExtendedInformation ( const QFileInfo & info)
inline

Definition at line 45 of file qfileinfogatherer_p.h.

Member Function Documentation

◆ fileInfo()

QFileInfo QExtendedInformation::fileInfo ( ) const
inline

Definition at line 95 of file qfileinfogatherer_p.h.

Referenced by operator==(), and QFileSystemModelPrivate::QFileSystemNode::populate().

+ Here is the caller graph for this function:

◆ isCaseSensitive()

bool QExtendedInformation::isCaseSensitive ( ) const
inline

Definition at line 59 of file qfileinfogatherer_p.h.

References QFileSystemEngine::isCaseSensitive().

+ Here is the call graph for this function:

◆ isDir()

bool QExtendedInformation::isDir ( )
inline

Definition at line 47 of file qfileinfogatherer_p.h.

References Dir, and type().

+ Here is the call graph for this function:

◆ isFile()

bool QExtendedInformation::isFile ( )
inline

Definition at line 48 of file qfileinfogatherer_p.h.

References File, and type().

+ Here is the call graph for this function:

◆ isHidden()

bool QExtendedInformation::isHidden ( ) const
inline

Definition at line 91 of file qfileinfogatherer_p.h.

References QFileInfo::isHidden().

+ Here is the call graph for this function:

◆ isSymLink()

bool QExtendedInformation::isSymLink ( bool ignoreNtfsSymLinks = false) const
inline

Definition at line 81 of file qfileinfogatherer_p.h.

References Qt::CaseInsensitive, QString::compare(), QFileInfo::isSymLink(), and QFileInfo::suffix().

+ Here is the call graph for this function:

◆ isSystem()

bool QExtendedInformation::isSystem ( )
inline

Definition at line 49 of file qfileinfogatherer_p.h.

References System, and type().

+ Here is the call graph for this function:

◆ lastModified()

QDateTime QExtendedInformation::lastModified ( const QTimeZone & tz) const
inline

Definition at line 99 of file qfileinfogatherer_p.h.

References QFileInfo::lastModified().

Referenced by operator==().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator==()

bool QExtendedInformation::operator== ( const QExtendedInformation & fileInfo) const
inline

Definition at line 51 of file qfileinfogatherer_p.h.

References displayType, fileInfo(), QFileInfo::lastModified(), lastModified(), QFileInfo::permissions(), permissions(), and QTimeZone::UTC.

+ Here is the call graph for this function:

◆ permissions()

QFile::Permissions QExtendedInformation::permissions ( ) const
inline

Definition at line 64 of file qfileinfogatherer_p.h.

References QFileInfo::permissions().

Referenced by operator==().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ size()

qint64 QExtendedInformation::size ( ) const
inline

Definition at line 103 of file qfileinfogatherer_p.h.

References Dir, QFileInfo::exists(), File, QFileInfo::isSymLink(), QFileInfo::size(), size(), and type().

Referenced by size().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ type()

Type QExtendedInformation::type ( ) const
inline

Definition at line 68 of file qfileinfogatherer_p.h.

References Dir, QFileInfo::exists(), File, QFileInfo::isDir(), QFileInfo::isFile(), QFileInfo::isSymLink(), and System.

Referenced by isDir(), isFile(), isSystem(), and size().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ displayType

QString QExtendedInformation::displayType

Definition at line 114 of file qfileinfogatherer_p.h.

Referenced by operator==().

◆ icon

QIcon QExtendedInformation::icon

Definition at line 115 of file qfileinfogatherer_p.h.


The documentation for this class was generated from the following file: