From a08aff328d4393031d5ba7d622c2b05705a89d73 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Wed, 04 Jul 2007 11:23:42 +0000 Subject: initial public commit of qt4 port --- (limited to 'libkcal/alarm.h') 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 @@ #define KCAL_ALARM_H #include -#include +#include #include "customproperties.h" #include "duration.h" @@ -39,7 +39,7 @@ class Alarm : public CustomProperties { public: enum Type { Invalid, Display, Procedure, Email, Audio }; - typedef QValueList List; + typedef Q3ValueList List; /** Construct a new alarm with variables initialized to "sane" values. */ explicit Alarm(Incidence *parent); @@ -112,7 +112,7 @@ class Alarm : public CustomProperties @param addressees email addresses of recipient(s). @param attachments optional names of files to attach to the email. */ - void setEmailAlarm(const QString &subject, const QString &text, const QValueList &addressees, + void setEmailAlarm(const QString &subject, const QString &text, const Q3ValueList &addressees, const QStringList &attachments = QStringList()); /** Send mail to this address when the alarm is triggered. @@ -122,13 +122,13 @@ class Alarm : public CustomProperties /** Send mail to these addresses when the alarm is triggered. Ignored if the alarm is not an email alarm. */ - void setMailAddresses(const QValueList &mailAlarmAddresses); + void setMailAddresses(const Q3ValueList &mailAlarmAddresses); /** Add this address to the list of addresses to send mail to when the alarm is triggered. Ignored if the alarm is not an email alarm. */ void addMailAddress(const Person &mailAlarmAddress); /** return the addresses to send mail to when an alarm goes off */ - QValueList mailAddresses() const; + Q3ValueList mailAddresses() const; /** Set the subject line of the mail. Ignored if the alarm is not an email alarm. @@ -226,7 +226,7 @@ class Alarm : public CustomProperties QString mDescription; // text to display/email body/procedure arguments QString mFile; // procedure program to run/optional audio file to play QStringList mMailAttachFiles; // filenames to attach to email - QValueList mMailAddresses; // who to mail for reminder + Q3ValueList mMailAddresses; // who to mail for reminder QString mMailSubject; // subject of email int mAlarmSnoozeTime; // number of minutes after alarm to -- cgit v0.9.0.2