libkcal Library API Documentation

KCal::Attachment Class Reference

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

#include <attachment.h>

List of all members.

Public Types

typedef ListBase< Attachment > List

Public Methods

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

References QString::fromUtf8().


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.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat May 1 11:36:23 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003