41 QModelIndex setRootPath(
const QString& newPath);
42 QString rootPath ()
const;
43 QModelIndex pathIndex(
const QString& path,
int column = 0)
const;
45 QString filePath(
const QModelIndex& index)
const;
46 void setFilter(QDir::Filters filters);
47 bool isDir(
const QModelIndex& index)
const;
48 bool setHeaderData(
int section, Qt::Orientation orientation,
const QString& value,
int role = Qt::EditRole);
49 bool setHeaderData(
int section, Qt::Orientation orientation,
const QVariant& value,
int role = Qt::EditRole);
51 void setIconProvider(QFileIconProvider* provider);
52 void setNameFilter(
const QString& filter);
53 void setNameFilters(
const QStringList& filters);
54 void setNameFilterDisables(
bool enable);
56 bool setItemData(
const QModelIndex& index, Qt::ItemDataRole role,
const QString& value);
57 bool setItemData(
const QModelIndex& index, Qt::ItemDataRole role,
const QColor& value);
59 bool canFetchMore(
const QModelIndex & parent)
const;
60 void fetchMore(
const QModelIndex & parent);
61 virtual QVariant data(
const QModelIndex & index,
int role = Qt::DisplayRole)
const;
62 bool removeRow(
int row,
const QModelIndex & parent = QModelIndex());
#define RDEFAULT_QMODELINDEX
Copyright (c) 2011-2018 by Andrew Mustun.
Definition RFileSystemModel.h:28