Changeset View
Changeset View
Standalone View
Standalone View
libnotificationmanager/notification.cpp
Show First 20 Lines • Show All 481 Lines • ▼ Show 20 Line(s) | 481 | { | |||
---|---|---|---|---|---|
482 | return d->updated; | 482 | return d->updated; | ||
483 | } | 483 | } | ||
484 | 484 | | |||
485 | void Notification::resetUpdated() | 485 | void Notification::resetUpdated() | ||
486 | { | 486 | { | ||
487 | d->updated = QDateTime::currentDateTimeUtc(); | 487 | d->updated = QDateTime::currentDateTimeUtc(); | ||
488 | } | 488 | } | ||
489 | 489 | | |||
490 | bool Notification::read() const | ||||
491 | { | ||||
492 | return d->read; | ||||
493 | } | ||||
494 | | ||||
495 | void Notification::setRead(bool read) | ||||
496 | { | ||||
497 | d->read = read; | ||||
498 | } | ||||
499 | | ||||
490 | QString Notification::summary() const | 500 | QString Notification::summary() const | ||
491 | { | 501 | { | ||
492 | return d->summary; | 502 | return d->summary; | ||
493 | } | 503 | } | ||
494 | 504 | | |||
495 | void Notification::setSummary(const QString &summary) | 505 | void Notification::setSummary(const QString &summary) | ||
496 | { | 506 | { | ||
497 | d->summary = summary; | 507 | d->summary = summary; | ||
▲ Show 20 Lines • Show All 194 Lines • Show Last 20 Lines |