00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef KCAL_QTOPIAFORMAT_H
00022 #define KCAL_QTOPIAFORMAT_H
00023
00024 #include <QtCore/QString>
00025
00026 #include "scheduler.h"
00027
00028 #include "kcal_export.h"
00029 #include "calformat.h"
00030
00031 namespace KCal {
00032
00036 class KCAL_EXPORT QtopiaFormat : public CalFormat
00037 {
00038 public:
00039 QtopiaFormat();
00040 virtual ~QtopiaFormat();
00041
00042 bool load( Calendar *calendar, const QString &fileName );
00043 bool save( Calendar *calendar, const QString &fileName );
00044
00045 bool fromString( Calendar *calendar, const QString & );
00046 bool fromRawString( Calendar *calendar, const QByteArray &string );
00047 QString toString( Calendar *calendar );
00048
00049 private:
00050 Q_DISABLE_COPY( QtopiaFormat )
00051 class Private;
00052 Private *const d;
00053 };
00054
00055 }
00056
00057 #endif