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 277 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 283 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 309 of file knarticle.h.
QString KNAttachment::contentSize | ( | ) | const |
Definition at line 360 of file knarticle.cpp.
|
inline |
Definition at line 302 of file knarticle.h.
|
inline |
Definition at line 298 of file knarticle.h.
void KNAttachment::detach | ( | KMime::Content * | c | ) |
Definition at line 447 of file knarticle.cpp.
|
inline |
Definition at line 306 of file knarticle.h.
|
inline |
Definition at line 312 of file knarticle.h.
|
inline |
Definition at line 311 of file knarticle.h.
|
inline |
Definition at line 305 of file knarticle.h.
|
inline |
Definition at line 294 of file knarticle.h.
|
inline |
Definition at line 290 of file knarticle.h.
|
inline |
Definition at line 303 of file knarticle.h.
|
inline |
Definition at line 299 of file knarticle.h.
void KNAttachment::setMimeType | ( | const QString & | s | ) |
Definition at line 341 of file knarticle.cpp.
|
inline |
Definition at line 291 of file knarticle.h.
void KNAttachment::updateContentInfo | ( | ) |
Definition at line 375 of file knarticle.cpp.
Member Data Documentation
|
protected |
Definition at line 318 of file knarticle.h.
|
protected |
Definition at line 322 of file knarticle.h.
|
protected |
Definition at line 324 of file knarticle.h.
|
protected |
Definition at line 325 of file knarticle.h.
|
protected |
Definition at line 320 of file knarticle.h.
|
protected |
Definition at line 325 of file knarticle.h.
|
protected |
Definition at line 325 of file knarticle.h.
|
protected |
Definition at line 319 of file knarticle.h.
|
protected |
Definition at line 321 of file knarticle.h.
|
protected |
Definition at line 322 of file knarticle.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.