MythTV  master
Public Member Functions | List of all members
MythWarningNotification Class Reference

#include <mythnotification.h>

Inheritance diagram for MythWarningNotification:
Inheritance graph
Collaboration diagram for MythWarningNotification:
Collaboration graph

Public Member Functions

 MythWarningNotification (const QString &title, const QString &author, const QString &details=QString())
- Public Member Functions inherited from MythNotification
 MythNotification (Type type, void *parent=nullptr)
 MythNotification (int id, void *parent)
 MythNotification (const QString &title, const QString &author, const QString &details=QString())
 MythNotification (Type type, const QString &title, const QString &author, const QString &details=QString(), const QString &extra=QString())
 MythNotification (Type type, DMAP metadata)
 MythNotification (const MythEvent &me)
 ~MythNotification () override=default
MythEventclone (void) const override
void SetId (int id)
 Optional MythNotification elements. More...
void SetParent (void *parent)
 contains the parent address. More...
void SetFullScreen (bool f)
 a notification may request to be displayed in full screen, this request may not be fullfilled should the theme not handle full screen notification More...
void SetDescription (const QString &desc)
 contains a short description of the notification More...
void SetMetaData (const DMAP &data)
 metadata of the notification. More...
void SetDuration (int duration)
 contains a duration during which the notification will be displayed for. More...
void SetStyle (const QString &style)
 contains an alternative notification style. More...
void SetVisibility (VNMask n)
 define a bitmask of Visibility More...
void SetPriority (Priority n)
 For future use, not implemented at this stage. More...
void ToStringList (void)
bool FromStringList (void)
int GetId (void) const
void * GetParent (void) const
bool GetFullScreen (void) const
QString GetDescription (void) const
DMAP GetMetaData (void) const
int GetDuration (void) const
QString GetStyle (void) const
VNMask GetVisibility (void) const
Priority GetPriority (void) const
- Public Member Functions inherited from MythEvent
 MythEvent (int type)
 MythEvent (int type, QString lmessage)
 MythEvent (int type, QString lmessage, QStringList lextradata)
 MythEvent (QString lmessage)
 MythEvent (QString lmessage, QStringList lextradata)
 MythEvent (QString lmessage, const QString &lextradata)
 ~MythEvent () override
const QString & Message () const
const QString & ExtraData (int idx=0) const
const QStringList & ExtraDataList () const
int ExtraDataCount () const

Additional Inherited Members

- Public Types inherited from MythNotification
enum  Priority {
  kDefault = 0, kLow, kMedium, kHigh,
  kHigher, kHighest
 Priority enum A notification can be given a priority. More...
enum  Visibility {
  kNone = 0, kAll = ~0, kPlayback = (1 << 0), kSettings = (1 << 1),
  kWizard = (1 << 2), kVideos = (1 << 3), kMusic = (1 << 4), kRecordings = (1 << 5)
 Visibility enum A notification can be given visibility mask allowing to not be visible under some circumstances, like the screen currently being displayed. More...
- Static Public Member Functions inherited from MythNotification
static Type TypeFromString (const QString &type)
 return Type object from type name More...
- Static Public Attributes inherited from MythNotification
static Type New
static Type Update
static Type Info
static Type Error
static Type Warning
static Type Check
static Type Busy
- Static Public Attributes inherited from MythEvent
static Type MythEventMessage
static Type MythUserMessage
static Type kUpdateTvProgressEventType
static Type kExitToMainMenuEventType
static Type kMythPostShowEventType
static Type kPushDisableDrawingEventType
static Type kPopDisableDrawingEventType
static Type kLockInputDevicesEventType
static Type kUnlockInputDevicesEventType
static Type kUpdateBrowseInfoEventType
static Type kDisableUDPListenerEventType
static Type kEnableUDPListenerEventType
- Protected Member Functions inherited from MythNotification
 MythNotification (const MythNotification &o)
MythNotificationoperator= (const MythNotification &)
- Protected Attributes inherited from MythNotification
int m_id {-1}
void * m_parent {nullptr}
bool m_fullScreen {false}
QString m_description
int m_duration {0}
DMAP m_metadata
QString m_style
VNMask m_visibility {(VNMask)kAll}
Priority m_priority {kDefault}
- Protected Attributes inherited from MythEvent
QString m_message
QStringList m_extradata

Detailed Description

Definition at line 372 of file mythnotification.h.

Constructor & Destructor Documentation

◆ MythWarningNotification()

MythWarningNotification::MythWarningNotification ( const QString &  title,
const QString &  author,
const QString &  details = QString() 

Definition at line 375 of file mythnotification.h.

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