NotificationManager::Notification

Search for usage in LXR

NotificationManager::Notification Class Reference

#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
 
Notificationoperator= (const Notification &other)
 
Notificationoperator= (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< QUrlurls () const
 
bool userActionFeedback () const
 
bool wasAddedDuringInhibition () const
 

Detailed Description

Represents a single notification.

Author
Kai Uwe Broulik kde@p.nosp@m.riva.nosp@m.t.bro.nosp@m.ulik.nosp@m..de

Definition at line 26 of file notification.h.

Constructor & Destructor Documentation

◆ Notification() [1/3]

Notification::Notification ( uint id = 0)
explicit

Definition at line 473 of file notification.cpp.

◆ Notification() [2/3]

Notification::Notification ( const Notification & other)

Definition at line 480 of file notification.cpp.

◆ Notification() [3/3]

Notification::Notification ( Notification && other)
noexcept

Definition at line 485 of file notification.cpp.

◆ ~Notification()

Notification::~Notification ( )
virtual

Definition at line 504 of file notification.cpp.

Member Function Documentation

◆ actionLabels()

QStringList Notification::actionLabels ( ) const

Definition at line 653 of file notification.cpp.

◆ actionNames()

QStringList Notification::actionNames ( ) const

Definition at line 648 of file notification.cpp.

◆ applicationIconName()

QString Notification::applicationIconName ( ) const

Definition at line 633 of file notification.cpp.

◆ applicationName()

QString Notification::applicationName ( ) const

Definition at line 623 of file notification.cpp.

◆ body()

QString Notification::body ( ) const

Definition at line 564 of file notification.cpp.

◆ category()

QString Notification::category ( ) const

Definition at line 777 of file notification.cpp.

◆ configurable()

bool Notification::configurable ( ) const

Definition at line 742 of file notification.cpp.

◆ configureActionLabel()

QString Notification::configureActionLabel ( ) const

Definition at line 747 of file notification.cpp.

◆ created()

QDateTime Notification::created ( ) const

Definition at line 524 of file notification.cpp.

◆ dBusService()

QString Notification::dBusService ( ) const

Definition at line 514 of file notification.cpp.

◆ defaultActionLabel()

QString Notification::defaultActionLabel ( ) const

Definition at line 663 of file notification.cpp.

◆ desktopEntry()

QString Notification::desktopEntry ( ) const

Definition at line 603 of file notification.cpp.

◆ dismissed()

bool Notification::dismissed ( ) const

Definition at line 792 of file notification.cpp.

◆ eventId()

QString Notification::eventId ( ) const

Definition at line 618 of file notification.cpp.

◆ expired()

bool Notification::expired ( ) const

Definition at line 782 of file notification.cpp.

◆ hasDefaultAction()

bool Notification::hasDefaultAction ( ) const

Definition at line 658 of file notification.cpp.

◆ hasReplyAction()

bool Notification::hasReplyAction ( ) const

Definition at line 752 of file notification.cpp.

◆ hints()

QVariantMap Notification::hints ( ) const

Definition at line 822 of file notification.cpp.

◆ icon()

QString Notification::icon ( ) const

Definition at line 580 of file notification.cpp.

◆ id()

uint Notification::id ( ) const

Definition at line 509 of file notification.cpp.

◆ image()

QImage Notification::image ( ) const

Definition at line 590 of file notification.cpp.

◆ notifyRcName()

QString Notification::notifyRcName ( ) const

Definition at line 613 of file notification.cpp.

◆ operator=() [1/2]

Notification & Notification::operator= ( const Notification & other)

Definition at line 491 of file notification.cpp.

◆ operator=() [2/2]

Notification & Notification::operator= ( Notification && other)
noexcept

Definition at line 497 of file notification.cpp.

◆ originName()

QString Notification::originName ( ) const

Definition at line 643 of file notification.cpp.

◆ processHints()

void Notification::processHints ( const QVariantMap & hints)

Definition at line 832 of file notification.cpp.

◆ rawBody()

QString Notification::rawBody ( ) const

Definition at line 575 of file notification.cpp.

◆ read()

bool Notification::read ( ) const

Definition at line 544 of file notification.cpp.

◆ replyActionLabel()

QString Notification::replyActionLabel ( ) const

Definition at line 757 of file notification.cpp.

◆ replyPlaceholderText()

QString Notification::replyPlaceholderText ( ) const

Definition at line 762 of file notification.cpp.

◆ replySubmitButtonIconName()

QString Notification::replySubmitButtonIconName ( ) const

Definition at line 772 of file notification.cpp.

◆ replySubmitButtonText()

QString Notification::replySubmitButtonText ( ) const

Definition at line 767 of file notification.cpp.

◆ resetUpdated()

void Notification::resetUpdated ( )

Definition at line 539 of file notification.cpp.

◆ resident()

bool Notification::resident ( ) const

Definition at line 802 of file notification.cpp.

◆ setActions()

void Notification::setActions ( const QStringList & actions)

Definition at line 668 of file notification.cpp.

◆ setApplicationIconName()

void Notification::setApplicationIconName ( const QString & applicationIconName)

Definition at line 638 of file notification.cpp.

◆ setApplicationName()

void Notification::setApplicationName ( const QString & applicationName)

Definition at line 628 of file notification.cpp.

◆ setBody()

void Notification::setBody ( const QString & body)

Definition at line 569 of file notification.cpp.

◆ setCreated()

void Notification::setCreated ( const QDateTime & created)

Definition at line 529 of file notification.cpp.

◆ setDBusService()

void Notification::setDBusService ( const QString & dBusService)

Definition at line 519 of file notification.cpp.

◆ setDesktopEntry()

void Notification::setDesktopEntry ( const QString & desktopEntry)

Definition at line 608 of file notification.cpp.

◆ setDismissed()

void Notification::setDismissed ( bool dismissed)

Definition at line 797 of file notification.cpp.

◆ setExpired()

void Notification::setExpired ( bool expired)

Definition at line 787 of file notification.cpp.

◆ setHints()

void Notification::setHints ( const QVariantMap & hints)

Definition at line 827 of file notification.cpp.

◆ setIcon()

void Notification::setIcon ( const QString & icon)

Definition at line 585 of file notification.cpp.

◆ setImage()

void Notification::setImage ( const QImage & image)

Definition at line 598 of file notification.cpp.

◆ setRead()

void Notification::setRead ( bool read)

Definition at line 549 of file notification.cpp.

◆ setResident()

void Notification::setResident ( bool resident)

Definition at line 807 of file notification.cpp.

◆ setSummary()

void Notification::setSummary ( const QString & summary)

Definition at line 559 of file notification.cpp.

◆ setTimeout()

void Notification::setTimeout ( int timeout)

Definition at line 737 of file notification.cpp.

◆ setTransient()

void Notification::setTransient ( bool transient)

Definition at line 817 of file notification.cpp.

◆ setUrls()

void Notification::setUrls ( const QList< QUrl > & urls)

Definition at line 717 of file notification.cpp.

◆ setWasAddedDuringInhibition()

void Notification::setWasAddedDuringInhibition ( bool value)

Definition at line 842 of file notification.cpp.

◆ summary()

QString Notification::summary ( ) const

Definition at line 554 of file notification.cpp.

◆ timeout()

int Notification::timeout ( ) const

Definition at line 732 of file notification.cpp.

◆ transient()

bool Notification::transient ( ) const

Definition at line 812 of file notification.cpp.

◆ updated()

QDateTime Notification::updated ( ) const

Definition at line 534 of file notification.cpp.

◆ urgency()

Notifications::Urgency Notification::urgency ( ) const

Definition at line 722 of file notification.cpp.

◆ urls()

QList< QUrl > Notification::urls ( ) const

Definition at line 712 of file notification.cpp.

◆ userActionFeedback()

bool Notification::userActionFeedback ( ) const

Definition at line 727 of file notification.cpp.

◆ wasAddedDuringInhibition()

bool Notification::wasAddedDuringInhibition ( ) const

Definition at line 837 of file notification.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Mar 28 2025 11:53:53 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.