• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

mailtransport

smtpjob.h

00001 /*
00002     Copyright (c) 2007 Volker Krause <vkrause@kde.org>
00003 
00004     Based on KMail code by:
00005     Copyright (c) 1996-1998 Stefan Taferner <taferner@kde.org>
00006 
00007     This library is free software; you can redistribute it and/or modify it
00008     under the terms of the GNU Library General Public License as published by
00009     the Free Software Foundation; either version 2 of the License, or (at your
00010     option) any later version.
00011 
00012     This library is distributed in the hope that it will be useful, but WITHOUT
00013     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00014     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00015     License for more details.
00016 
00017     You should have received a copy of the GNU Library General Public License
00018     along with this library; see the file COPYING.LIB.  If not, write to the
00019     Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00020     02110-1301, USA.
00021 */
00022 
00023 #ifndef MAILTRANSPORT_SMTPJOB_H
00024 #define MAILTRANSPORT_SMTPJOB_H
00025 
00026 #include <mailtransport/transportjob.h>
00027 
00028 namespace KIO {
00029 class Job;
00030 class Slave;
00031 }
00032 
00033 class SmtpJobPrivate;
00034 
00035 namespace MailTransport {
00036 
00047 class MAILTRANSPORT_EXPORT SmtpJob : public TransportJob
00048 {
00049   Q_OBJECT
00050   public:
00056     explicit SmtpJob( Transport *transport, QObject *parent = 0 );
00057 
00061     virtual ~SmtpJob();
00062 
00063   protected:
00064     virtual void doStart();
00065     virtual bool doKill();
00066 
00067   protected Q_SLOTS:
00068     virtual void slotResult( KJob *job );
00069     void slaveError( KIO::Slave *slave, int errorCode, const QString &errorMsg );
00070 
00071   private:
00072     void startSmtpJob();
00073 
00074   private Q_SLOTS:
00075     void dataRequest( KIO::Job *job, QByteArray &data );
00076 
00077   private:
00078     SmtpJobPrivate *const d;
00079 };
00080 
00081 }
00082 
00083 #endif

mailtransport

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

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  • kabc
  • kblog
  • kcal
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.7.1
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