23 #ifndef POPULARIMETER_H
24 #define POPULARIMETER_H
27 #include "AbstractFrame.h"
30 #include <taglib/popularimeterframe.h>
47 Popularimeter(
const QString& email_, quint8 rating_byte_,
int playcount);
48 void set_sayonara_rating(quint8 max_5);
49 quint8 get_sayonara_rating()
const;
59 public AbstractFrame<Popularimeter, TagLib::ID3v2::PopularimeterFrame>
70 void map_frame_to_model()
override;
73 #endif // POPULARIMETER_H
The PopularimeterFrame class.
Definition: Popularimeter.h:58
The Popularimeter class.
Definition: Popularimeter.h:38
TagLib::ID3v2::Frame * create_id3v2_frame() override
create_id3v2_frame creates new id3v2 frame if there's no frame we have to create it manually every su...
void map_model_to_frame() override
map_model_to_frame maps the model to the frame and vice versa so the frame knows how to get/set data ...
ID3v2Frame namespace.
Definition: AbstractFrame.h:38
The AbstractFrame class for example AbstractFrame...
Definition: AbstractFrame.h:47