libkcal
KCal::Attachment Class Reference
#include <attachment.h>
Detailed Description
This class represents information related to an attachment.
Definition at line 34 of file attachment.h.
Public Types | |
typedef ListBase< Attachment > | List |
Public Member Functions | |
Attachment (const Attachment &attachment) | |
Attachment (const QString &uri, const QString &mime=QString::null) | |
Attachment (const char *base64, const QString &mime=QString::null) | |
bool | isUri () const |
QString | uri () const |
void | setUri (const QString &uri) |
bool | isBinary () const |
char * | data () const |
void | setData (const char *base64) |
QString | mimeType () const |
void | setMimeType (const QString &mime) |
bool | showInline () const |
void | setShowInline (bool showinline) |
QString | label () const |
void | setLabel (const QString &label) |
Constructor & Destructor Documentation
Attachment::Attachment | ( | const Attachment & | attachment | ) |
Create a Reference to some URI by copying an existing Attachment.
- Parameters:
-
attachment the attachment to be duplicated
Definition at line 26 of file attachment.cpp.
Attachment::Attachment | ( | const QString & | uri, | |
const QString & | mime = QString::null | |||
) |
Create a Reference to some URI.
- Parameters:
-
uri the uri this attachment refers to mime the mime type of the resource being linked to
Definition at line 35 of file attachment.cpp.
Attachment::Attachment | ( | const char * | base64, | |
const QString & | mime = QString::null | |||
) |
Create a binary attachment.
- Parameters:
-
base64 the attachment in base64 format mime the mime type of the attachment
Definition at line 44 of file attachment.cpp.
The documentation for this class was generated from the following files: