TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Public Types | Public Member Functions | Protected Attributes | List of all members
MusicItemSearchInterface< T > Class Template Reference

The class of the item search interface. More...

#include <musicsearchinterface.h>

Public Types

using TTKSearchItems = QMap< int, TTKIntList >
 
using MusicItemSearchInterfaceClass = MusicItemSearchInterface< T >
 

Public Member Functions

 MusicItemSearchInterface ()
 
bool hasSearchResult () const
 
void clearSearchResult ()
 
void mappedSearchRow (int pos, int &row) const
 

Protected Attributes

T m_containerItems
 
int m_searchResultLevel
 
TTKSearchItems m_searchResultItems
 

Detailed Description

template<typename T>
class MusicItemSearchInterface< T >

The class of the item search interface.

Author
Greedysky greed.nosp@m.ysky.nosp@m.@163..nosp@m.com

Definition at line 28 of file musicsearchinterface.h.

Member Typedef Documentation

Definition at line 32 of file musicsearchinterface.h.

template<typename T>
using MusicItemSearchInterface< T >::TTKSearchItems = QMap<int, TTKIntList>

Definition at line 31 of file musicsearchinterface.h.

Constructor & Destructor Documentation

template<typename T>
MusicItemSearchInterface< T >::MusicItemSearchInterface ( )
inlineexplicit

Object constructor.

Definition at line 38 of file musicsearchinterface.h.

Member Function Documentation

template<typename T>
void MusicItemSearchInterface< T >::clearSearchResult ( )
inline

Clear search result.

Definition at line 57 of file musicsearchinterface.h.

template<typename T>
bool MusicItemSearchInterface< T >::hasSearchResult ( ) const
inline

Check current search result is empty or not.

Definition at line 49 of file musicsearchinterface.h.

template<typename T>
void MusicItemSearchInterface< T >::mappedSearchRow ( int  pos,
int row 
) const
inline

Mapped search row.

Definition at line 66 of file musicsearchinterface.h.

Member Data Documentation

template<typename T>
T MusicItemSearchInterface< T >::m_containerItems
protected

Definition at line 76 of file musicsearchinterface.h.

Referenced by MusicSongsContainerWidget::items().

template<typename T>
TTKSearchItems MusicItemSearchInterface< T >::m_searchResultItems
protected

Definition at line 78 of file musicsearchinterface.h.

template<typename T>
int MusicItemSearchInterface< T >::m_searchResultLevel
protected

Definition at line 77 of file musicsearchinterface.h.


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