15#include "notifications.h"
17#include "notificationmanager_export.h"
19namespace NotificationManager
42 void setDBusService(
const QString &dBusService);
46 void setCreated(
const QDateTime &created);
53 void setRead(
bool read);
56 void setSummary(
const QString &summary);
59 void setBody(
const QString &body);
67 void setIcon(
const QString &icon);
70 void setImage(
const QImage &image);
73 void setDesktopEntry(
const QString &desktopEntry);
78 QString applicationName()
const;
79 void setApplicationName(
const QString &applicationName);
81 QString applicationIconName()
const;
82 void setApplicationIconName(
const QString &applicationIconName);
89 bool hasDefaultAction()
const;
90 QString defaultActionLabel()
const;
100 bool userActionFeedback()
const;
103 void setTimeout(
int timeout);
105 bool configurable()
const;
106 QString configureActionLabel()
const;
108 bool hasReplyAction()
const;
109 QString replyActionLabel()
const;
110 QString replyPlaceholderText()
const;
111 QString replySubmitButtonText()
const;
112 QString replySubmitButtonIconName()
const;
116 bool expired()
const;
117 void setExpired(
bool expired);
119 bool dismissed()
const;
120 void setDismissed(
bool dismissed);
122 bool resident()
const;
123 void setResident(
bool resident);
125 bool transient()
const;
126 void setTransient(
bool transient);
129 QVariantMap hints()
const;
130 void setHints(
const QVariantMap &hints);
132 void processHints(
const QVariantMap &hints);
135 friend class NotificationsModel;
136 friend class AbstractNotificationsModel;
137 friend class ServerPrivate;
Represents a single notification.
Urgency
The notification urgency.
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.