6#include <albert/export.h>
24 const QString &text = {},
25 QObject *parent =
nullptr);
38 const QString &
text()
const;
61 class ALBERT_NO_EXPORT Private;
62 std::unique_ptr<Private> d;
63 friend class ALBERT_NO_EXPORT QNotificationManager;
The notification class.
Definition notification.h:18
Notification(const QString &title={}, const QString &text={}, QObject *parent=nullptr)
void send()
Send the notification to the notification server.
void activated()
Emitted when the notification is activated.
void setTitle(const QString &title)
Set the title of the notification.
const QString & text() const
The text of the notification.
void dismiss()
Dismiss the notification.
const QString & title() const
The title of the notification.
void setText(const QString &text)
Set the text of the notification.