Changeset View
Changeset View
Standalone View
Standalone View
src/acbf/AcbfContentrating.cpp
Context not available. | |||||
38 | : QObject(parent) | 38 | : QObject(parent) | ||
---|---|---|---|---|---|
39 | , d(new Private) | 39 | , d(new Private) | ||
40 | { | 40 | { | ||
41 | qRegisterMetaType<ContentRating*>("ContentRating*"); | ||||
41 | } | 42 | } | ||
42 | 43 | | |||
43 | ContentRating::~ContentRating() = default; | 44 | ContentRating::~ContentRating() = default; | ||
Context not available. | |||||
66 | void ContentRating::setType(const QString& type) | 67 | void ContentRating::setType(const QString& type) | ||
67 | { | 68 | { | ||
68 | d->type = type; | 69 | d->type = type; | ||
70 | emit typeChanged(); | ||||
69 | } | 71 | } | ||
70 | 72 | | |||
71 | QString ContentRating::rating() const | 73 | QString ContentRating::rating() const | ||
Context not available. | |||||
76 | void ContentRating::setRating(const QString& rating) | 78 | void ContentRating::setRating(const QString& rating) | ||
77 | { | 79 | { | ||
78 | d->rating = rating; | 80 | d->rating = rating; | ||
81 | emit ratingChanged(); | ||||
79 | } | 82 | } | ||
Context not available. |