• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.14.10 API Reference
  • KDE Home
  • Contact Us
 

mailtransport

  • MailTransport
  • ResourceSendJob
Public Member Functions | Protected Member Functions | List of all members
MailTransport::ResourceSendJob Class Reference

#include <resourcesendjob_p.h>

Inheritance diagram for MailTransport::ResourceSendJob:
MailTransport::TransportJob

Public Member Functions

 ResourceSendJob (Transport *transport, QObject *parent=0)
 
virtual ~ResourceSendJob ()
 
- Public Member Functions inherited from MailTransport::TransportJob
virtual ~TransportJob ()
 
void setBcc (const QStringList &bcc)
 
void setCc (const QStringList &cc)
 
void setData (const QByteArray &data)
 
void setSender (const QString &sender)
 
void setTo (const QStringList &to)
 
virtual void start ()
 
Transport * transport () const
 

Protected Member Functions

virtual void doStart ()
 
- Protected Member Functions inherited from MailTransport::TransportJob
 TransportJob (Transport *transport, QObject *parent=0)
 
QStringList bcc () const
 
QBuffer * buffer ()
 
QStringList cc () const
 
QByteArray data () const
 
virtual void doStart ()=0
 
QString sender () const
 
QStringList to () const
 

Detailed Description

Mail transport job for an Akonadi resource-based transport.

This is a wrapper job that makes old applications work with resource-based transports. It calls the appropriate methods in MessageQueueJob, and emits result() as soon as the item is placed in the outbox, since there is no way of monitoring the progress from here.

Deprecated:
Use MessageQueueJob for placing messages in the outbox.
Author
Constantin Berzan exit3.nosp@m.219@.nosp@m.gmail.nosp@m..com
Since
4.4

Definition at line 44 of file resourcesendjob_p.h.

Constructor & Destructor Documentation

◆ ResourceSendJob()

ResourceSendJob::ResourceSendJob ( Transport *  transport,
QObject *  parent = 0 
)
explicit

Creates an ResourceSendJob.

Parameters
transportThe transport object to use.
parentThe parent object.

Definition at line 63 of file resourcesendjob.cpp.

◆ ~ResourceSendJob()

ResourceSendJob::~ResourceSendJob ( )
virtual

Destroys this job.

Definition at line 68 of file resourcesendjob.cpp.

Member Function Documentation

◆ doStart()

void ResourceSendJob::doStart ( )
protectedvirtual

reimpl

Implements MailTransport::TransportJob.

Definition at line 73 of file resourcesendjob.cpp.


The documentation for this class was generated from the following files:
  • resourcesendjob_p.h
  • resourcesendjob.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

mailtransport

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

kdepimlibs-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
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