The MiamItemModel class.
More...
#include <miamitemmodel.h>
The MiamItemModel class.
- Author
- Matthieu Bachelier
- Copyright
- GNU General Public License v3
§ MiamItemModel()
MiamItemModel::MiamItemModel |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
§ ~MiamItemModel()
MiamItemModel::~MiamItemModel |
( |
| ) |
|
|
virtual |
§ currentLetter()
virtual QChar MiamItemModel::currentLetter |
( |
const QModelIndex & |
index | ) |
const |
|
pure virtual |
§ deleteCache()
void MiamItemModel::deleteCache |
( |
| ) |
|
|
protected |
§ insertSeparator()
SeparatorItem * MiamItemModel::insertSeparator |
( |
const QStandardItem * |
node | ) |
|
|
protected |
§ letterItem()
QStandardItem* MiamItemModel::letterItem |
( |
const QString & |
letter | ) |
const |
|
inline |
§ load()
virtual void MiamItemModel::load |
( |
const QString & |
= QString::null | ) |
|
|
pure virtual |
§ proxy()
virtual QSortFilterProxyModel* MiamItemModel::proxy |
( |
| ) |
const |
|
pure virtual |
§ _hash
QHash<uint, QStandardItem*> MiamItemModel::_hash |
|
protected |
This hash is a cache, used to insert nodes in this tree at the right location.
§ _letters
Letters are items to groups separate of top levels items (items without parent).
§ _topLevelItems
QMultiHash<SeparatorItem*, QModelIndex> MiamItemModel::_topLevelItems |
|
protected |
Letter L returns all Artists (e.g.) starting with L.
§ _tracks
QHash<QString, TrackItem*> MiamItemModel::_tracks |
|
protected |
The documentation for this class was generated from the following files: