4#ifndef FILEINFOTHREAD_P_H
5#define FILEINFOTHREAD_P_H
20#include <QWaitCondition>
21#if QT_CONFIG(filesystemwatcher)
22#include <QFileSystemWatcher>
38 void directoryUpdated(
const QString &directory,
const QList<FileProperty> &list,
int fromIndex,
int toIndex)
const;
48 void setPath(
const QString &path);
61#if QT_CONFIG(filesystemwatcher)
71 void findChangeRange(
const QList<FileProperty> &list,
int &fromIndex,
int &toIndex);
74 enum class UpdateType {
81 Q_DECLARE_FLAGS(UpdateTypes, UpdateType)
88 QWaitCondition condition;
92#if QT_CONFIG(filesystemwatcher)
95 QList<FileProperty> currentFileList;
96 QDir::SortFlags sortFlags;
99 QStringList nameFilters;
101 UpdateTypes updateTypes;
105 bool showDotAndDotDot;
107 bool showOnlyReadable;
void removePath(const QString &path)
void setRootPath(const QString &path)
void setShowFiles(bool show)
void directoryUpdated(const QString &directory, const QList< FileProperty > &list, int fromIndex, int toIndex) const
void setShowDotAndDotDot(bool on)
void statusChanged(QQuickFolderListModel::Status status) const
void setNameFilters(const QStringList &nameFilters)
FileInfoThread(QObject *parent=nullptr)
void setShowDirsFirst(bool show)
void setCaseSensitive(bool on)
void setShowDirs(bool showFolders)
void sortFinished(const QList< FileProperty > &list) const
void findChangeRange(const QList< FileProperty > &list, int &fromIndex, int &toIndex)
void setShowHidden(bool on)
void getFileInfos(const QString &path)
void setShowOnlyReadable(bool on)
void setPath(const QString &path)
void setSortFlags(QDir::SortFlags flags)
QString fileInfoListToString(const QFileInfoList &fileInfoList)
constexpr FileInfoThread::UpdateTypes operator|(FileInfoThread::UpdateType f1, FileInfoThread::UpdateTypes f2) noexcept
constexpr FileInfoThread::UpdateTypes operator&(FileInfoThread::UpdateType f1, FileInfoThread::UpdateTypes f2) noexcept