-rw-r--r-- | libkcal/alarm.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libkcal/alarm.h b/libkcal/alarm.h index ac6ea0d..b24f0f7 100644 --- a/libkcal/alarm.h +++ b/libkcal/alarm.h | |||
@@ -22,7 +22,7 @@ | |||
22 | #define KCAL_ALARM_H | 22 | #define KCAL_ALARM_H |
23 | 23 | ||
24 | #include <qstring.h> | 24 | #include <qstring.h> |
25 | #include <qvaluelist.h> | 25 | #include <q3valuelist.h> |
26 | 26 | ||
27 | #include "customproperties.h" | 27 | #include "customproperties.h" |
28 | #include "duration.h" | 28 | #include "duration.h" |
@@ -39,7 +39,7 @@ class Alarm : public CustomProperties | |||
39 | { | 39 | { |
40 | public: | 40 | public: |
41 | enum Type { Invalid, Display, Procedure, Email, Audio }; | 41 | enum Type { Invalid, Display, Procedure, Email, Audio }; |
42 | typedef QValueList<Alarm *> List; | 42 | typedef Q3ValueList<Alarm *> List; |
43 | 43 | ||
44 | /** Construct a new alarm with variables initialized to "sane" values. */ | 44 | /** Construct a new alarm with variables initialized to "sane" values. */ |
45 | explicit Alarm(Incidence *parent); | 45 | explicit Alarm(Incidence *parent); |
@@ -112,7 +112,7 @@ class Alarm : public CustomProperties | |||
112 | @param addressees email addresses of recipient(s). | 112 | @param addressees email addresses of recipient(s). |
113 | @param attachments optional names of files to attach to the email. | 113 | @param attachments optional names of files to attach to the email. |
114 | */ | 114 | */ |
115 | void setEmailAlarm(const QString &subject, const QString &text, const QValueList<Person> &addressees, | 115 | void setEmailAlarm(const QString &subject, const QString &text, const Q3ValueList<Person> &addressees, |
116 | const QStringList &attachments = QStringList()); | 116 | const QStringList &attachments = QStringList()); |
117 | 117 | ||
118 | /** Send mail to this address when the alarm is triggered. | 118 | /** Send mail to this address when the alarm is triggered. |
@@ -122,13 +122,13 @@ class Alarm : public CustomProperties | |||
122 | /** Send mail to these addresses when the alarm is triggered. | 122 | /** Send mail to these addresses when the alarm is triggered. |
123 | Ignored if the alarm is not an email alarm. | 123 | Ignored if the alarm is not an email alarm. |
124 | */ | 124 | */ |
125 | void setMailAddresses(const QValueList<Person> &mailAlarmAddresses); | 125 | void setMailAddresses(const Q3ValueList<Person> &mailAlarmAddresses); |
126 | /** Add this address to the list of addresses to send mail to when the alarm is triggered. | 126 | /** Add this address to the list of addresses to send mail to when the alarm is triggered. |
127 | Ignored if the alarm is not an email alarm. | 127 | Ignored if the alarm is not an email alarm. |
128 | */ | 128 | */ |
129 | void addMailAddress(const Person &mailAlarmAddress); | 129 | void addMailAddress(const Person &mailAlarmAddress); |
130 | /** return the addresses to send mail to when an alarm goes off */ | 130 | /** return the addresses to send mail to when an alarm goes off */ |
131 | QValueList<Person> mailAddresses() const; | 131 | Q3ValueList<Person> mailAddresses() const; |
132 | 132 | ||
133 | /** Set the subject line of the mail. | 133 | /** Set the subject line of the mail. |
134 | Ignored if the alarm is not an email alarm. | 134 | Ignored if the alarm is not an email alarm. |
@@ -226,7 +226,7 @@ class Alarm : public CustomProperties | |||
226 | QString mDescription; // text to display/email body/procedure arguments | 226 | QString mDescription; // text to display/email body/procedure arguments |
227 | QString mFile; // procedure program to run/optional audio file to play | 227 | QString mFile; // procedure program to run/optional audio file to play |
228 | QStringList mMailAttachFiles; // filenames to attach to email | 228 | QStringList mMailAttachFiles; // filenames to attach to email |
229 | QValueList<Person> mMailAddresses; // who to mail for reminder | 229 | Q3ValueList<Person> mMailAddresses; // who to mail for reminder |
230 | QString mMailSubject; // subject of email | 230 | QString mMailSubject; // subject of email |
231 | 231 | ||
232 | int mAlarmSnoozeTime; // number of minutes after alarm to | 232 | int mAlarmSnoozeTime; // number of minutes after alarm to |