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

knode

Public Types | Public Member Functions | Protected Attributes | List of all members
KNAttachment Class Reference

#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

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

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

Definition at line 307 of file knarticle.h.

QString KNAttachment::contentSize ( ) const

Definition at line 360 of file knarticle.cpp.

int KNAttachment::cte ( )
inline

Definition at line 300 of file knarticle.h.

const QString& KNAttachment::description ( )
inline

Definition at line 296 of file knarticle.h.

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

Definition at line 447 of file knarticle.cpp.

QString KNAttachment::encoding ( )
inline

Definition at line 304 of file knarticle.h.

bool KNAttachment::hasChanged ( ) const
inline

Definition at line 310 of file knarticle.h.

bool KNAttachment::isAttached ( ) const
inline

Definition at line 309 of file knarticle.h.

bool KNAttachment::isFixedBase64 ( ) const
inline

Definition at line 303 of file knarticle.h.

QString KNAttachment::mimeType ( )
inline

Definition at line 292 of file knarticle.h.

const QString& KNAttachment::name ( )
inline

Definition at line 288 of file knarticle.h.

void KNAttachment::setCte ( int  e)
inline

Definition at line 301 of file knarticle.h.

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

Definition at line 297 of file knarticle.h.

void KNAttachment::setMimeType ( const QString &  s)

Definition at line 341 of file knarticle.cpp.

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

Definition at line 289 of file knarticle.h.

void KNAttachment::updateContentInfo ( )

Definition at line 375 of file knarticle.cpp.

Member Data Documentation

KMime::Content* KNAttachment::c_ontent
protected

Definition at line 316 of file knarticle.h.

QString KNAttachment::d_escription
protected

Definition at line 320 of file knarticle.h.

KMime::Headers::ContentTransferEncoding KNAttachment::e_ncoding
protected

Definition at line 322 of file knarticle.h.

bool KNAttachment::f_b64
protected

Definition at line 323 of file knarticle.h.

QFile* KNAttachment::f_ile
protected

Definition at line 318 of file knarticle.h.

bool KNAttachment::h_asChanged
protected

Definition at line 323 of file knarticle.h.

bool KNAttachment::i_sAttached
protected

Definition at line 323 of file knarticle.h.

KNLoadHelper* KNAttachment::l_oadHelper
protected

Definition at line 317 of file knarticle.h.

QString KNAttachment::mMimeType
protected

Definition at line 319 of file knarticle.h.

QString KNAttachment::n_ame
protected

Definition at line 320 of file knarticle.h.


The documentation for this class was generated from the following files:
  • knarticle.h
  • knarticle.cpp
This file is part of the KDE documentation.
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.

knode

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal