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 466 of file notification.cpp.

◆ Notification() [2/3]

Notification::Notification ( const Notification & other)

Definition at line 473 of file notification.cpp.

◆ Notification() [3/3]

Notification::Notification ( Notification && other)
noexcept

Definition at line 478 of file notification.cpp.

◆ ~Notification()

Notification::~Notification ( )
virtual

Definition at line 497 of file notification.cpp.

Member Function Documentation

◆ actionLabels()

QStringList Notification::actionLabels ( ) const

Definition at line 646 of file notification.cpp.

◆ actionNames()

QStringList Notification::actionNames ( ) const

Definition at line 641 of file notification.cpp.

◆ applicationIconName()

QString Notification::applicationIconName ( ) const

Definition at line 626 of file notification.cpp.

◆ applicationName()

QString Notification::applicationName ( ) const

Definition at line 616 of file notification.cpp.

◆ body()

QString Notification::body ( ) const

Definition at line 557 of file notification.cpp.

◆ category()

QString Notification::category ( ) const

Definition at line 770 of file notification.cpp.

◆ configurable()

bool Notification::configurable ( ) const

Definition at line 735 of file notification.cpp.

◆ configureActionLabel()

QString Notification::configureActionLabel ( ) const

Definition at line 740 of file notification.cpp.

◆ created()

QDateTime Notification::created ( ) const

Definition at line 517 of file notification.cpp.

◆ dBusService()

QString Notification::dBusService ( ) const

Definition at line 507 of file notification.cpp.

◆ defaultActionLabel()

QString Notification::defaultActionLabel ( ) const

Definition at line 656 of file notification.cpp.

◆ desktopEntry()

QString Notification::desktopEntry ( ) const

Definition at line 596 of file notification.cpp.

◆ dismissed()

bool Notification::dismissed ( ) const

Definition at line 785 of file notification.cpp.

◆ eventId()

QString Notification::eventId ( ) const

Definition at line 611 of file notification.cpp.

◆ expired()

bool Notification::expired ( ) const

Definition at line 775 of file notification.cpp.

◆ hasDefaultAction()

bool Notification::hasDefaultAction ( ) const

Definition at line 651 of file notification.cpp.

◆ hasReplyAction()

bool Notification::hasReplyAction ( ) const

Definition at line 745 of file notification.cpp.

◆ hints()

QVariantMap Notification::hints ( ) const

Definition at line 815 of file notification.cpp.

◆ icon()

QString Notification::icon ( ) const

Definition at line 573 of file notification.cpp.

◆ id()

uint Notification::id ( ) const

Definition at line 502 of file notification.cpp.

◆ image()

QImage Notification::image ( ) const

Definition at line 583 of file notification.cpp.

◆ notifyRcName()

QString Notification::notifyRcName ( ) const

Definition at line 606 of file notification.cpp.

◆ operator=() [1/2]

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

Definition at line 484 of file notification.cpp.

◆ operator=() [2/2]

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

Definition at line 490 of file notification.cpp.

◆ originName()

QString Notification::originName ( ) const

Definition at line 636 of file notification.cpp.

◆ processHints()

void Notification::processHints ( const QVariantMap & hints)

Definition at line 825 of file notification.cpp.

◆ rawBody()

QString Notification::rawBody ( ) const

Definition at line 568 of file notification.cpp.

◆ read()

bool Notification::read ( ) const

Definition at line 537 of file notification.cpp.

◆ replyActionLabel()

QString Notification::replyActionLabel ( ) const

Definition at line 750 of file notification.cpp.

◆ replyPlaceholderText()

QString Notification::replyPlaceholderText ( ) const

Definition at line 755 of file notification.cpp.

◆ replySubmitButtonIconName()

QString Notification::replySubmitButtonIconName ( ) const

Definition at line 765 of file notification.cpp.

◆ replySubmitButtonText()

QString Notification::replySubmitButtonText ( ) const

Definition at line 760 of file notification.cpp.

◆ resetUpdated()

void Notification::resetUpdated ( )

Definition at line 532 of file notification.cpp.

◆ resident()

bool Notification::resident ( ) const

Definition at line 795 of file notification.cpp.

◆ setActions()

void Notification::setActions ( const QStringList & actions)

Definition at line 661 of file notification.cpp.

◆ setApplicationIconName()

void Notification::setApplicationIconName ( const QString & applicationIconName)

Definition at line 631 of file notification.cpp.

◆ setApplicationName()

void Notification::setApplicationName ( const QString & applicationName)

Definition at line 621 of file notification.cpp.

◆ setBody()

void Notification::setBody ( const QString & body)

Definition at line 562 of file notification.cpp.

◆ setCreated()

void Notification::setCreated ( const QDateTime & created)

Definition at line 522 of file notification.cpp.

◆ setDBusService()

void Notification::setDBusService ( const QString & dBusService)

Definition at line 512 of file notification.cpp.

◆ setDesktopEntry()

void Notification::setDesktopEntry ( const QString & desktopEntry)

Definition at line 601 of file notification.cpp.

◆ setDismissed()

void Notification::setDismissed ( bool dismissed)

Definition at line 790 of file notification.cpp.

◆ setExpired()

void Notification::setExpired ( bool expired)

Definition at line 780 of file notification.cpp.

◆ setHints()

void Notification::setHints ( const QVariantMap & hints)

Definition at line 820 of file notification.cpp.

◆ setIcon()

void Notification::setIcon ( const QString & icon)

Definition at line 578 of file notification.cpp.

◆ setImage()

void Notification::setImage ( const QImage & image)

Definition at line 591 of file notification.cpp.

◆ setRead()

void Notification::setRead ( bool read)

Definition at line 542 of file notification.cpp.

◆ setResident()

void Notification::setResident ( bool resident)

Definition at line 800 of file notification.cpp.

◆ setSummary()

void Notification::setSummary ( const QString & summary)

Definition at line 552 of file notification.cpp.

◆ setTimeout()

void Notification::setTimeout ( int timeout)

Definition at line 730 of file notification.cpp.

◆ setTransient()

void Notification::setTransient ( bool transient)

Definition at line 810 of file notification.cpp.

◆ setUrls()

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

Definition at line 710 of file notification.cpp.

◆ summary()

QString Notification::summary ( ) const

Definition at line 547 of file notification.cpp.

◆ timeout()

int Notification::timeout ( ) const

Definition at line 725 of file notification.cpp.

◆ transient()

bool Notification::transient ( ) const

Definition at line 805 of file notification.cpp.

◆ updated()

QDateTime Notification::updated ( ) const

Definition at line 527 of file notification.cpp.

◆ urgency()

Notifications::Urgency Notification::urgency ( ) const

Definition at line 715 of file notification.cpp.

◆ urls()

QList< QUrl > Notification::urls ( ) const

Definition at line 705 of file notification.cpp.

◆ userActionFeedback()

bool Notification::userActionFeedback ( ) const

Definition at line 720 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 Fri Dec 20 2024 12:00:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.