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

mailtransport

precommandjob.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     Copyright (c) 2000-2002 Michael Haeckel <haeckel@kde.org>
00007 
00008     This library is free software; you can redistribute it and/or modify it
00009     under the terms of the GNU Library General Public License as published by
00010     the Free Software Foundation; either version 2 of the License, or (at your
00011     option) any later version.
00012 
00013     This library is distributed in the hope that it will be useful, but WITHOUT
00014     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00015     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00016     License for more details.
00017 
00018     You should have received a copy of the GNU Library General Public License
00019     along with this library; see the file COPYING.LIB.  If not, write to the
00020     Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00021     02110-1301, USA.
00022 */
00023 
00024 #ifndef MAILTRANSPORT_PRECOMMANDJOB_H
00025 #define MAILTRANSPORT_PRECOMMANDJOB_H
00026 
00027 #include <kjob.h>
00028 
00029 #include <QProcess>
00030 
00031 class PreCommandJobPrivate;
00032 
00033 namespace MailTransport {
00034 
00038 class PrecommandJob : public KJob
00039 {
00040   Q_OBJECT
00041 
00042   public:
00048     explicit PrecommandJob( const QString &precommand, QObject *parent = 0 );
00049 
00053     virtual ~PrecommandJob();
00054 
00058     virtual void start();
00059 
00060   protected:
00061     virtual bool doKill();
00062 
00063   private slots:
00064     void slotFinished( int, QProcess::ExitStatus );
00065     void slotStarted();
00066     void slotError( QProcess::ProcessError error );
00067 
00068   private:
00069     PreCommandJobPrivate *const d;
00070 };
00071 
00072 }
00073 
00074 #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.6
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