mailtransport
sendmailjob.h
00001 /* 00002 Copyright (c) 2007 Volker Krause <vkrause@kde.org> 00003 Copyright (c) 2007 KovoKs <kovoks@kovoks.nl> 00004 00005 Based on KMail code by: 00006 Copyright (c) 1996-1998 Stefan Taferner <taferner@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_SENDMAILJOB_H 00025 #define MAILTRANSPORT_SENDMAILJOB_H 00026 00027 #include <mailtransport/transportjob.h> 00028 00029 #include <QtCore/QProcess> 00030 00031 class SendMailJobPrivate; 00032 00033 namespace MailTransport { 00034 00040 class MAILTRANSPORT_EXPORT_DEPRECATED SendmailJob : public TransportJob 00041 { 00042 Q_OBJECT 00043 public: 00049 explicit SendmailJob( Transport *transport, QObject *parent = 0 ); 00050 00054 virtual ~SendmailJob(); 00055 00056 protected: 00057 virtual void doStart(); 00058 virtual bool doKill(); 00059 00060 private Q_SLOTS: 00061 void sendmailExited( int, QProcess::ExitStatus ); 00062 void receivedError(); 00063 void receivedStdErr(); 00064 00065 private: 00066 SendMailJobPrivate *const d; 00067 }; 00068 00069 } // namespace MailTransport 00070 00071 #endif // MAILTRANSPORT_SENDMAILJOB_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 14 2012 04:49:32 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 14 2012 04:49:32 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.