-rw-r--r-- | libkcal/icalformatimpl.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libkcal/icalformatimpl.h b/libkcal/icalformatimpl.h index 203c302..3a35b4c 100644 --- a/libkcal/icalformatimpl.h +++ b/libkcal/icalformatimpl.h | |||
@@ -12,24 +12,26 @@ | |||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Library General Public License for more details. | 13 | Library General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Library General Public License | 15 | You should have received a copy of the GNU Library General Public License |
16 | along with this library; see the file COPYING.LIB. If not, write to | 16 | along with this library; see the file COPYING.LIB. If not, write to |
17 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 17 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
18 | Boston, MA 02111-1307, USA. | 18 | Boston, MA 02111-1307, USA. |
19 | */ | 19 | */ |
20 | #ifndef ICALFORMATIMPL_H | 20 | #ifndef ICALFORMATIMPL_H |
21 | #define ICALFORMATIMPL_H | 21 | #define ICALFORMATIMPL_H |
22 | 22 | ||
23 | #include <qstring.h> | 23 | #include <qstring.h> |
24 | //Added by qt3to4: | ||
25 | #include <Q3PtrList> | ||
24 | 26 | ||
25 | #include "scheduler.h" | 27 | #include "scheduler.h" |
26 | #include "freebusy.h" | 28 | #include "freebusy.h" |
27 | 29 | ||
28 | extern "C" { | 30 | extern "C" { |
29 | #include <ical.h> | 31 | #include <ical.h> |
30 | #include <icalss.h> | 32 | #include <icalss.h> |
31 | } | 33 | } |
32 | 34 | ||
33 | namespace KCal { | 35 | namespace KCal { |
34 | 36 | ||
35 | class Compat; | 37 | class Compat; |
@@ -84,26 +86,26 @@ class ICalFormatImpl { | |||
84 | void writeIncidenceBase(icalcomponent *parent,IncidenceBase *); | 86 | void writeIncidenceBase(icalcomponent *parent,IncidenceBase *); |
85 | void readIncidenceBase(icalcomponent *parent,IncidenceBase *); | 87 | void readIncidenceBase(icalcomponent *parent,IncidenceBase *); |
86 | void writeCustomProperties(icalcomponent *parent,CustomProperties *); | 88 | void writeCustomProperties(icalcomponent *parent,CustomProperties *); |
87 | void readCustomProperties(icalcomponent *parent,CustomProperties *); | 89 | void readCustomProperties(icalcomponent *parent,CustomProperties *); |
88 | void dumpIcalRecurrence(icalrecurrencetype); | 90 | void dumpIcalRecurrence(icalrecurrencetype); |
89 | 91 | ||
90 | ICalFormat *mParent; | 92 | ICalFormat *mParent; |
91 | Calendar *mCalendar; | 93 | Calendar *mCalendar; |
92 | 94 | ||
93 | QString mLoadedProductId; // PRODID string loaded from calendar file | 95 | QString mLoadedProductId; // PRODID string loaded from calendar file |
94 | int mCalendarVersion; // determines backward compatibility mode on read | 96 | int mCalendarVersion; // determines backward compatibility mode on read |
95 | 97 | ||
96 | QPtrList<Event> mEventsRelate; // events with relations | 98 | Q3PtrList<Event> mEventsRelate; // events with relations |
97 | QPtrList<Todo> mTodosRelate; // todos with relations | 99 | Q3PtrList<Todo> mTodosRelate; // todos with relations |
98 | 100 | ||
99 | static const int mSecondsPerWeek; | 101 | static const int mSecondsPerWeek; |
100 | static const int mSecondsPerDay; | 102 | static const int mSecondsPerDay; |
101 | static const int mSecondsPerHour; | 103 | static const int mSecondsPerHour; |
102 | static const int mSecondsPerMinute; | 104 | static const int mSecondsPerMinute; |
103 | 105 | ||
104 | Compat *mCompat; | 106 | Compat *mCompat; |
105 | }; | 107 | }; |
106 | 108 | ||
107 | } | 109 | } |
108 | 110 | ||
109 | #endif | 111 | #endif |