libkcal Library API Documentation

KCal::Attachment Class Reference

This class represents information related to an attachment. More...

#include <attachment.h>

Collaboration diagram for KCal::Attachment:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ListBase< AttachmentList

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)

Detailed Description

This class represents information related to an attachment.

Definition at line 33 of file attachment.h.


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.

References mBinary, mData, and mMimeType.

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 33 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 40 of file attachment.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for libkcal Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Jan 31 15:52:20 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003