dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
NotificationItem Class Reference

#include <notificationitem.h>

Inheritance diagram for NotificationItem:

Public Types

enum  { eDefaultTimeout = 15 }
 
enum  { never, beforeFirst, beforeSecond, afterSecond }
 
enum  {
  repeatOncePerUpdate, repeatOnce, repeatInstantly, repeat10seconds,
  repeat30seconds, repeat1minute
}
 

Public Member Functions

 NotificationItem (QObject *parent=nullptr)
 
void copyTo (NotificationItem *) const
 
 DECLARE_SOUND (1) DECLARE_SOUND(2) DECLARE_SOUND(3) bool getCurrentUpdatePlayed() const
 
void setCurrentUpdatePlayed (bool value)
 
int getCondition () const
 
void setCondition (int value)
 
int getSayOrder () const
 
void setSayOrder (int text)
 
QVariant singleValue () const
 
void setSingleValue (QVariant value)
 
double valueRange2 () const
 
void setValueRange2 (double value)
 
QString getDataObject () const
 
void setDataObject (QString text)
 
QString getObjectField () const
 
void setObjectField (QString text)
 
QString getSoundCollectionPath () const
 
void setSoundCollectionPath (QString path)
 
QString getCurrentLanguage () const
 
void setCurrentLanguage (QString text)
 
QStringList getMessageSequence () const
 
void setMessageSequence (QStringList sequence)
 
int retryValue () const
 
void setRetryValue (int value)
 
int lifetime () const
 
void setLifetime (int value)
 
bool mute () const
 
void setMute (bool value)
 
void saveState (QSettings *settings) const
 
void restoreState (QSettings *settings)
 
UAVDataObjectgetUAVObject (void)
 
UAVObjectFieldgetUAVObjectField (void)
 
void serialize (QDataStream &stream)
 
void deserialize (QDataStream &stream)
 
QString toString ()
 
QStringList & toSoundList ()
 
QString getSoundCaption (QString fileName)
 
QTimer * getTimer () const
 
void startTimer (int value)
 
void restartTimer ()
 
void stopTimer ()
 
void disposeTimer ()
 
QTimer * getExpireTimer () const
 
void startExpireTimer ()
 
void stopExpireTimer ()
 
void disposeExpireTimer ()
 

Public Attributes

bool isNowPlaying
 
bool _isPlayed
 

Static Public Attributes

static QStringList sayOrderValues
 
static QStringList retryValues
 

Detailed Description

Definition at line 47 of file notificationitem.h.


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