alarm.cpp
Duration endOffset() const
Return offset of alarm in time relative to the end of the event.
Definition: alarm.cpp:474
virtual TQDateTime dtStart() const
returns an event's starting date/time as a TQDateTime.
Definition: incidencebase.cpp:201
void setMailAttachments(const TQStringList &mailAttachFiles)
Attach these filenames to the email.
Definition: alarm.cpp:266
void setMailAttachment(const TQString &mailAttachFile)
Attach this filename to the email.
Definition: alarm.cpp:257
TQString audioFile() const
Return the name of the audio file for the alarm.
Definition: alarm.cpp:164
TQValueList< Person > mailAddresses() const
Return the addresses to send mail to when an alarm goes off.
Definition: alarm.cpp:239
bool hasEndOffset() const
Return whether the alarm is defined in terms of an offset relative to the end of the event...
Definition: alarm.cpp:461
void updated()
Call this to notify the observers after the IncidenceBas object has changed.
Definition: incidencebase.cpp:405
TQDateTime end(const TQDateTime &start) const
Computes a duration end time by adding the number of seconds or days in the duration to the specified...
Definition: duration.cpp:150
TQString text() const
Return the text string that displays when the alarm is triggered.
Definition: alarm.cpp:316
void setMailAddress(const Person &mailAlarmAddress)
Send mail to this address when the alarm is triggered.
Definition: alarm.cpp:214
void setMailSubject(const TQString &mailAlarmSubject)
Set the subject line of the mail.
Definition: alarm.cpp:244
void setAudioAlarm(const TQString &audioFile=TQString())
Set the alarm to be an audio alarm.
Definition: alarm.cpp:149
void setStartOffset(const Duration &)
Set offset of alarm in time relative to the start of the event.
Definition: alarm.cpp:443
void setEndOffset(const Duration &)
Set offset of alarm in time relative to the end of the event.
Definition: alarm.cpp:466
void setProgramArguments(const TQString &arguments)
Set the arguments to the program to execute when the alarm is triggered.
Definition: alarm.cpp:190
TQString programArguments() const
Return the arguments to the program to run when the alarm is triggered.
Definition: alarm.cpp:198
int repeatCount() const
Get how many times an alarm repeats, after its initial occurrence.
Definition: alarm.cpp:373
void setProcedureAlarm(const TQString &programFile, const TQString &arguments=TQString())
Set the alarm to be a procedure alarm.
Definition: alarm.cpp:169
void setSnoozeTime(const Duration &alarmSnoozeTime)
Set the interval between snoozes for the alarm.
Definition: alarm.cpp:354
void setEmailAlarm(const TQString &subject, const TQString &text, const TQValueList< Person > &addressees, const TQStringList &attachments=TQStringList())
Set the alarm to be an email alarm.
Definition: alarm.cpp:203
int value() const
Returns the length of the duration in seconds or days.
Definition: duration.cpp:175
void setMailAddresses(const TQValueList< Person > &mailAlarmAddresses)
Send mail to these addresses when the alarm is triggered.
Definition: alarm.cpp:223
void addMailAddress(const Person &mailAlarmAddress)
Add this address to the list of addresses to send mail to when the alarm is triggered.
Definition: alarm.cpp:231
This class provides the base class common to all calendar components.
Definition: incidence.h:47
void setDisplayAlarm(const TQString &text=TQString())
Set the alarm to be a display alarm.
Definition: alarm.cpp:300
TQDateTime endTime() const
Return the date/time when the last repetition of the alarm goes off.
Definition: alarm.cpp:418
virtual TQDateTime dtEnd() const
Return the incidence's ending date/time as a TQDateTime.
Definition: incidence.h:184
Duration duration() const
Get how long between the alarm's initial occurrence and its final repetition.
Definition: alarm.cpp:378
void addMailAttachment(const TQString &mailAttachFile)
Add this filename to the list of files to attach to the email.
Definition: alarm.cpp:274
Namespace KCal is for global classes, objects and/or functions in libkcal.
Definition: alarm.h:38
TQStringList mailAttachments() const
Return the filenames to attach to the email.
Definition: alarm.cpp:282
void setTime(const TQDateTime &alarmTime)
Set the time to trigger an alarm.
Definition: alarm.cpp:321
void setRepeatCount(int alarmRepeatCount)
Set how many times an alarm is to repeat itself after its initial occurrence (w/snoozes).
Definition: alarm.cpp:367
TQDateTime nextRepetition(const TQDateTime &preTime) const
Get the time of the alarm's initial occurrence or its next repetition, after a given time...
Definition: alarm.cpp:384
TQString programFile() const
Return the name of the program file to execute when the alarm is triggered.
Definition: alarm.cpp:185
Duration startOffset() const
Return offset of alarm in time relative to the start of the event.
Definition: alarm.cpp:451
bool hasStartOffset() const
Return whether the alarm is defined in terms of an offset relative to the start of the event...
Definition: alarm.cpp:456
void setProgramFile(const TQString &programFile)
Set the program file to execute when the alarm is triggered.
Definition: alarm.cpp:177
void setAudioFile(const TQString &audioFile)
Set the file to play when the audio alarm is triggered.
Definition: alarm.cpp:156
Alarm(Incidence *parent)
Construct a new alarm with variables initialized to "sane" values.
Definition: alarm.cpp:32
TQDateTime previousRepetition(const TQDateTime &afterTime) const
Get the time of the alarm's latest repetition, or its initial occurrence if none, before a given time...
Definition: alarm.cpp:401
void setText(const TQString &text)
Set the text to be displayed when the alarm is triggered.
Definition: alarm.cpp:308
Type type() const
Returns the time units (seconds or days) used to specify the duration.
Definition: duration.cpp:155