Sayonara Player
Public Member Functions | List of all members
DBusNotifications Class Reference
Inheritance diagram for DBusNotifications:
NotificationInterface

Public Member Functions

 DBusNotifications (QObject *parent=nullptr)
 
void notify (const MetaData &md) override
 notify when Metadata has been changed More...
 
void notify (const QString &title, const QString &text, const QString &imagePath) override
 show standard notification More...
 
QString name () const override
 get name of notification interface More...
 
virtual QString displayName () const
 

Member Function Documentation

◆ name()

QString DBusNotifications::name ( ) const
overridevirtual

get name of notification interface

Returns

Implements NotificationInterface.

◆ notify() [1/2]

void DBusNotifications::notify ( const MetaData md)
overridevirtual

notify when Metadata has been changed

Parameters
md

Implements NotificationInterface.

◆ notify() [2/2]

void DBusNotifications::notify ( const QString &  title,
const QString &  message,
const QString &  imagePath 
)
overridevirtual

show standard notification

Parameters
titleNotification title
messageNotification message
image_pathNotification image

Implements NotificationInterface.