The LibraryItemModel class is used to cache information from the database, in order to increase performance.
More...
#include <libraryitemmodel.h>
|
virtual void | load (const QString &=QString::null) override |
|
The LibraryItemModel class is used to cache information from the database, in order to increase performance.
- Author
- Matthieu Bachelier
- Copyright
- GNU General Public License v3
◆ LibraryItemModel()
LibraryItemModel::LibraryItemModel |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ ~LibraryItemModel()
LibraryItemModel::~LibraryItemModel |
( |
| ) |
|
|
virtual |
◆ currentLetter()
QChar LibraryItemModel::currentLetter |
( |
const QModelIndex & |
iTop | ) |
const |
|
overridevirtual |
For every item in the library, gets the top level letter attached to it.
Implements MiamItemModel.
◆ load
void LibraryItemModel::load |
( |
const QString & |
= QString::null | ) |
|
|
overridevirtualslot |
Read all tracks entries in the database and send them to connected views.
◆ proxy()
◆ rebuildSeparators()
void LibraryItemModel::rebuildSeparators |
( |
| ) |
|
Rebuild the list of separators when one has changed grammatical articles in options.
◆ reset()
void LibraryItemModel::reset |
( |
| ) |
|
◆ topLevelItems()
QMultiHash<SeparatorItem*, QModelIndex> LibraryItemModel::topLevelItems |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: