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 );
107 TQByteArray mDataCache;
Attachment(const Attachment &attachment) Create a Reference to some URI by copying an existing Attachment.
bool isLocal() const Returns the attachment "local" flag.
void setLocal(bool local) Sets the attachment "local" option, which is derived from the Calendar Incidence X-KONTACT-TYPE param...
This class provides a template for lists of pointers.
Namespace KCal is for global classes, objects and/or functions in libkcal.
|