![]() |
Falkon Develop
Cross-platform Qt-based web browser
|
#include <desktopnotificationsfactory.h>
Public Types | |
enum | Type { DesktopNative , PopupWidget } |
Public Member Functions | |
DesktopNotificationsFactory (QObject *parent=nullptr) | |
void | loadSettings () |
bool | supportsNativeNotifications () const |
void | showNotification (const QString &heading, const QString &text) |
void | showNotification (const QPixmap &icon, const QString &heading, const QString &text) |
void | nativeNotificationPreview () |
Definition at line 33 of file desktopnotificationsfactory.h.
Enumerator | |
---|---|
DesktopNative | |
PopupWidget |
Definition at line 38 of file desktopnotificationsfactory.h.
|
explicit |
Definition at line 33 of file desktopnotificationsfactory.cpp.
void DesktopNotificationsFactory::loadSettings | ( | ) |
Definition at line 40 of file desktopnotificationsfactory.cpp.
void DesktopNotificationsFactory::nativeNotificationPreview | ( | ) |
Definition at line 113 of file desktopnotificationsfactory.cpp.
void DesktopNotificationsFactory::showNotification | ( | const QPixmap & | icon, |
const QString & | heading, | ||
const QString & | text | ||
) |
Definition at line 69 of file desktopnotificationsfactory.cpp.
void DesktopNotificationsFactory::showNotification | ( | const QString & | heading, |
const QString & | text | ||
) |
Definition at line 64 of file desktopnotificationsfactory.cpp.
bool DesktopNotificationsFactory::supportsNativeNotifications | ( | ) | const |
Definition at line 55 of file desktopnotificationsfactory.cpp.