-rw-r--r-- | libkcal/icalformat.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libkcal/icalformat.h b/libkcal/icalformat.h index a770dbb..a454b35 100644 --- a/libkcal/icalformat.h +++ b/libkcal/icalformat.h | |||
@@ -8,32 +8,34 @@ | |||
8 | version 2 of the License, or (at your option) any later version. | 8 | version 2 of the License, or (at your option) any later version. |
9 | 9 | ||
10 | This library is distributed in the hope that it will be useful, | 10 | This library is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
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 ICALFORMAT_H | 20 | #ifndef ICALFORMAT_H |
21 | #define ICALFORMAT_H | 21 | #define ICALFORMAT_H |
22 | 22 | ||
23 | #include <qstring.h> | 23 | #include <qstring.h> |
24 | //Added by qt3to4: | ||
25 | #include <Q3CString> | ||
24 | 26 | ||
25 | #include "scheduler.h" | 27 | #include "scheduler.h" |
26 | 28 | ||
27 | #include "calformat.h" | 29 | #include "calformat.h" |
28 | 30 | ||
29 | namespace KCal { | 31 | namespace KCal { |
30 | 32 | ||
31 | class ICalFormatImpl; | 33 | class ICalFormatImpl; |
32 | 34 | ||
33 | /** | 35 | /** |
34 | This class implements the iCalendar format. It provides methods for | 36 | This class implements the iCalendar format. It provides methods for |
35 | loading/saving/converting iCalendar format data into the internal KOrganizer | 37 | loading/saving/converting iCalendar format data into the internal KOrganizer |
36 | representation as Calendar and Events. | 38 | representation as Calendar and Events. |
37 | 39 | ||
38 | @short iCalendar format implementation | 40 | @short iCalendar format implementation |
39 | */ | 41 | */ |
@@ -93,24 +95,24 @@ class ICalFormat : public CalFormat { | |||
93 | /** Create a scheduling message for event \a e using method \m */ | 95 | /** Create a scheduling message for event \a e using method \m */ |
94 | QString createScheduleMessage(IncidenceBase *e,Scheduler::Method m); | 96 | QString createScheduleMessage(IncidenceBase *e,Scheduler::Method m); |
95 | /** Parse scheduling message provided as string \s */ | 97 | /** Parse scheduling message provided as string \s */ |
96 | ScheduleMessage *parseScheduleMessage( Calendar *, const QString &s); | 98 | ScheduleMessage *parseScheduleMessage( Calendar *, const QString &s); |
97 | 99 | ||
98 | /** Set id of used time zone and whether this time zone is UTC or not. */ | 100 | /** Set id of used time zone and whether this time zone is UTC or not. */ |
99 | void setTimeZone( const QString &id, bool utc ); | 101 | void setTimeZone( const QString &id, bool utc ); |
100 | QString timeZoneId() const; | 102 | QString timeZoneId() const; |
101 | int timeOffset(); | 103 | int timeOffset(); |
102 | const char * tzString(); | 104 | const char * tzString(); |
103 | bool utc() const; | 105 | bool utc() const; |
104 | 106 | ||
105 | private: | 107 | private: |
106 | bool mProcessEvents; | 108 | bool mProcessEvents; |
107 | ICalFormatImpl *mImpl; | 109 | ICalFormatImpl *mImpl; |
108 | QString mTimeZoneId; | 110 | QString mTimeZoneId; |
109 | QCString mTzString; | 111 | Q3CString mTzString; |
110 | int tzOffsetMin; | 112 | int tzOffsetMin; |
111 | bool mUtc; | 113 | bool mUtc; |
112 | }; | 114 | }; |
113 | 115 | ||
114 | } | 116 | } |
115 | 117 | ||
116 | #endif | 118 | #endif |