Definition at line 56 of file qstringlistmodel.h.
#include <qstringlistmodel.h>

Public Member Functions |
|
| QStringListModel (QObject *parent=0) | |
| QStringListModel (const QStringList &strings, QObject *parent=0) | |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| QVariant | data (const QModelIndex &index, int role) const |
| bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
| Qt::ItemFlags | flags (const QModelIndex &index) const |
| bool | insertRows (int row, int count, const QModelIndex &parent=QModelIndex()) |
| bool | removeRows (int row, int count, const QModelIndex &parent=QModelIndex()) |
| void | sort (int column, Qt::SortOrder order=Qt::AscendingOrder) |
| QStringList | stringList () const |
| void | setStringList (const QStringList &strings) |
| Qt::DropActions | supportedDropActions () const |
| QStringListModel | ( | QObject * | parent = 0 |
) | [explicit] |
| QStringListModel | ( | const QStringList & | strings, |
| QObject * | parent = 0 |
||
| ) |
| int rowCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const [virtual] |
Implements QAbstractItemModel.
| QVariant data | ( | const QModelIndex & | index, |
| int | role | ||
| ) | const [virtual] |
Implements QAbstractItemModel.
| bool setData | ( | const QModelIndex & | index, |
| const QVariant & | value, | ||
| int | role =
Qt::EditRole |
||
| ) | [virtual] |
Reimplemented from QAbstractItemModel.
| Qt::ItemFlags flags | ( | const QModelIndex & | index | ) | const [virtual] |
Reimplemented from QAbstractItemModel.
| bool insertRows | ( | int | row, |
| int | count, | ||
| const QModelIndex & | parent = QModelIndex() |
||
| ) | [virtual] |
Reimplemented from QAbstractItemModel.
| bool removeRows | ( | int | row, |
| int | count, | ||
| const QModelIndex & | parent = QModelIndex() |
||
| ) | [virtual] |
Reimplemented from QAbstractItemModel.
| void sort | ( | int | column, |
| Qt::SortOrder | order =
Qt::AscendingOrder |
||
| ) | [virtual] |
Reimplemented from QAbstractItemModel.
| QStringList stringList | ( | ) | const |
| void setStringList | ( | const QStringList & | strings | ) |
| Qt::DropActions supportedDropActions | ( | ) | const [virtual] |
Reimplemented from QAbstractItemModel.