mirror of
https://github.com/QuasarApp/Snake.git
synced 2025-04-27 02:04:41 +00:00
29 lines
616 B
C++
29 lines
616 B
C++
#include "notificationdata.h"
|
|
|
|
NotificationData::NotificationData(const QString &title,
|
|
const QString &text,
|
|
const QString &img) {
|
|
|
|
_text = text;
|
|
_title = title;
|
|
_img = img;
|
|
}
|
|
|
|
QString NotificationData::text() const {
|
|
return _text;
|
|
}
|
|
|
|
QString NotificationData::img() const {
|
|
return _img;
|
|
}
|
|
|
|
QString NotificationData::title() const {
|
|
return _title;
|
|
}
|
|
|
|
bool NotificationData::operator ==(const NotificationData &righ) {
|
|
return _title == righ._title &&
|
|
_text == righ._text &&
|
|
_img == righ._img;
|
|
}
|