QAbstractItemModel

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 QAbstractItemModel : QObject {}

Constructors

this
this(QObject parent)
Undocumented in source.
this
this(QAbstractItemModelPrivate dd, QObject parent)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

CheckIndexOptions
alias CheckIndexOptions = QFlags!(CheckIndexOption)
Undocumented in source.

Enums

CheckIndexOption
enum CheckIndexOption
Undocumented in source.
LayoutChangeHint
enum LayoutChangeHint
Undocumented in source.

Functions

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

Inherited Members

From QObject

~this
~this()
Undocumented in source.
QSignal
struct QSignal
Undocumented in source.
QSlot
struct QSlot
Undocumented in source.
QInvokable
struct QInvokable
Undocumented in source.
QScriptable
struct QScriptable
Undocumented in source.
Q_OBJECT
enum Q_OBJECT;
Undocumented in source.
Q_OBJECT_D
enum Q_OBJECT_D;
Undocumented in source.
Q_SIGNAL_IMPL_D
enum Q_SIGNAL_IMPL_D;
Undocumented in source.
event
bool event(QEvent event)
Undocumented in source.
eventFilter
bool eventFilter(QObject watched, QEvent event)
Undocumented in source.
tr
QString tr(const(char)* sourceText, const(char)* , int )
Undocumented in source. Be warned that the author may not have intended to support it.
objectName
QString objectName()
Undocumented in source.
setObjectName
void setObjectName(const(QString) name)
Undocumented in source.
setObjectName
void setObjectName(const(char)[] name)
Undocumented in source. Be warned that the author may not have intended to support it.
isWidgetType
bool isWidgetType()
Undocumented in source. Be warned that the author may not have intended to support it.
isWindowType
bool isWindowType()
Undocumented in source. Be warned that the author may not have intended to support it.
signalsBlocked
bool signalsBlocked()
Undocumented in source. Be warned that the author may not have intended to support it.
blockSignals
bool blockSignals(bool b)
Undocumented in source.
thread
QThread thread()
Undocumented in source.
moveToThread
void moveToThread(QThread thread)
Undocumented in source.
startTimer
int startTimer(int interval, qt.core.namespace.TimerType timerType)
Undocumented in source.
killTimer
void killTimer(int id)
Undocumented in source.
children
const(QObjectList) children()
Undocumented in source. Be warned that the author may not have intended to support it.
setParent
void setParent(QObject parent)
Undocumented in source.
installEventFilter
void installEventFilter(QObject filterObj)
Undocumented in source.
removeEventFilter
void removeEventFilter(QObject obj)
Undocumented in source.
connect
QMetaObject.Connection connect(QObject sender, char* signal, QObject receiver, char* member, ConnectionType )
Undocumented in source.
signal
template signal(string name, Params...)
Undocumented in source.
slot
template slot(string name, Params...)
Undocumented in source.
connect
QMetaObject.Connection connect(Signal sender, Dg dg, ConnectionType type)
Undocumented in source. Be warned that the author may not have intended to support it.
connect
QMetaObject.Connection connect(Signal sender, QObject context, Dg dg, ConnectionType type)
Undocumented in source. Be warned that the author may not have intended to support it.
connect
QMetaObject.Connection connect(Signal sender, Slot receiver, ConnectionType type)
Undocumented in source. Be warned that the author may not have intended to support it.
dumpObjectTree
void dumpObjectTree()
Undocumented in source.
dumpObjectInfo
void dumpObjectInfo()
Undocumented in source.
dumpObjectTree
void dumpObjectTree()
Undocumented in source.
dumpObjectInfo
void dumpObjectInfo()
Undocumented in source.
setProperty
bool setProperty(const(char)* name, const(QVariant) value)
Undocumented in source.
setProperty
bool setProperty(const(char)* name, T value)
Undocumented in source. Be warned that the author may not have intended to support it.
property
QVariant property(const(char)* name)
Undocumented in source.
dynamicPropertyNames
QList!(QByteArray) dynamicPropertyNames()
Undocumented in source.
registerUserData
uint registerUserData()
Undocumented in source.
setUserData
void setUserData(uint id, QObjectUserData data)
Undocumented in source.
userData
QObjectUserData userData(uint id)
Undocumented in source.
destroyed
void destroyed(QObject )
Undocumented in source.
objectNameChanged
void objectNameChanged(const(QString) objectName, QPrivateSignal )
Undocumented in source.
parent
QObject parent()
Undocumented in source. Be warned that the author may not have intended to support it.
inherits
bool inherits(const(char)* classname)
Undocumented in source. Be warned that the author may not have intended to support it.
deleteLater
void deleteLater()
Undocumented in source.
sender
QObject sender()
Undocumented in source.
senderSignalIndex
int senderSignalIndex()
Undocumented in source.
receivers
int receivers(const(char)* signal)
Undocumented in source.
isSignalConnected
bool isSignalConnected(const(QMetaMethod) signal)
Undocumented in source.
timerEvent
void timerEvent(QTimerEvent event)
Undocumented in source.
childEvent
void childEvent(QChildEvent event)
Undocumented in source.
customEvent
void customEvent(QEvent event)
Undocumented in source.
connectNotify
void connectNotify(const(QMetaMethod) signal)
Undocumented in source.
disconnectNotify
void disconnectNotify(const(QMetaMethod) signal)
Undocumented in source.
d_ptr
QScopedPointer!(QObjectData) d_ptr;
Undocumented in source.

Meta