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)
 
QString summary () const
 
int timeout () const
 
bool transient () const
 
QDateTime updated () const
 
Notifications::Urgency urgency () const
 
QList< QUrlurls () const
 
bool userActionFeedback () 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 449 of file notification.cpp.

◆ Notification() [2/3]

Notification::Notification ( const Notification & other)

Definition at line 456 of file notification.cpp.

◆ Notification() [3/3]

Notification::Notification ( Notification && other)
noexcept

Definition at line 461 of file notification.cpp.

◆ ~Notification()

Notification::~Notification ( )
virtual

Definition at line 480 of file notification.cpp.

Member Function Documentation

◆ actionLabels()

QStringList Notification::actionLabels ( ) const

Definition at line 627 of file notification.cpp.

◆ actionNames()

QStringList Notification::actionNames ( ) const

Definition at line 622 of file notification.cpp.

◆ applicationIconName()

QString Notification::applicationIconName ( ) const

Definition at line 607 of file notification.cpp.

◆ applicationName()

QString Notification::applicationName ( ) const

Definition at line 597 of file notification.cpp.

◆ body()

QString Notification::body ( ) const

Definition at line 540 of file notification.cpp.

◆ category()

QString Notification::category ( ) const

Definition at line 751 of file notification.cpp.

◆ configurable()

bool Notification::configurable ( ) const

Definition at line 716 of file notification.cpp.

◆ configureActionLabel()

QString Notification::configureActionLabel ( ) const

Definition at line 721 of file notification.cpp.

◆ created()

QDateTime Notification::created ( ) const

Definition at line 500 of file notification.cpp.

◆ dBusService()

QString Notification::dBusService ( ) const

Definition at line 490 of file notification.cpp.

◆ defaultActionLabel()

QString Notification::defaultActionLabel ( ) const

Definition at line 637 of file notification.cpp.

◆ desktopEntry()

QString Notification::desktopEntry ( ) const

Definition at line 577 of file notification.cpp.

◆ dismissed()

bool Notification::dismissed ( ) const

Definition at line 766 of file notification.cpp.

◆ eventId()

QString Notification::eventId ( ) const

Definition at line 592 of file notification.cpp.

◆ expired()

bool Notification::expired ( ) const

Definition at line 756 of file notification.cpp.

◆ hasDefaultAction()

bool Notification::hasDefaultAction ( ) const

Definition at line 632 of file notification.cpp.

◆ hasReplyAction()

bool Notification::hasReplyAction ( ) const

Definition at line 726 of file notification.cpp.

◆ hints()

QVariantMap Notification::hints ( ) const

Definition at line 796 of file notification.cpp.

◆ icon()

QString Notification::icon ( ) const

Definition at line 556 of file notification.cpp.

◆ id()

uint Notification::id ( ) const

Definition at line 485 of file notification.cpp.

◆ image()

QImage Notification::image ( ) const

Definition at line 567 of file notification.cpp.

◆ notifyRcName()

QString Notification::notifyRcName ( ) const

Definition at line 587 of file notification.cpp.

◆ operator=() [1/2]

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

Definition at line 467 of file notification.cpp.

◆ operator=() [2/2]

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

Definition at line 473 of file notification.cpp.

◆ originName()

QString Notification::originName ( ) const

Definition at line 617 of file notification.cpp.

◆ processHints()

void Notification::processHints ( const QVariantMap & hints)

Definition at line 806 of file notification.cpp.

◆ rawBody()

QString Notification::rawBody ( ) const

Definition at line 551 of file notification.cpp.

◆ read()

bool Notification::read ( ) const

Definition at line 520 of file notification.cpp.

◆ replyActionLabel()

QString Notification::replyActionLabel ( ) const

Definition at line 731 of file notification.cpp.

◆ replyPlaceholderText()

QString Notification::replyPlaceholderText ( ) const

Definition at line 736 of file notification.cpp.

◆ replySubmitButtonIconName()

QString Notification::replySubmitButtonIconName ( ) const

Definition at line 746 of file notification.cpp.

◆ replySubmitButtonText()

QString Notification::replySubmitButtonText ( ) const

Definition at line 741 of file notification.cpp.

◆ resetUpdated()

void Notification::resetUpdated ( )

Definition at line 515 of file notification.cpp.

◆ resident()

bool Notification::resident ( ) const

Definition at line 776 of file notification.cpp.

◆ setActions()

void Notification::setActions ( const QStringList & actions)

Definition at line 642 of file notification.cpp.

◆ setApplicationIconName()

void Notification::setApplicationIconName ( const QString & applicationIconName)

Definition at line 612 of file notification.cpp.

◆ setApplicationName()

void Notification::setApplicationName ( const QString & applicationName)

Definition at line 602 of file notification.cpp.

◆ setBody()

void Notification::setBody ( const QString & body)

Definition at line 545 of file notification.cpp.

◆ setCreated()

void Notification::setCreated ( const QDateTime & created)

Definition at line 505 of file notification.cpp.

◆ setDBusService()

void Notification::setDBusService ( const QString & dBusService)

Definition at line 495 of file notification.cpp.

◆ setDesktopEntry()

void Notification::setDesktopEntry ( const QString & desktopEntry)

Definition at line 582 of file notification.cpp.

◆ setDismissed()

void Notification::setDismissed ( bool dismissed)

Definition at line 771 of file notification.cpp.

◆ setExpired()

void Notification::setExpired ( bool expired)

Definition at line 761 of file notification.cpp.

◆ setHints()

void Notification::setHints ( const QVariantMap & hints)

Definition at line 801 of file notification.cpp.

◆ setIcon()

void Notification::setIcon ( const QString & icon)

Definition at line 561 of file notification.cpp.

◆ setImage()

void Notification::setImage ( const QImage & image)

Definition at line 572 of file notification.cpp.

◆ setRead()

void Notification::setRead ( bool read)

Definition at line 525 of file notification.cpp.

◆ setResident()

void Notification::setResident ( bool resident)

Definition at line 781 of file notification.cpp.

◆ setSummary()

void Notification::setSummary ( const QString & summary)

Definition at line 535 of file notification.cpp.

◆ setTimeout()

void Notification::setTimeout ( int timeout)

Definition at line 711 of file notification.cpp.

◆ setTransient()

void Notification::setTransient ( bool transient)

Definition at line 791 of file notification.cpp.

◆ setUrls()

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

Definition at line 691 of file notification.cpp.

◆ summary()

QString Notification::summary ( ) const

Definition at line 530 of file notification.cpp.

◆ timeout()

int Notification::timeout ( ) const

Definition at line 706 of file notification.cpp.

◆ transient()

bool Notification::transient ( ) const

Definition at line 786 of file notification.cpp.

◆ updated()

QDateTime Notification::updated ( ) const

Definition at line 510 of file notification.cpp.

◆ urgency()

Notifications::Urgency Notification::urgency ( ) const

Definition at line 696 of file notification.cpp.

◆ urls()

QList< QUrl > Notification::urls ( ) const

Definition at line 686 of file notification.cpp.

◆ userActionFeedback()

bool Notification::userActionFeedback ( ) const

Definition at line 701 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-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:17:42 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.