NotificationManager::Notification
#include <notification.h>
Public Member Functions | |
| Notification (const Notification &other) | |
| Notification (Notification &&other) Q_DECL_NOEXCEPT | |
| Notification (uint id=0) | |
| QStringList | actionLabels () const |
| QStringList | actionNames () const |
| QString | applicationIconName () const |
| QString | applicationName () const |
| QString | body () const |
| QString | category () const |
| bool | configurable () const |
| QString | configureActionLabel () const |
| QDateTime | created () const |
| QString | dBusService () const |
| QString | defaultActionLabel () const |
| QString | desktopEntry () const |
| bool | dismissed () const |
| QString | eventId () const |
| bool | expired () const |
| bool | hasDefaultAction () const |
| bool | hasReplyAction () const |
| QVariantMap | hints () const |
| QString | icon () const |
| uint | id () const |
| QImage | image () const |
| QString | notifyRcName () const |
| Notification & | operator= (const Notification &other) |
| Notification & | operator= (Notification &&other) Q_DECL_NOEXCEPT |
| QString | originName () const |
| void | processHints (const QVariantMap &hints) |
| QString | rawBody () const |
| bool | read () const |
| QString | replyActionLabel () const |
| QString | replyPlaceholderText () const |
| QString | replySubmitButtonIconName () const |
| QString | replySubmitButtonText () const |
| void | resetUpdated () |
| bool | resident () const |
| void | setActions (const QStringList &actions) |
| void | setApplicationIconName (const QString &applicationIconName) |
| void | setApplicationName (const QString &applicationName) |
| void | setBody (const QString &body) |
| void | setCreated (const QDateTime &created) |
| void | setDBusService (const QString &dBusService) |
| void | setDesktopEntry (const QString &desktopEntry) |
| void | setDismissed (bool dismissed) |
| void | setExpired (bool expired) |
| void | setHints (const QVariantMap &hints) |
| void | setIcon (const QString &icon) |
| void | setImage (const QImage &image) |
| void | setRead (bool read) |
| void | setResident (bool resident) |
| void | setSummary (const QString &summary) |
| void | setTimeout (int timeout) |
| void | setTransient (bool transient) |
| void | setUrgency (Notifications::Urgency urgency) |
| void | setUrls (const QList< QUrl > &urls) |
| void | setWasAddedDuringInhibition (bool value) |
| QString | summary () const |
| int | timeout () const |
| bool | transient () const |
| QDateTime | updated () const |
| Notifications::Urgency | urgency () const |
| QList< QUrl > | urls () const |
| bool | userActionFeedback () const |
| bool | wasAddedDuringInhibition () const |
Detailed Description
Represents a single notification.
Definition at line 26 of file notification.h.
Constructor & Destructor Documentation
◆ Notification() [1/3]
|
explicit |
Definition at line 482 of file notification.cpp.
◆ Notification() [2/3]
| Notification::Notification | ( | const Notification & | other | ) |
Definition at line 489 of file notification.cpp.
◆ Notification() [3/3]
|
noexcept |
Definition at line 494 of file notification.cpp.
◆ ~Notification()
|
virtual |
Definition at line 513 of file notification.cpp.
Member Function Documentation
◆ actionLabels()
| QStringList Notification::actionLabels | ( | ) | const |
Definition at line 662 of file notification.cpp.
◆ actionNames()
| QStringList Notification::actionNames | ( | ) | const |
Definition at line 657 of file notification.cpp.
◆ applicationIconName()
| QString Notification::applicationIconName | ( | ) | const |
Definition at line 642 of file notification.cpp.
◆ applicationName()
| QString Notification::applicationName | ( | ) | const |
Definition at line 632 of file notification.cpp.
◆ body()
| QString Notification::body | ( | ) | const |
Definition at line 573 of file notification.cpp.
◆ category()
| QString Notification::category | ( | ) | const |
Definition at line 792 of file notification.cpp.
◆ configurable()
| bool Notification::configurable | ( | ) | const |
Definition at line 757 of file notification.cpp.
◆ configureActionLabel()
| QString Notification::configureActionLabel | ( | ) | const |
Definition at line 762 of file notification.cpp.
◆ created()
| QDateTime Notification::created | ( | ) | const |
Definition at line 533 of file notification.cpp.
◆ dBusService()
| QString Notification::dBusService | ( | ) | const |
Definition at line 523 of file notification.cpp.
◆ defaultActionLabel()
| QString Notification::defaultActionLabel | ( | ) | const |
Definition at line 672 of file notification.cpp.
◆ desktopEntry()
| QString Notification::desktopEntry | ( | ) | const |
Definition at line 612 of file notification.cpp.
◆ dismissed()
| bool Notification::dismissed | ( | ) | const |
Definition at line 807 of file notification.cpp.
◆ eventId()
| QString Notification::eventId | ( | ) | const |
Definition at line 627 of file notification.cpp.
◆ expired()
| bool Notification::expired | ( | ) | const |
Definition at line 797 of file notification.cpp.
◆ hasDefaultAction()
| bool Notification::hasDefaultAction | ( | ) | const |
Definition at line 667 of file notification.cpp.
◆ hasReplyAction()
| bool Notification::hasReplyAction | ( | ) | const |
Definition at line 767 of file notification.cpp.
◆ hints()
| QVariantMap Notification::hints | ( | ) | const |
Definition at line 837 of file notification.cpp.
◆ icon()
| QString Notification::icon | ( | ) | const |
Definition at line 589 of file notification.cpp.
◆ id()
| uint Notification::id | ( | ) | const |
Definition at line 518 of file notification.cpp.
◆ image()
| QImage Notification::image | ( | ) | const |
Definition at line 599 of file notification.cpp.
◆ notifyRcName()
| QString Notification::notifyRcName | ( | ) | const |
Definition at line 622 of file notification.cpp.
◆ operator=() [1/2]
| Notification & Notification::operator= | ( | const Notification & | other | ) |
Definition at line 500 of file notification.cpp.
◆ operator=() [2/2]
|
noexcept |
Definition at line 506 of file notification.cpp.
◆ originName()
| QString Notification::originName | ( | ) | const |
Definition at line 652 of file notification.cpp.
◆ processHints()
| void Notification::processHints | ( | const QVariantMap & | hints | ) |
Definition at line 847 of file notification.cpp.
◆ rawBody()
| QString Notification::rawBody | ( | ) | const |
Definition at line 584 of file notification.cpp.
◆ read()
| bool Notification::read | ( | ) | const |
Definition at line 553 of file notification.cpp.
◆ replyActionLabel()
| QString Notification::replyActionLabel | ( | ) | const |
Definition at line 772 of file notification.cpp.
◆ replyPlaceholderText()
| QString Notification::replyPlaceholderText | ( | ) | const |
Definition at line 777 of file notification.cpp.
◆ replySubmitButtonIconName()
| QString Notification::replySubmitButtonIconName | ( | ) | const |
Definition at line 787 of file notification.cpp.
◆ replySubmitButtonText()
| QString Notification::replySubmitButtonText | ( | ) | const |
Definition at line 782 of file notification.cpp.
◆ resetUpdated()
| void Notification::resetUpdated | ( | ) |
Definition at line 548 of file notification.cpp.
◆ resident()
| bool Notification::resident | ( | ) | const |
Definition at line 817 of file notification.cpp.
◆ setActions()
| void Notification::setActions | ( | const QStringList & | actions | ) |
Definition at line 683 of file notification.cpp.
◆ setApplicationIconName()
| void Notification::setApplicationIconName | ( | const QString & | applicationIconName | ) |
Definition at line 647 of file notification.cpp.
◆ setApplicationName()
| void Notification::setApplicationName | ( | const QString & | applicationName | ) |
Definition at line 637 of file notification.cpp.
◆ setBody()
| void Notification::setBody | ( | const QString & | body | ) |
Definition at line 578 of file notification.cpp.
◆ setCreated()
| void Notification::setCreated | ( | const QDateTime & | created | ) |
Definition at line 538 of file notification.cpp.
◆ setDBusService()
| void Notification::setDBusService | ( | const QString & | dBusService | ) |
Definition at line 528 of file notification.cpp.
◆ setDesktopEntry()
| void Notification::setDesktopEntry | ( | const QString & | desktopEntry | ) |
Definition at line 617 of file notification.cpp.
◆ setDismissed()
| void Notification::setDismissed | ( | bool | dismissed | ) |
Definition at line 812 of file notification.cpp.
◆ setExpired()
| void Notification::setExpired | ( | bool | expired | ) |
Definition at line 802 of file notification.cpp.
◆ setHints()
| void Notification::setHints | ( | const QVariantMap & | hints | ) |
Definition at line 842 of file notification.cpp.
◆ setIcon()
| void Notification::setIcon | ( | const QString & | icon | ) |
Definition at line 594 of file notification.cpp.
◆ setImage()
| void Notification::setImage | ( | const QImage & | image | ) |
Definition at line 607 of file notification.cpp.
◆ setRead()
| void Notification::setRead | ( | bool | read | ) |
Definition at line 558 of file notification.cpp.
◆ setResident()
| void Notification::setResident | ( | bool | resident | ) |
Definition at line 822 of file notification.cpp.
◆ setSummary()
| void Notification::setSummary | ( | const QString & | summary | ) |
Definition at line 568 of file notification.cpp.
◆ setTimeout()
| void Notification::setTimeout | ( | int | timeout | ) |
Definition at line 752 of file notification.cpp.
◆ setTransient()
| void Notification::setTransient | ( | bool | transient | ) |
Definition at line 832 of file notification.cpp.
◆ setUrls()
Definition at line 732 of file notification.cpp.
◆ setWasAddedDuringInhibition()
| void Notification::setWasAddedDuringInhibition | ( | bool | value | ) |
Definition at line 857 of file notification.cpp.
◆ summary()
| QString Notification::summary | ( | ) | const |
Definition at line 563 of file notification.cpp.
◆ timeout()
| int Notification::timeout | ( | ) | const |
Definition at line 747 of file notification.cpp.
◆ transient()
| bool Notification::transient | ( | ) | const |
Definition at line 827 of file notification.cpp.
◆ updated()
| QDateTime Notification::updated | ( | ) | const |
Definition at line 543 of file notification.cpp.
◆ urgency()
| Notifications::Urgency Notification::urgency | ( | ) | const |
Definition at line 737 of file notification.cpp.
◆ urls()
Definition at line 727 of file notification.cpp.
◆ userActionFeedback()
| bool Notification::userActionFeedback | ( | ) | const |
Definition at line 742 of file notification.cpp.
◆ wasAddedDuringInhibition()
| bool Notification::wasAddedDuringInhibition | ( | ) | const |
Definition at line 852 of file notification.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 11:59:36 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.