 |
Sayonara Player
|
24 #include "Utils/Pimpl.h"
40 ArtistDesc(
const QString& artistName,
const QString& mbid);
42 bool operator ==(
const ArtistDesc& other)
const;
43 bool operator <(
const ArtistDesc& other)
const;
44 bool operator <=(
const ArtistDesc& other)
const;
46 QString to_string()
const;
108 #endif // ARTISTMATCH_H
void add(const ArtistDesc &artist, double match)
adds an artist string to the corresponding bin
Quality
The Quality enum used to access the bin of interest. See ArtistMatch::get(Quality q)
Definition: ArtistMatch.h:53
QString artistName() const
get the corresponding artist name of the ArtistMatch structure
QString toString() const
converts the artist match to string
Definition: org_mpris_media_player2_adaptor.h:21
QMap< ArtistDesc, double > get(Quality q) const
get bin by quality
bool isValid() const
checks, if structure is valid.
Definition: ArtistMatch.h:30
bool operator==(const ArtistMatch &am) const
Compares two ArtistMatch structures.
Definition: ArtistMatch.h:36