ListModel Class
(Core::ListModel)Public Types
enum | ListDataRole { ItemRole, ItemImageRole, ItemTagsRole } |
Public Functions
ListModel(QObject *parent) | |
virtual | ~ListModel() override |
virtual QPixmap | fetchPixmapAndUpdatePixmapCache(const QString &url) const = 0 |
Reimplemented Public Functions
virtual QVariant | data(const QModelIndex &index, int role = Qt::DisplayRole) const override |
virtual int | rowCount(const QModelIndex &parent = QModelIndex()) const |
Member Function Documentation
ListModel::ListModel(QObject *parent)
Default constructs an instance of ListModel.
[override virtual]
ListModel::~ListModel()
Destroys the instance of ListModel. The destructor is virtual.