knode
#include <knarticle.h>
Public Types | |
typedef boost::shared_ptr < KNAttachment > | Ptr |
Public Member Functions | |
KNAttachment (KMime::Content *c) | |
KNAttachment (KNLoadHelper *helper) | |
~KNAttachment () | |
void | attach (KMime::Content *c) |
KMime::Content * | content () const |
QString | contentSize () const |
int | cte () |
const QString & | description () |
void | detach (KMime::Content *c) |
QString | encoding () |
bool | hasChanged () const |
bool | isAttached () const |
bool | isFixedBase64 () const |
QString | mimeType () |
const QString & | name () |
void | setCte (int e) |
void | setDescription (const QString &s) |
void | setMimeType (const QString &s) |
void | setName (const QString &s) |
void | updateContentInfo () |
Protected Attributes | |
KMime::Content * | c_ontent |
QString | d_escription |
KMime::Headers::ContentTransferEncoding | e_ncoding |
bool | f_b64 |
QFile * | f_ile |
bool | h_asChanged |
bool | i_sAttached |
KNLoadHelper * | l_oadHelper |
QString | mMimeType |
QString | n_ame |
Detailed Description
KNAttachment represents a file that is or will be attached to an article.
Definition at line 275 of file knarticle.h.
Member Typedef Documentation
typedef boost::shared_ptr<KNAttachment> KNAttachment::Ptr |
Shared pointer to a KNAttachment.
To be used instead of raw KNAttachment*.
Definition at line 281 of file knarticle.h.
Constructor & Destructor Documentation
|
explicit |
|
explicit |
Definition at line 325 of file knarticle.cpp.
KNAttachment::~KNAttachment | ( | ) |
Definition at line 333 of file knarticle.cpp.
Member Function Documentation
void KNAttachment::attach | ( | KMime::Content * | c | ) |
Definition at line 410 of file knarticle.cpp.
|
inline |
Definition at line 307 of file knarticle.h.
QString KNAttachment::contentSize | ( | ) | const |
Definition at line 360 of file knarticle.cpp.
|
inline |
Definition at line 300 of file knarticle.h.
|
inline |
Definition at line 296 of file knarticle.h.
void KNAttachment::detach | ( | KMime::Content * | c | ) |
Definition at line 447 of file knarticle.cpp.
|
inline |
Definition at line 304 of file knarticle.h.
|
inline |
Definition at line 310 of file knarticle.h.
|
inline |
Definition at line 309 of file knarticle.h.
|
inline |
Definition at line 303 of file knarticle.h.
|
inline |
Definition at line 292 of file knarticle.h.
|
inline |
Definition at line 288 of file knarticle.h.
|
inline |
Definition at line 301 of file knarticle.h.
|
inline |
Definition at line 297 of file knarticle.h.
void KNAttachment::setMimeType | ( | const QString & | s | ) |
Definition at line 341 of file knarticle.cpp.
|
inline |
Definition at line 289 of file knarticle.h.
void KNAttachment::updateContentInfo | ( | ) |
Definition at line 375 of file knarticle.cpp.
Member Data Documentation
|
protected |
Definition at line 316 of file knarticle.h.
|
protected |
Definition at line 320 of file knarticle.h.
|
protected |
Definition at line 322 of file knarticle.h.
|
protected |
Definition at line 323 of file knarticle.h.
|
protected |
Definition at line 318 of file knarticle.h.
|
protected |
Definition at line 323 of file knarticle.h.
|
protected |
Definition at line 323 of file knarticle.h.
|
protected |
Definition at line 317 of file knarticle.h.
|
protected |
Definition at line 319 of file knarticle.h.
|
protected |
Definition at line 320 of file knarticle.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:37 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.