Miam-Player  0.8.0
A nice music player
MiamSortFilterProxyModel Class Reference

The MiamSortFilterProxyModel class. More...

#include <miamsortfilterproxymodel.h>

Inheritance diagram for MiamSortFilterProxyModel:
LibraryFilterProxyModel UniqueLibraryFilterProxyModel

Signals

void aboutToHighlightLetters (const QSet< QChar > &letters)
 

Public Member Functions

 MiamSortFilterProxyModel (QObject *parent=nullptr)
 
void setTopLevelItems (const QMultiHash< SeparatorItem *, QModelIndex > &topLevelItems)
 
void findMusic (const QString &text)
 
void highlightMatchingText (const QString &text)
 

Protected Attributes

QMultiHash< SeparatorItem *, QModelIndex > _topLevelItems
 

Detailed Description

The MiamSortFilterProxyModel class.

Author
Matthieu Bachelier

Constructor & Destructor Documentation

MiamSortFilterProxyModel::MiamSortFilterProxyModel ( QObject *  parent = nullptr)

Member Function Documentation

void MiamSortFilterProxyModel::aboutToHighlightLetters ( const QSet< QChar > &  letters)
signal
void MiamSortFilterProxyModel::findMusic ( const QString &  text)
void MiamSortFilterProxyModel::highlightMatchingText ( const QString &  text)

Highlight items in the Tree when one has activated this option in settings.

void MiamSortFilterProxyModel::setTopLevelItems ( const QMultiHash< SeparatorItem *, QModelIndex > &  topLevelItems)
inline

Member Data Documentation

QMultiHash<SeparatorItem*, QModelIndex> MiamSortFilterProxyModel::_topLevelItems
protected

Top levels items are specific items, like letters 'A', 'B', ... in the library. Each letter has a reference to all items beginning with this letter.


The documentation for this class was generated from the following files: