QOrganizerItemReminder Class ReferenceThe QOrganizerItemReminder class contains information about when and how the user wants to reminded of the item More... #include <QOrganizerItemReminder> Inherits QOrganizerItemDetail. Inherited by QOrganizerItemAudibleReminder, QOrganizerItemEmailReminder, and QOrganizerItemVisualReminder. Public Types
Public Functions
Static Public Members
Macros
Detailed DescriptionThe QOrganizerItemReminder class contains information about when and how the user wants to reminded of the item Note that the Organizer API does not enforce that the user is reminded of the item; rather, it simply allows clients to store and manipulate data which might be used by the platform to implement alarms and reminders. Member Type Documentation
|
Constant | Value | Description |
---|---|---|
QOrganizerItemReminder::NoReminder | 0 | This reminder is entirely unobtrusive |
QOrganizerItemReminder::AudibleReminder | 2 | This reminder has an audible element |
QOrganizerItemReminder::VisualReminder | 1 | This reminder has a visual element |
QOrganizerItemReminder::EmailReminder | 3 | This reminder has a email element |
Returns the reminder type of this reminder for an organizer item.
Returns the number of times the user should be reminded of the item.
See also repetitionDelay().
Returns the delay (in seconds) between each repetition of the reminder.
See also repetitionCount().
Returns the number of seconds prior to the activation of the item at which the user wants to be reminded of the item. The exact datetime of activation of the item depends on the type of item: for a QOrganizerTodo or QOrganizerTodoOccurrence it is the due date time; for a QOrganizerEvent or QOrganizerEventOccurrence it is the start date time.
See also setSecondsBeforeStart().
Sets the number of repetitions of the reminderto count, and the delay (in seconds) between each repetition of the reminder to delaySeconds.
See also repetitionCount() and repetitionDelay().
Sets the number of seconds prior to the activation of the item at which the user wants to be reminded of the item to seconds. The exact datetime of activation of the item depends on the type of item: for a QOrganizerTodo or QOrganizerTodoOccurrence it is the due date time; for a QOrganizerEvent or QOrganizerEventOccurrence it is the start date time.
Calling this function will clear the absolute date time, if set.
See also secondsBeforeStart().
The constant string which identifies the definition of details which contain reminder information of an organizer item.
The constant key for which the number of repetitions of the reminder is stored in details of the QOrganizerItemReminder type.
The constant key for which the delay (in seconds) between repetitions of the reminder is stored in details of the QOrganizerItemReminder type.
The constant key for which time delta (in seconds prior to the item activation time) at which the user should be reminded of the item is stored in details of the QOrganizerItemReminder type.
Macro for simplifying declaring custom (leaf) reminder detail classes.
The first argument is the name of the class, and the second argument is a Latin-1 string literal naming the detail type, and the third argument is the reminder type of the leaf reminder detail class.
If you are creating a convenience class for a type of QOrganizerItemReminder, you should use this macro when declaring your class to ensure that it interoperates with other organizer item functionality.