Falkon Develop
Cross-platform Qt-based web browser
DesktopNotificationsFactory Class Reference

#include <desktopnotificationsfactory.h>

Inheritance diagram for DesktopNotificationsFactory:

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 ()
 

Detailed Description

Definition at line 33 of file desktopnotificationsfactory.h.

Member Enumeration Documentation

◆ Type

Enumerator
DesktopNative 
PopupWidget 

Definition at line 38 of file desktopnotificationsfactory.h.

Constructor & Destructor Documentation

◆ DesktopNotificationsFactory()

DesktopNotificationsFactory::DesktopNotificationsFactory ( QObject *  parent = nullptr)
explicit

Definition at line 33 of file desktopnotificationsfactory.cpp.

Member Function Documentation

◆ loadSettings()

void DesktopNotificationsFactory::loadSettings ( )

Definition at line 40 of file desktopnotificationsfactory.cpp.

◆ nativeNotificationPreview()

void DesktopNotificationsFactory::nativeNotificationPreview ( )

Definition at line 113 of file desktopnotificationsfactory.cpp.

◆ showNotification() [1/2]

void DesktopNotificationsFactory::showNotification ( const QPixmap &  icon,
const QString &  heading,
const QString &  text 
)

Definition at line 69 of file desktopnotificationsfactory.cpp.

◆ showNotification() [2/2]

void DesktopNotificationsFactory::showNotification ( const QString &  heading,
const QString &  text 
)

Definition at line 64 of file desktopnotificationsfactory.cpp.

◆ supportsNativeNotifications()

bool DesktopNotificationsFactory::supportsNativeNotifications ( ) const

Definition at line 55 of file desktopnotificationsfactory.cpp.


The documentation for this class was generated from the following files: