QDirModel

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
extern (C++)
class QDirModel : QAbstractItemModel {}

Constructors

this
this(const(QStringList) nameFilters, QDir.Filters filters, QDir.SortFlags sort, QObject parent)
Undocumented in source.
this
this(QObject parent)
Undocumented in source.
this
this(QDirModelPrivate , QObject parent)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

columnCount
int columnCount(const(QModelIndex) parent)
Undocumented in source.
data
QVariant data(const(QModelIndex) index, int role)
Undocumented in source.
dropMimeData
bool dropMimeData(const(QMimeData) data, qt.core.namespace.DropAction action, int row, int column, const(QModelIndex) parent)
Undocumented in source.
fileIcon
QIcon fileIcon(const(QModelIndex) index)
Undocumented in source.
fileInfo
QFileInfo fileInfo(const(QModelIndex) index)
Undocumented in source.
fileName
QString fileName(const(QModelIndex) index)
Undocumented in source.
filePath
QString filePath(const(QModelIndex) index)
Undocumented in source.
filter
QDir.Filters filter()
Undocumented in source.
flags
qt.core.namespace.ItemFlags flags(const(QModelIndex) index)
Undocumented in source.
hasChildren
bool hasChildren(const(QModelIndex) index)
Undocumented in source.
headerData
QVariant headerData(int section, qt.core.namespace.Orientation orientation, int role)
Undocumented in source.
iconProvider
QFileIconProvider iconProvider()
Undocumented in source.
index
QModelIndex index(int row, int column, const(QModelIndex) parent)
Undocumented in source.
index
QModelIndex index(const(QString) path, int column)
Undocumented in source.
isDir
bool isDir(const(QModelIndex) index)
Undocumented in source.
isReadOnly
bool isReadOnly()
Undocumented in source.
lazyChildCount
bool lazyChildCount()
Undocumented in source.
mimeData
QMimeData mimeData(const(QModelIndexList) indexes)
Undocumented in source.
mimeTypes
QStringList mimeTypes()
Undocumented in source.
mkdir
QModelIndex mkdir(const(QModelIndex) parent, const(QString) name)
Undocumented in source.
nameFilters
QStringList nameFilters()
Undocumented in source.
parent
QModelIndex parent(const(QModelIndex) child)
Undocumented in source.
refresh
void refresh(const(QModelIndex) parent)
Undocumented in source.
remove
bool remove(const(QModelIndex) index)
Undocumented in source.
resolveSymlinks
bool resolveSymlinks()
Undocumented in source.
rmdir
bool rmdir(const(QModelIndex) index)
Undocumented in source.
rowCount
int rowCount(const(QModelIndex) parent)
Undocumented in source.
setData
bool setData(const(QModelIndex) index, const(QVariant) value, int role)
Undocumented in source.
setFilter
void setFilter(QDir.Filters filters)
Undocumented in source.
setIconProvider
void setIconProvider(QFileIconProvider provider)
Undocumented in source.
setLazyChildCount
void setLazyChildCount(bool enable)
Undocumented in source.
setNameFilters
void setNameFilters(const(QStringList) filters)
Undocumented in source.
setReadOnly
void setReadOnly(bool enable)
Undocumented in source.
setResolveSymlinks
void setResolveSymlinks(bool enable)
Undocumented in source.
setSorting
void setSorting(QDir.SortFlags sort)
Undocumented in source.
sort
void sort(int column, qt.core.namespace.SortOrder order)
Undocumented in source.
sorting
QDir.SortFlags sorting()
Undocumented in source.
supportedDropActions
qt.core.namespace.DropActions supportedDropActions()
Undocumented in source.

Inherited Members

From QAbstractItemModel

~this
~this()
Undocumented in source.
hasIndex
bool hasIndex(int row, int column, const(QModelIndex) parent)
Undocumented in source.
index
QModelIndex index(int row, int column, const(QModelIndex) parent)
Undocumented in source.
parent
QModelIndex parent(const(QModelIndex) child)
Undocumented in source.
sibling
QModelIndex sibling(int row, int column, const(QModelIndex) idx)
Undocumented in source.
rowCount
int rowCount(const(QModelIndex) parent)
Undocumented in source.
columnCount
int columnCount(const(QModelIndex) parent)
Undocumented in source.
hasChildren
bool hasChildren(const(QModelIndex) parent)
Undocumented in source.
data
QVariant data(const(QModelIndex) index, int role)
Undocumented in source.
setData
bool setData(const(QModelIndex) index, const(QVariant) value, int role)
Undocumented in source.
headerData
QVariant headerData(int section, qt.core.namespace.Orientation orientation, int role)
Undocumented in source.
setHeaderData
bool setHeaderData(int section, qt.core.namespace.Orientation orientation, const(QVariant) value, int role)
Undocumented in source.
mimeTypes
QStringList mimeTypes()
Undocumented in source.
mimeData
QMimeData mimeData(const(QModelIndexList) indexes)
Undocumented in source.
supportedDropActions
qt.core.namespace.DropActions supportedDropActions()
Undocumented in source.
supportedDragActions
qt.core.namespace.DropActions supportedDragActions()
Undocumented in source.
insertRows
bool insertRows(int row, int count, const(QModelIndex) parent)
Undocumented in source.
insertColumns
bool insertColumns(int column, int count, const(QModelIndex) parent)
Undocumented in source.
removeRows
bool removeRows(int row, int count, const(QModelIndex) parent)
Undocumented in source.
removeColumns
bool removeColumns(int column, int count, const(QModelIndex) parent)
Undocumented in source.
moveRows
bool moveRows(const(QModelIndex) sourceParent, int sourceRow, int count, const(QModelIndex) destinationParent, int destinationChild)
Undocumented in source.
moveColumns
bool moveColumns(const(QModelIndex) sourceParent, int sourceColumn, int count, const(QModelIndex) destinationParent, int destinationChild)
Undocumented in source.
insertRow
bool insertRow(int arow, const(QModelIndex) aparent)
Undocumented in source. Be warned that the author may not have intended to support it.
insertColumn
bool insertColumn(int acolumn, const(QModelIndex) aparent)
Undocumented in source. Be warned that the author may not have intended to support it.
removeRow
bool removeRow(int arow, const(QModelIndex) aparent)
Undocumented in source. Be warned that the author may not have intended to support it.
removeColumn
bool removeColumn(int acolumn, const(QModelIndex) aparent)
Undocumented in source. Be warned that the author may not have intended to support it.
moveRow
bool moveRow(const(QModelIndex) sourceParent, int sourceRow, const(QModelIndex) destinationParent, int destinationChild)
Undocumented in source. Be warned that the author may not have intended to support it.
moveColumn
bool moveColumn(const(QModelIndex) sourceParent, int sourceColumn, const(QModelIndex) destinationParent, int destinationChild)
Undocumented in source. Be warned that the author may not have intended to support it.
fetchMore
void fetchMore(const(QModelIndex) parent)
Undocumented in source.
canFetchMore
bool canFetchMore(const(QModelIndex) parent)
Undocumented in source.
flags
qt.core.namespace.ItemFlags flags(const(QModelIndex) index)
Undocumented in source.
sort
void sort(int column, qt.core.namespace.SortOrder order)
Undocumented in source.
buddy
QModelIndex buddy(const(QModelIndex) index)
Undocumented in source.
match
QModelIndexList match(const(QModelIndex) start, int role, const(QVariant) value, int hits, qt.core.namespace.MatchFlags flags)
Undocumented in source.
span
QSize span(const(QModelIndex) index)
Undocumented in source.
LayoutChangeHint
enum LayoutChangeHint
Undocumented in source.
CheckIndexOption
enum CheckIndexOption
Undocumented in source.
CheckIndexOptions
alias CheckIndexOptions = QFlags!(CheckIndexOption)
Undocumented in source.
checkIndex
bool checkIndex(const(QModelIndex) index, CheckIndexOptions options)
Undocumented in source.
dataChanged
void dataChanged(const(QModelIndex) topLeft, const(QModelIndex) bottomRight, const(QVector!(int)) roles)
Undocumented in source.
headerDataChanged
void headerDataChanged(qt.core.namespace.Orientation orientation, int first, int last)
Undocumented in source.
layoutChanged
void layoutChanged(const(QList!(QPersistentModelIndex)) parents, QAbstractItemModel.LayoutChangeHint hint)
Undocumented in source.
layoutAboutToBeChanged
void layoutAboutToBeChanged(const(QList!(QPersistentModelIndex)) parents, QAbstractItemModel.LayoutChangeHint hint)
Undocumented in source.
rowsAboutToBeInserted
void rowsAboutToBeInserted(const(QModelIndex) parent, int first, int last, QPrivateSignal )
Undocumented in source.
rowsInserted
void rowsInserted(const(QModelIndex) parent, int first, int last, QPrivateSignal )
Undocumented in source.
rowsAboutToBeRemoved
void rowsAboutToBeRemoved(const(QModelIndex) parent, int first, int last, QPrivateSignal )
Undocumented in source.
rowsRemoved
void rowsRemoved(const(QModelIndex) parent, int first, int last, QPrivateSignal )
Undocumented in source.
columnsAboutToBeInserted
void columnsAboutToBeInserted(const(QModelIndex) parent, int first, int last, QPrivateSignal )
Undocumented in source.
columnsInserted
void columnsInserted(const(QModelIndex) parent, int first, int last, QPrivateSignal )
Undocumented in source.
columnsAboutToBeRemoved
void columnsAboutToBeRemoved(const(QModelIndex) parent, int first, int last, QPrivateSignal )
Undocumented in source.
columnsRemoved
void columnsRemoved(const(QModelIndex) parent, int first, int last, QPrivateSignal )
Undocumented in source.
modelAboutToBeReset
void modelAboutToBeReset(QPrivateSignal )
Undocumented in source.
modelReset
void modelReset(QPrivateSignal )
Undocumented in source.
rowsAboutToBeMoved
void rowsAboutToBeMoved(const(QModelIndex) sourceParent, int sourceStart, int sourceEnd, const(QModelIndex) destinationParent, int destinationRow, QPrivateSignal )
Undocumented in source.
rowsMoved
void rowsMoved(const(QModelIndex) parent, int start, int end, const(QModelIndex) destination, int row, QPrivateSignal )
Undocumented in source.
columnsAboutToBeMoved
void columnsAboutToBeMoved(const(QModelIndex) sourceParent, int sourceStart, int sourceEnd, const(QModelIndex) destinationParent, int destinationColumn, QPrivateSignal )
Undocumented in source.
columnsMoved
void columnsMoved(const(QModelIndex) parent, int start, int end, const(QModelIndex) destination, int column, QPrivateSignal )
Undocumented in source.
submit
bool submit()
Undocumented in source.
revert
void revert()
Undocumented in source.
resetInternalData
void resetInternalData()
Undocumented in source.
createIndex
QModelIndex createIndex(int arow, int acolumn, void* adata)
Undocumented in source. Be warned that the author may not have intended to support it.
createIndex
QModelIndex createIndex(int arow, int acolumn, quintptr aid)
Undocumented in source. Be warned that the author may not have intended to support it.
encodeData
void encodeData(const(QModelIndexList) indexes, QDataStream stream)
Undocumented in source.
decodeData
bool decodeData(int row, int column, const(QModelIndex) parent, QDataStream stream)
Undocumented in source.
beginInsertRows
void beginInsertRows(const(QModelIndex) parent, int first, int last)
Undocumented in source.
endInsertRows
void endInsertRows()
Undocumented in source.
beginRemoveRows
void beginRemoveRows(const(QModelIndex) parent, int first, int last)
Undocumented in source.
endRemoveRows
void endRemoveRows()
Undocumented in source.
beginMoveRows
bool beginMoveRows(const(QModelIndex) sourceParent, int sourceFirst, int sourceLast, const(QModelIndex) destinationParent, int destinationRow)
Undocumented in source.
endMoveRows
void endMoveRows()
Undocumented in source.
beginInsertColumns
void beginInsertColumns(const(QModelIndex) parent, int first, int last)
Undocumented in source.
endInsertColumns
void endInsertColumns()
Undocumented in source.
beginRemoveColumns
void beginRemoveColumns(const(QModelIndex) parent, int first, int last)
Undocumented in source.
endRemoveColumns
void endRemoveColumns()
Undocumented in source.
beginMoveColumns
bool beginMoveColumns(const(QModelIndex) sourceParent, int sourceFirst, int sourceLast, const(QModelIndex) destinationParent, int destinationColumn)
Undocumented in source.
endMoveColumns
void endMoveColumns()
Undocumented in source.
beginResetModel
void beginResetModel()
Undocumented in source.
endResetModel
void endResetModel()
Undocumented in source.
changePersistentIndex
void changePersistentIndex(const(QModelIndex) from, const(QModelIndex) to)
Undocumented in source.
changePersistentIndexList
void changePersistentIndexList(const(QModelIndexList) from, const(QModelIndexList) to)
Undocumented in source.
persistentIndexList
QModelIndexList persistentIndexList()
Undocumented in source.

Meta