libkdepim Library API Documentation

attachment.cpp

00001 // -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; -*- 00022 #include "attachment.h" 00023 00024 using namespace Komposer; 00025 00026 class Attachment::Private 00027 { 00028 public: 00029 QString name; 00030 QCString cte; 00031 QByteArray data; 00032 QCString type; 00033 QCString subType; 00034 QCString paramAttr; 00035 QString paramValue; 00036 QCString contDisp; 00037 }; 00038 00039 Attachment::Attachment( const QString &name, 00040 const QCString &cte, 00041 const QByteArray &data, 00042 const QCString &type, 00043 const QCString &subType, 00044 const QCString &paramAttr, 00045 const QString &paramValue, 00046 const QCString &contDisp ) 00047 : d( new Private ) 00048 { 00049 d->name = name; 00050 d->cte = cte; 00051 d->data = data; 00052 d->type = type; 00053 d->subType = subType; 00054 d->paramAttr = paramAttr; 00055 d->paramValue = paramValue; 00056 d->contDisp = contDisp; 00057 } 00058 00059 Attachment::~Attachment() 00060 { 00061 delete d; d = 0; 00062 } 00063 00064 QString 00065 Attachment::name() const 00066 { 00067 return d->name; 00068 } 00069 00070 QCString 00071 Attachment::cte() const 00072 { 00073 return d->cte; 00074 } 00075 00076 QByteArray 00077 Attachment::data() const 00078 { 00079 return d->data; 00080 } 00081 00082 QCString 00083 Attachment::type() const 00084 { 00085 return d->type; 00086 } 00087 00088 00089 QCString 00090 Attachment::subType() const 00091 { 00092 return d->subType; 00093 } 00094 00095 QCString 00096 Attachment::paramAttr() const 00097 { 00098 return d->paramAttr; 00099 } 00100 00101 QString 00102 Attachment::paramValue() const 00103 { 00104 return d->paramValue; 00105 } 00106 00107 QCString 00108 Attachment::contentDisposition() const 00109 { 00110 return d->contDisp; 00111 } 00112
KDE Logo
This file is part of the documentation for libkdepim Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Oct 1 15:18:54 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003