![]() |
Qt 6.x
The Qt SDK
|
[code] More...
Collaboration diagram for QQuickFolderListModelPrivate:Public Member Functions | |
| QQuickFolderListModelPrivate (QQuickFolderListModel *q) | |
| ~QQuickFolderListModelPrivate () | |
| void | init () |
| void | updateSorting () |
| void | _q_directoryChanged (const QString &directory, const QList< FileProperty > &list) |
| void | _q_directoryUpdated (const QString &directory, const QList< FileProperty > &list, int fromIndex, int toIndex) |
| void | _q_sortFinished (const QList< FileProperty > &list) |
| void | _q_statusChanged (QQuickFolderListModel::Status s) |
Static Public Member Functions | |
| static QString | resolvePath (const QUrl &path) |
Public Attributes | |
| QQuickFolderListModel * | q_ptr |
| QUrl | currentDir |
| QUrl | rootDir |
| FileInfoThread | fileInfoThread |
| QList< FileProperty > | data |
| QHash< int, QByteArray > | roleNames |
| QQuickFolderListModel::SortField | sortField = QQuickFolderListModel::Name |
| QStringList | nameFilters = { QLatin1String("*") } |
| QQuickFolderListModel::Status | status = QQuickFolderListModel::Null |
| bool | sortReversed = false |
| bool | showFiles = true |
| bool | showDirs = true |
| bool | showDirsFirst = false |
| bool | showDotAndDotDot = false |
| bool | showOnlyReadable = false |
| bool | showHidden = false |
| bool | caseSensitive = true |
| bool | sortCaseSensitive = true |
[code]
Definition at line 16 of file qquickfolderlistmodel.cpp.
|
inline |
Definition at line 21 of file qquickfolderlistmodel.cpp.
|
inline |
Definition at line 42 of file qquickfolderlistmodel.cpp.
| void QQuickFolderListModelPrivate::_q_directoryChanged | ( | const QString & | directory, |
| const QList< FileProperty > & | list | ||
| ) |
| void QQuickFolderListModelPrivate::_q_directoryUpdated | ( | const QString & | directory, |
| const QList< FileProperty > & | list, | ||
| int | fromIndex, | ||
| int | toIndex | ||
| ) |
Definition at line 121 of file qquickfolderlistmodel.cpp.
References directory, emit, list, parent, Q_UNUSED, QList< T >::size(), and toIndex().
Referenced by init().
Here is the call graph for this function:
Here is the caller graph for this function:| void QQuickFolderListModelPrivate::_q_sortFinished | ( | const QList< FileProperty > & | list | ) |
Definition at line 152 of file qquickfolderlistmodel.cpp.
References list, parent, qCDebug, and QList< T >::size().
Referenced by init().
Here is the call graph for this function:
Here is the caller graph for this function:| void QQuickFolderListModelPrivate::_q_statusChanged | ( | QQuickFolderListModel::Status | s | ) |
Definition at line 173 of file qquickfolderlistmodel.cpp.
Referenced by init().
Here is the caller graph for this function:| void QQuickFolderListModelPrivate::init | ( | ) |
Definition at line 56 of file qquickfolderlistmodel.cpp.
References _q_directoryChanged(), _q_directoryUpdated(), _q_sortFinished(), _q_statusChanged(), fileInfoThread, SIGNAL, SLOT, and statusChanged().
Here is the call graph for this function:Definition at line 183 of file qquickfolderlistmodel.cpp.
References QDir::cleanPath(), QUrl::path(), QUrl::scheme(), QString::size(), and QQmlFile::urlToLocalFileOrQrc().
Referenced by QQuickFolderListModel::setFolder(), and QQuickFolderListModel::setRootFolder().
Here is the call graph for this function:
Here is the caller graph for this function:| void QQuickFolderListModelPrivate::updateSorting | ( | ) |
Definition at line 73 of file qquickfolderlistmodel.cpp.
References emit, fileInfoThread, QDir::IgnoreCase, QDir::Name, QQuickFolderListModel::Name, QDir::Reversed, FileInfoThread::setSortFlags(), QDir::Size, QQuickFolderListModel::Size, sortCaseSensitive, sortField, sortReversed, QDir::Time, QQuickFolderListModel::Time, QDir::Type, QQuickFolderListModel::Type, QDir::Unsorted, and QQuickFolderListModel::Unsorted.
Here is the call graph for this function:| bool QQuickFolderListModelPrivate::caseSensitive = true |
Definition at line 39 of file qquickfolderlistmodel.cpp.
| QUrl QQuickFolderListModelPrivate::currentDir |
Definition at line 24 of file qquickfolderlistmodel.cpp.
| QList<FileProperty> QQuickFolderListModelPrivate::data |
Definition at line 27 of file qquickfolderlistmodel.cpp.
| FileInfoThread QQuickFolderListModelPrivate::fileInfoThread |
Definition at line 26 of file qquickfolderlistmodel.cpp.
Referenced by init(), and updateSorting().
| QStringList QQuickFolderListModelPrivate::nameFilters = { QLatin1String("*") } |
Definition at line 30 of file qquickfolderlistmodel.cpp.
| QQuickFolderListModel* QQuickFolderListModelPrivate::q_ptr |
Definition at line 23 of file qquickfolderlistmodel.cpp.
| QHash<int, QByteArray> QQuickFolderListModelPrivate::roleNames |
Definition at line 28 of file qquickfolderlistmodel.cpp.
| QUrl QQuickFolderListModelPrivate::rootDir |
Definition at line 25 of file qquickfolderlistmodel.cpp.
| bool QQuickFolderListModelPrivate::showDirs = true |
Definition at line 34 of file qquickfolderlistmodel.cpp.
| bool QQuickFolderListModelPrivate::showDirsFirst = false |
Definition at line 35 of file qquickfolderlistmodel.cpp.
| bool QQuickFolderListModelPrivate::showDotAndDotDot = false |
Definition at line 36 of file qquickfolderlistmodel.cpp.
| bool QQuickFolderListModelPrivate::showFiles = true |
Definition at line 33 of file qquickfolderlistmodel.cpp.
| bool QQuickFolderListModelPrivate::showHidden = false |
Definition at line 38 of file qquickfolderlistmodel.cpp.
| bool QQuickFolderListModelPrivate::showOnlyReadable = false |
Definition at line 37 of file qquickfolderlistmodel.cpp.
| bool QQuickFolderListModelPrivate::sortCaseSensitive = true |
Definition at line 40 of file qquickfolderlistmodel.cpp.
Referenced by updateSorting().
| QQuickFolderListModel::SortField QQuickFolderListModelPrivate::sortField = QQuickFolderListModel::Name |
Definition at line 29 of file qquickfolderlistmodel.cpp.
Referenced by updateSorting().
| bool QQuickFolderListModelPrivate::sortReversed = false |
Definition at line 32 of file qquickfolderlistmodel.cpp.
Referenced by updateSorting().
| QQuickFolderListModel::Status QQuickFolderListModelPrivate::status = QQuickFolderListModel::Null |
Definition at line 31 of file qquickfolderlistmodel.cpp.
Referenced by _q_statusChanged().