• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

knode

KNAttachment Class Reference

#include <knarticle.h>

List of all members.


Detailed Description

KNAttachment represents a file that is or will be attached to an article.

Definition at line 304 of file knarticle.h.


Public Member Functions

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
 KNAttachment (KNLoadHelper *helper)
 KNAttachment (KMime::Content *c)
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 ()
 ~KNAttachment ()

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

Constructor & Destructor Documentation

KNAttachment::KNAttachment ( KMime::Content *  c  ) 

KNAttachment::KNAttachment ( KNLoadHelper *  helper  ) 

Definition at line 459 of file knarticle.cpp.

KNAttachment::~KNAttachment (  ) 

Definition at line 467 of file knarticle.cpp.


Member Function Documentation

void KNAttachment::attach ( KMime::Content *  c  ) 

KMime::Content* KNAttachment::content (  )  const [inline]

Definition at line 331 of file knarticle.h.

QString KNAttachment::contentSize (  )  const

Definition at line 494 of file knarticle.cpp.

int KNAttachment::cte (  )  [inline]

Definition at line 324 of file knarticle.h.

const QString& KNAttachment::description (  )  [inline]

Definition at line 320 of file knarticle.h.

void KNAttachment::detach ( KMime::Content *  c  ) 

QString KNAttachment::encoding (  )  [inline]

Definition at line 328 of file knarticle.h.

bool KNAttachment::hasChanged (  )  const [inline]

Definition at line 334 of file knarticle.h.

bool KNAttachment::isAttached (  )  const [inline]

Definition at line 333 of file knarticle.h.

bool KNAttachment::isFixedBase64 (  )  const [inline]

Definition at line 327 of file knarticle.h.

QString KNAttachment::mimeType (  )  [inline]

Definition at line 316 of file knarticle.h.

const QString& KNAttachment::name (  )  [inline]

Definition at line 312 of file knarticle.h.

void KNAttachment::setCte ( int  e  )  [inline]

Definition at line 325 of file knarticle.h.

void KNAttachment::setDescription ( const QString &  s  )  [inline]

Definition at line 321 of file knarticle.h.

void KNAttachment::setMimeType ( const QString &  s  ) 

Definition at line 475 of file knarticle.cpp.

void KNAttachment::setName ( const QString &  s  )  [inline]

Definition at line 313 of file knarticle.h.

void KNAttachment::updateContentInfo (  ) 

Definition at line 520 of file knarticle.cpp.


Member Data Documentation

KMime::Content* KNAttachment::c_ontent [protected]

Definition at line 340 of file knarticle.h.

QString KNAttachment::d_escription [protected]

Definition at line 344 of file knarticle.h.

KMime::Headers::ContentTransferEncoding KNAttachment::e_ncoding [protected]

Definition at line 346 of file knarticle.h.

bool KNAttachment::f_b64 [protected]

Definition at line 347 of file knarticle.h.

QFile* KNAttachment::f_ile [protected]

Definition at line 342 of file knarticle.h.

bool KNAttachment::h_asChanged [protected]

Definition at line 347 of file knarticle.h.

bool KNAttachment::i_sAttached [protected]

Definition at line 347 of file knarticle.h.

KNLoadHelper* KNAttachment::l_oadHelper [protected]

Definition at line 341 of file knarticle.h.

QString KNAttachment::mMimeType [protected]

Definition at line 343 of file knarticle.h.

QString KNAttachment::n_ame [protected]

Definition at line 344 of file knarticle.h.


The documentation for this class was generated from the following files:
  • knarticle.h
  • knarticle.cpp

knode

Skip menu "knode"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal