21 #ifndef KCAL_ATTACHMENT_H
22 #define KCAL_ATTACHMENT_H
25 #include "libkcal_export.h"
52 Attachment(
const TQString &uri,
const TQString &mime = TQString() );
60 Attachment(
const char *base64,
const TQString &mime = TQString() );
67 void setUri(
const TQString &uri );
69 bool isBinary()
const;
71 void setData(
const char *base64 );
73 void setDecodedData(
const TQByteArray &data );
74 TQByteArray &decodedData();
79 TQString mimeType()
const;
80 void setMimeType(
const TQString &mime );
83 bool showInline()
const;
84 void setShowInline(
bool showinline );
87 TQString label()
const;
88 void setLabel(
const TQString &label );
99 void setLocal(
bool local );
104 bool isLocal()
const;
107 TQByteArray mDataCache;
This class represents information related to an attachment.