MythTV  master
Macros | Functions
mythnotificationcenter.cpp File Reference
#include <QCoreApplication>
#include <QEvent>
#include <QObject>
#include <QThread>
#include <QTimer>
#include "mythcorecontext.h"
#include "mythmainwindow.h"
#include "mythnotificationcenter.h"
#include "mythnotificationcenter_private.h"
#include "mythpainter.h"
#include "mythscreenstack.h"
#include "mythscreentype.h"
#include "mythuiimage.h"
#include "mythuitext.h"
#include "mythuiprogressbar.h"
#include "mythdate.h"
Include dependency graph for mythnotificationcenter.cpp:

Go to the source code of this file.

Macros

#define LOC   QString("NotificationCenter: ")
 
#define HGAP   5
 
#define DEFAULT_DURATION   5000
 

Functions

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

Macro Definition Documentation

◆ LOC

#define LOC   QString("NotificationCenter: ")

Definition at line 31 of file mythnotificationcenter.cpp.

◆ HGAP

#define HGAP   5

Definition at line 33 of file mythnotificationcenter.cpp.

◆ DEFAULT_DURATION

#define DEFAULT_DURATION   5000

Definition at line 34 of file mythnotificationcenter.cpp.

Function Documentation

◆ ShowNotificationError()

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

◆ ShowNotification() [1/3]

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

◆ ShowNotification() [2/3]

void ShowNotification ( bool  error,
const QString &  msg,
const QString &  origin,
const QString &  detail,
const QString &  image,
const QString &  extra,
const QString &  progress_text,
float  progress,
int  duration,
bool  fullscreen,
const VNMask  visibility,
const MythNotification::Priority  priority,
const QString &  style 
)

Definition at line 1504 of file mythnotificationcenter.cpp.

◆ ShowNotification() [3/3]

void ShowNotification ( MythNotification::Type  type,
const QString &  msg,
const QString &  origin,
const QString &  detail,
const QString &  image,
const QString &  extra,
const QString &  progress_text,
float  progress,
int  duration,
bool  fullscreen,
const VNMask  visibility,
const MythNotification::Priority  priority,
const QString &  style 
)

Definition at line 1522 of file mythnotificationcenter.cpp.