KNotifications
knotificationplugin.h
64 * for each call to this function (even for re-notification), you MUST call finish(KNotification*)
86 * call it when the presentation is finished (because the user closed the popup or the sound is finished)
virtual void update(KNotification *notification, const KNotifyConfig ¬ifyConfig)
This function is called when the notification has changed (such as the text or the icon)
Definition knotificationplugin.cpp:24
virtual void notify(KNotification *notification, const KNotifyConfig ¬ifyConfig)=0
This function is called when the notification is sent.
virtual void close(KNotification *notification)
This function is called when the notification has been closed.
Definition knotificationplugin.cpp:30
void actionInvoked(int id, const QString &action)
emit this signal if one action was invoked
void finished(KNotification *notification)
the presentation is finished.
void finish(KNotification *notification)
emit the finished signal you MUST call this function for each call to notify(), even if you do nothin...
Definition knotificationplugin.cpp:35
KNotification is the main class for creating notifications.
Definition knotification.h:96
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
QObject * parent() const const
QTextDocumentFragment fromHtml(const QString &text, const QTextDocument *resourceProvider)
QString toPlainText() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:06:49 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:06:49 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.