#include <alarm.h>
Public Types | |
enum | AlarmType { StartPlaying, StopPlaying, StartRecording, StopRecording } |
Public Member Functions | |
Alarm () | |
Alarm (const QDateTime &time, bool daily, bool enabled) | |
Alarm (const Alarm &) | |
~Alarm () | |
bool | isEnabled () const |
bool | isDaily () const |
int | weekdayMask () const |
QDateTime | alarmTime () const |
QDateTime | nextAlarm (bool ignoreEnable=false) const |
const QString & | stationID () const |
float | volumePreset () const |
AlarmType | alarmType () const |
const QString & | recordingTemplate () const |
int | ID () const |
void | setEnabled (bool enable=true) |
void | setDaily (bool d=true) |
void | setWeekdayMask (int m=0x7F) |
void | setDate (const QDate &d) |
void | setTime (const QTime &d) |
void | setVolumePreset (float v) |
void | setStationID (const QString &id) |
void | setAlarmType (AlarmType t) |
void | setRecordingTemplate (const QString &t) |
bool | operator== (const Alarm &x) const |
bool | operator!= (const Alarm &x) const |
Protected Attributes | |
QDateTime | m_time |
bool | m_daily |
int | m_weekdayMask |
bool | m_enabled |
QString | m_stationID |
float | m_volumePreset |
AlarmType | m_type |
QString | m_recordingTemplate |
int | m_ID |
Static Protected Attributes | |
static int | m_LastID |
enum Alarm::AlarmType |
Alarm::Alarm | ( | ) |
Alarm::Alarm | ( | const QDateTime & | time, |
bool | daily, | ||
bool | enabled | ||
) |
Alarm::Alarm | ( | const Alarm & | ) |
Alarm::~Alarm | ( | ) |
QDateTime Alarm::nextAlarm | ( | bool | ignoreEnable = false ) | const |
|
inline |
Definition at line 85 of file alarm.h.
References m_daily, m_enabled, m_ID, m_recordingTemplate, m_stationID, m_time, m_type, m_volumePreset, and m_weekdayMask.
|
protected |
Definition at line 42 of file alarm.h.
Referenced by operator==().
|
protected |
Definition at line 45 of file alarm.h.
Referenced by operator==().
|
protected |
Definition at line 52 of file alarm.h.
Referenced by operator==().
|
protected |
Definition at line 50 of file alarm.h.
Referenced by operator==().
|
protected |
Definition at line 46 of file alarm.h.
Referenced by operator==().
|
protected |
Definition at line 40 of file alarm.h.
Referenced by operator==().
|
protected |
Definition at line 49 of file alarm.h.
Referenced by operator==().
|
protected |
Definition at line 47 of file alarm.h.
Referenced by operator==().
|
protected |
Definition at line 43 of file alarm.h.
Referenced by operator==().