QStringListModel

Binding for C++ class QStringListModel.

Constructors

this
this(QObject parent)
Undocumented in source.
this
this(const(QStringList) strings, QObject parent)
Undocumented in source.

Members

Functions

clearItemData
bool clearItemData(const(QModelIndex) index)
Undocumented in source.
data
QVariant data(const(QModelIndex) index, int role)
Undocumented in source.
flags
qt.core.namespace.ItemFlags flags(const(QModelIndex) index)
Undocumented in source.
insertRows
bool insertRows(int row, int count, const(QModelIndex) parent)
Undocumented in source.
itemData
QMap!(int, QVariant) itemData(const(QModelIndex) index)
Undocumented in source.
moveRows
bool moveRows(const(QModelIndex) sourceParent, int sourceRow, int count, const(QModelIndex) destinationParent, int destinationChild)
Undocumented in source.
removeRows
bool removeRows(int row, int count, const(QModelIndex) parent)
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.
setItemData
bool setItemData(const(QModelIndex) index, const(QMap!(int, QVariant)) roles)
Undocumented in source.
setStringList
void setStringList(const(QStringList) strings)
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.
stringList
QStringList stringList()
Undocumented in source.
supportedDropActions
qt.core.namespace.DropActions supportedDropActions()
Undocumented in source.

Inherited Members

From QAbstractListModel

~this
~this()
Undocumented in source.
index
QModelIndex index(int row, int column, const(QModelIndex) parent)
Undocumented in source.
sibling
QModelIndex sibling(int row, int column, const(QModelIndex) idx)
Undocumented in source.
flags
qt.core.namespace.ItemFlags flags(const(QModelIndex) index)
Undocumented in source.

Meta