MythTV  master
Classes | Functions
mythnotificationcenter.h File Reference
#include <QList>
#include <QDateTime>
#include <QMutex>
#include "mythuiexp.h"
#include "mythnotification.h"
Include dependency graph for mythnotificationcenter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MythNotificationCenterEvent
 
class  MythNotificationCenter
 

Functions

MUI_PUBLIC void ShowNotificationError (const QString &msg, const QString &from=QString(), const QString &detail=QString(), const VNMask visibility=MythNotification::kAll, const MythNotification::Priority priority=MythNotification::kDefault)
 convenience utility to display error message as notification More...
 
MUI_PUBLIC void ShowNotification (const QString &msg, const QString &from=QString(), const QString &detail=QString(), const VNMask visibility=MythNotification::kAll, const MythNotification::Priority priority=MythNotification::kDefault)
 
MUI_PUBLIC void ShowNotification (bool error, const QString &msg, const QString &origin=QString(), const QString &detail=QString(), const QString &image=QString(), const QString &extra=QString(), const QString &progress_text=QString(), float progress=-1.0F, int duration=-1, bool fullscreen=false, const VNMask visibility=MythNotification::kAll, const MythNotification::Priority priority=MythNotification::kDefault, const QString &style=QString())
 
MUI_PUBLIC void ShowNotification (MythNotification::Type type, const QString &msg, const QString &origin=QString(), const QString &detail=QString(), const QString &image=QString(), const QString &extra=QString(), const QString &progress_text=QString(), float progress=-1.0F, int duration=-1, bool fullscreen=false, const VNMask visibility=MythNotification::kAll, const MythNotification::Priority priority=MythNotification::kDefault, const QString &style=QString())
 

Function Documentation

◆ ShowNotificationError()

MUI_PUBLIC void ShowNotificationError ( const QString &  msg,
const QString &  from = QString(),
const QString &  detail = QString(),
const VNMask  visibility = MythNotification::kAll,
const MythNotification::Priority  priority = MythNotification::kDefault 
)

◆ ShowNotification() [1/3]

MUI_PUBLIC void ShowNotification ( const QString &  msg,
const QString &  from = QString(),
const QString &  detail = QString(),
const VNMask  visibility = MythNotification::kAll,
const MythNotification::Priority  priority = MythNotification::kDefault 
)

◆ ShowNotification() [2/3]

MUI_PUBLIC void ShowNotification ( bool  error,
const QString &  msg,
const QString &  origin = QString(),
const QString &  detail = QString(),
const QString &  image = QString(),
const QString &  extra = QString(),
const QString &  progress_text = QString(),
float  progress = -1.0F,
int  duration = -1,
bool  fullscreen = false,
const VNMask  visibility = MythNotification::kAll,
const MythNotification::Priority  priority = MythNotification::kDefault,
const QString &  style = QString() 
)

Definition at line 1470 of file mythnotificationcenter.cpp.

◆ ShowNotification() [3/3]

MUI_PUBLIC void ShowNotification ( MythNotification::Type  type,
const QString &  msg,
const QString &  origin = QString(),
const QString &  detail = QString(),
const QString &  image = QString(),
const QString &  extra = QString(),
const QString &  progress_text = QString(),
float  progress = -1.0F,
int  duration = -1,
bool  fullscreen = false,
const VNMask  visibility = MythNotification::kAll,
const MythNotification::Priority  priority = MythNotification::kDefault,
const QString &  style = QString() 
)

Definition at line 1488 of file mythnotificationcenter.cpp.