#include <qfilesystemmodel_p.h>
Definition at line 83 of file qfilesystemmodel_p.h.
◆ QFileSystemNode()
◆ ~QFileSystemNode()
QFileSystemModelPrivate::QFileSystemNode::~QFileSystemNode |
( |
| ) |
|
|
inline |
Definition at line 88 of file qfilesystemmodel_p.h.
QHash< QString, QFileSystemNode * > children
The QHash::const_iterator class provides an STL-style const iterator for QHash and QMultiHash...
const T & value() const
Returns the current item's value.
QExtendedInformation * info
◆ caseSensitive()
bool QFileSystemModelPrivate::QFileSystemNode::caseSensitive |
( |
| ) |
const |
|
inline |
◆ hasInformation()
bool QFileSystemModelPrivate::QFileSystemNode::hasInformation |
( |
| ) |
const |
|
inline |
◆ icon()
QIcon QFileSystemModelPrivate::QFileSystemNode::icon |
( |
| ) |
const |
|
inline |
Definition at line 123 of file qfilesystemmodel_p.h.
QExtendedInformation * info
The QIcon class provides scalable icons in different modes and states.
◆ isDir()
bool QFileSystemModelPrivate::QFileSystemNode::isDir |
( |
| ) |
const |
|
inline |
◆ isExecutable()
bool QFileSystemModelPrivate::QFileSystemNode::isExecutable |
( |
| ) |
const |
|
inline |
◆ isFile()
bool QFileSystemModelPrivate::QFileSystemNode::isFile |
( |
| ) |
const |
|
inline |
◆ isHidden()
bool QFileSystemModelPrivate::QFileSystemNode::isHidden |
( |
| ) |
const |
|
inline |
◆ isReadable()
bool QFileSystemModelPrivate::QFileSystemNode::isReadable |
( |
| ) |
const |
|
inline |
◆ isSymLink()
bool QFileSystemModelPrivate::QFileSystemNode::isSymLink |
( |
bool |
ignoreNtfsSymLinks = false | ) |
const |
|
inline |
◆ isSystem()
bool QFileSystemModelPrivate::QFileSystemNode::isSystem |
( |
| ) |
const |
|
inline |
◆ isWritable()
bool QFileSystemModelPrivate::QFileSystemNode::isWritable |
( |
| ) |
const |
|
inline |
◆ lastModified()
QDateTime QFileSystemModelPrivate::QFileSystemNode::lastModified |
( |
| ) |
const |
|
inline |
◆ operator!=()
bool QFileSystemModelPrivate::QFileSystemNode::operator!= |
( |
const QExtendedInformation & |
fileInfo | ) |
const |
|
inline |
◆ operator<() [1/2]
bool QFileSystemModelPrivate::QFileSystemNode::operator< |
( |
const QFileSystemNode & |
node | ) |
const |
|
inline |
Definition at line 125 of file qfilesystemmodel_p.h.
QFileSystemNode * node(const QModelIndex &index) const
Return the QFileSystemNode that goes to index.
int compare(const QString &s) const
bool caseSensitive() const
◆ operator<() [2/2]
bool QFileSystemModelPrivate::QFileSystemNode::operator< |
( |
const QString & |
name | ) |
const |
|
inline |
Definition at line 135 of file qfilesystemmodel_p.h.
QString name(const QModelIndex &index) const
int compare(const QString &s) const
bool caseSensitive() const
◆ operator==() [1/2]
bool QFileSystemModelPrivate::QFileSystemNode::operator== |
( |
const QString & |
name | ) |
const |
|
inline |
Definition at line 143 of file qfilesystemmodel_p.h.
QString name(const QModelIndex &index) const
int compare(const QString &s) const
bool caseSensitive() const
◆ operator==() [2/2]
bool QFileSystemModelPrivate::QFileSystemNode::operator== |
( |
const QExtendedInformation & |
fileInfo | ) |
const |
|
inline |
◆ operator>()
bool QFileSystemModelPrivate::QFileSystemNode::operator> |
( |
const QString & |
name | ) |
const |
|
inline |
Definition at line 130 of file qfilesystemmodel_p.h.
QString name(const QModelIndex &index) const
int compare(const QString &s) const
bool caseSensitive() const
◆ permissions()
QFile::Permissions QFileSystemModelPrivate::QFileSystemNode::permissions |
( |
| ) |
const |
|
inline |
◆ populate()
◆ retranslateStrings()
void QFileSystemModelPrivate::QFileSystemNode::retranslateStrings |
( |
QFileIconProvider * |
iconProvider, |
|
|
const QString & |
path |
|
) |
| |
|
inline |
Definition at line 180 of file qfilesystemmodel_p.h.
184 for(iterator =
children.constBegin() ; iterator !=
children.constEnd() ; ++iterator) {
188 iterator.
value()->retranslateStrings(iconProvider, path + iterator.
value()->fileName);
190 iterator.
value()->retranslateStrings(iconProvider, path +
QLatin1Char(
'/') + iterator.
value()->fileName);
192 iterator.
value()->retranslateStrings(iconProvider, iterator.
value()->fileName);
QHash< QString, QFileSystemNode * > children
The QHash::const_iterator class provides an STL-style const iterator for QHash and QMultiHash...
virtual QString type(const QFileInfo &info) const
Returns the type of the file described by info.
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
const T & value() const
Returns the current item's value.
bool endsWith(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Returns true if the string ends with s; otherwise returns false.
The QFileInfo class provides system-independent file information.
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
QExtendedInformation * info
◆ size()
qint64 QFileSystemModelPrivate::QFileSystemNode::size |
( |
| ) |
const |
|
inline |
◆ type()
QString QFileSystemModelPrivate::QFileSystemNode::type |
( |
| ) |
const |
|
inline |
◆ updateIcon()
Definition at line 164 of file qfilesystemmodel_p.h.
168 for(iterator =
children.constBegin() ; iterator !=
children.constEnd() ; ++iterator) {
172 iterator.
value()->updateIcon(iconProvider, path + iterator.
value()->fileName);
176 iterator.
value()->updateIcon(iconProvider, iterator.
value()->fileName);
QHash< QString, QFileSystemNode * > children
The QHash::const_iterator class provides an STL-style const iterator for QHash and QMultiHash...
virtual QIcon icon(IconType type) const
Returns an icon set for the given type.
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
const T & value() const
Returns the current item's value.
bool endsWith(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Returns true if the string ends with s; otherwise returns false.
The QFileInfo class provides system-independent file information.
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
QExtendedInformation * info
◆ visibleLocation()
int QFileSystemModelPrivate::QFileSystemNode::visibleLocation |
( |
QString |
childName | ) |
|
|
inline |
◆ children
Definition at line 198 of file qfilesystemmodel_p.h.
Referenced by QFileSystemModelPrivate::_q_directoryChanged(), QFileSystemModelPrivate::_q_fileSystemChanged(), QFileSystemModelPrivate::addNode(), QFileSystemModelPrivate::addVisibleFiles(), QFileSystemModel::index(), QFileSystemModel::mkdir(), QFileSystemModelPrivate::node(), QFileSystemModel::parent(), QFileSystemModelPrivate::removeNode(), QFileSystemModelPrivate::removeVisibleFile(), QFileSystemModel::setData(), and QFileSystemModelPrivate::sortChildren().
◆ dirtyChildrenIndex
int QFileSystemModelPrivate::QFileSystemNode::dirtyChildrenIndex |
◆ fileName
QString QFileSystemModelPrivate::QFileSystemNode::fileName |
Definition at line 99 of file qfilesystemmodel_p.h.
Referenced by QFileSystemModelPrivate::addNode(), QFileSystemModelSorter::compareNodes(), QFileSystemModelPrivate::filePath(), QFileSystemModelPrivate::filtersAcceptsNode(), QFileSystemModelPrivate::index(), QFileSystemModelPrivate::name(), QFileSystemModelPrivate::nodeCaseInsensitiveLessThan(), operator<(), QFileSystemModel::parent(), QFileSystemModelPrivate::passNameFilters(), and QFileSystemModel::setData().
◆ info
◆ isVisible
bool QFileSystemModelPrivate::QFileSystemNode::isVisible |
◆ parent
◆ populatedChildren
bool QFileSystemModelPrivate::QFileSystemNode::populatedChildren |
◆ visibleChildren
QList<QString> QFileSystemModelPrivate::QFileSystemNode::visibleChildren |
The documentation for this class was generated from the following file: