Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QFileSystemModelPrivate::QFileSystemNode Class Reference

#include <qfilesystemmodel_p.h>

Collaboration diagram for QFileSystemModelPrivate::QFileSystemNode:

Public Member Functions

 QFileSystemNode (const QString &filename=QString(), QFileSystemNode *p=nullptr)
 ~QFileSystemNode ()
qint64 size () const
QString type () const
QDateTime lastModified (const QTimeZone &tz) const
QFile::Permissions permissions () const
bool isReadable () const
bool isWritable () const
bool isExecutable () const
bool isDir () const
QFileInfo fileInfo () const
bool isFile () const
bool isSystem () const
bool isHidden () const
bool isSymLink (bool ignoreNtfsSymLinks=false) const
bool caseSensitive () const
QIcon icon () const
bool operator< (const QFileSystemNode &node) const
bool operator> (const QString &name) const
bool operator< (const QString &name) const
bool operator!= (const QExtendedInformation &fileInfo) const
bool operator== (const QString &name) const
bool operator== (const QExtendedInformation &fileInfo) const
bool hasInformation () const
void populate (const QExtendedInformation &fileInfo)
int visibleLocation (const QString &childName)
void updateIcon (QAbstractFileIconProvider *iconProvider, const QString &path)
void retranslateStrings (QAbstractFileIconProvider *iconProvider, const QString &path)

Public Attributes

QString fileName
QHash< QFileSystemModelNodePathKey, QFileSystemNode * > children
QList< QStringvisibleChildren
QExtendedInformationinfo = nullptr
QFileSystemNodeparent
int dirtyChildrenIndex = -1
bool populatedChildren = false
bool isVisible = false

Detailed Description

Definition at line 74 of file qfilesystemmodel_p.h.

Constructor & Destructor Documentation

◆ QFileSystemNode()

QFileSystemModelPrivate::QFileSystemNode::QFileSystemNode ( const QString & filename = QString(),
QFileSystemNode * p = nullptr )
inlineexplicit

Definition at line 79 of file qfilesystemmodel_p.h.

◆ ~QFileSystemNode()

QFileSystemModelPrivate::QFileSystemNode::~QFileSystemNode ( )
inline

Definition at line 81 of file qfilesystemmodel_p.h.

Member Function Documentation

◆ caseSensitive()

bool QFileSystemModelPrivate::QFileSystemNode::caseSensitive ( ) const
inline

Definition at line 110 of file qfilesystemmodel_p.h.

◆ fileInfo()

QFileInfo QFileSystemModelPrivate::QFileSystemNode::fileInfo ( ) const
inline

Definition at line 105 of file qfilesystemmodel_p.h.

◆ hasInformation()

bool QFileSystemModelPrivate::QFileSystemNode::hasInformation ( ) const
inline

Definition at line 140 of file qfilesystemmodel_p.h.

◆ icon()

QIcon QFileSystemModelPrivate::QFileSystemNode::icon ( ) const
inline

Definition at line 111 of file qfilesystemmodel_p.h.

◆ isDir()

bool QFileSystemModelPrivate::QFileSystemNode::isDir ( ) const
inline

Definition at line 98 of file qfilesystemmodel_p.h.

◆ isExecutable()

bool QFileSystemModelPrivate::QFileSystemNode::isExecutable ( ) const
inline

Definition at line 97 of file qfilesystemmodel_p.h.

◆ isFile()

bool QFileSystemModelPrivate::QFileSystemNode::isFile ( ) const
inline

Definition at line 106 of file qfilesystemmodel_p.h.

◆ isHidden()

bool QFileSystemModelPrivate::QFileSystemNode::isHidden ( ) const
inline

Definition at line 108 of file qfilesystemmodel_p.h.

◆ isReadable()

bool QFileSystemModelPrivate::QFileSystemNode::isReadable ( ) const
inline

Definition at line 95 of file qfilesystemmodel_p.h.

◆ isSymLink()

bool QFileSystemModelPrivate::QFileSystemNode::isSymLink ( bool ignoreNtfsSymLinks = false) const
inline

Definition at line 109 of file qfilesystemmodel_p.h.

◆ isSystem()

bool QFileSystemModelPrivate::QFileSystemNode::isSystem ( ) const
inline

Definition at line 107 of file qfilesystemmodel_p.h.

◆ isWritable()

bool QFileSystemModelPrivate::QFileSystemNode::isWritable ( ) const
inline

Definition at line 96 of file qfilesystemmodel_p.h.

◆ lastModified()

QDateTime QFileSystemModelPrivate::QFileSystemNode::lastModified ( const QTimeZone & tz) const
inline

Definition at line 93 of file qfilesystemmodel_p.h.

◆ operator!=()

bool QFileSystemModelPrivate::QFileSystemNode::operator!= ( const QExtendedInformation & fileInfo) const
inline

Definition at line 128 of file qfilesystemmodel_p.h.

◆ operator<() [1/2]

bool QFileSystemModelPrivate::QFileSystemNode::operator< ( const QFileSystemNode & node) const
inline

Definition at line 113 of file qfilesystemmodel_p.h.

◆ operator<() [2/2]

bool QFileSystemModelPrivate::QFileSystemNode::operator< ( const QString & name) const
inline

Definition at line 123 of file qfilesystemmodel_p.h.

◆ operator==() [1/2]

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

Definition at line 136 of file qfilesystemmodel_p.h.

◆ operator==() [2/2]

bool QFileSystemModelPrivate::QFileSystemNode::operator== ( const QString & name) const
inline

Definition at line 131 of file qfilesystemmodel_p.h.

◆ operator>()

bool QFileSystemModelPrivate::QFileSystemNode::operator> ( const QString & name) const
inline

Definition at line 118 of file qfilesystemmodel_p.h.

◆ permissions()

QFile::Permissions QFileSystemModelPrivate::QFileSystemNode::permissions ( ) const
inline

Definition at line 94 of file qfilesystemmodel_p.h.

◆ populate()

void QFileSystemModelPrivate::QFileSystemNode::populate ( const QExtendedInformation & fileInfo)
inline

Definition at line 142 of file qfilesystemmodel_p.h.

◆ retranslateStrings()

void QFileSystemModelPrivate::QFileSystemNode::retranslateStrings ( QAbstractFileIconProvider * iconProvider,
const QString & path )
inline

Definition at line 171 of file qfilesystemmodel_p.h.

◆ size()

qint64 QFileSystemModelPrivate::QFileSystemNode::size ( ) const
inline

Definition at line 91 of file qfilesystemmodel_p.h.

◆ type()

QString QFileSystemModelPrivate::QFileSystemNode::type ( ) const
inline

Definition at line 92 of file qfilesystemmodel_p.h.

◆ updateIcon()

void QFileSystemModelPrivate::QFileSystemNode::updateIcon ( QAbstractFileIconProvider * iconProvider,
const QString & path )
inline

Definition at line 152 of file qfilesystemmodel_p.h.

◆ visibleLocation()

int QFileSystemModelPrivate::QFileSystemNode::visibleLocation ( const QString & childName)
inline

Definition at line 149 of file qfilesystemmodel_p.h.

Member Data Documentation

◆ children

QHash<QFileSystemModelNodePathKey, QFileSystemNode *> QFileSystemModelPrivate::QFileSystemNode::children

Definition at line 189 of file qfilesystemmodel_p.h.

◆ dirtyChildrenIndex

int QFileSystemModelPrivate::QFileSystemNode::dirtyChildrenIndex = -1

Definition at line 193 of file qfilesystemmodel_p.h.

◆ fileName

QString QFileSystemModelPrivate::QFileSystemNode::fileName

Definition at line 86 of file qfilesystemmodel_p.h.

◆ info

QExtendedInformation* QFileSystemModelPrivate::QFileSystemNode::info = nullptr

Definition at line 191 of file qfilesystemmodel_p.h.

◆ isVisible

bool QFileSystemModelPrivate::QFileSystemNode::isVisible = false

Definition at line 195 of file qfilesystemmodel_p.h.

◆ parent

QFileSystemNode* QFileSystemModelPrivate::QFileSystemNode::parent

Definition at line 192 of file qfilesystemmodel_p.h.

◆ populatedChildren

bool QFileSystemModelPrivate::QFileSystemNode::populatedChildren = false

Definition at line 194 of file qfilesystemmodel_p.h.

◆ visibleChildren

QList<QString> QFileSystemModelPrivate::QFileSystemNode::visibleChildren

Definition at line 190 of file qfilesystemmodel_p.h.


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