21 #ifndef KCAL_CALFORMAT_H
22 #define KCAL_CALFORMAT_H
25 #include <tqdatetime.h>
28 #include "exceptions.h"
30 #include "libkcal_export.h"
56 virtual bool load( Calendar *, const TQString &fileName) = 0;
61 virtual bool save( Calendar *, const TQString &fileName) = 0;
66 virtual bool fromString( Calendar *, const TQString & ) = 0;
70 virtual TQString toString( Calendar *) = 0;
73 void clearException();
83 static void setApplication( const TQString& app, const TQString& productID);
87 static const TQString& productId() { return mProductId; }
92 static TQString createUniqueId();
101 TQString mLoadedProductId;
106 static TQString mApplication;
107 static TQString mProductId;
|