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

mailtransport

  • mailtransport
precommandjob.h
1/*
2 Copyright (c) 2007 Volker Krause <vkrause@kde.org>
3
4 Based on KMail code by:
5 Copyright (c) 1996-1998 Stefan Taferner <taferner@kde.org>
6 Copyright (c) 2000-2002 Michael Haeckel <haeckel@kde.org>
7
8 This library is free software; you can redistribute it and/or modify it
9 under the terms of the GNU Library General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or (at your
11 option) any later version.
12
13 This library is distributed in the hope that it will be useful, but WITHOUT
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
16 License for more details.
17
18 You should have received a copy of the GNU Library General Public License
19 along with this library; see the file COPYING.LIB. If not, write to the
20 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21 02110-1301, USA.
22*/
23
24#ifndef MAILTRANSPORT_PRECOMMANDJOB_H
25#define MAILTRANSPORT_PRECOMMANDJOB_H
26
27#include "mailtransport/mailtransport_export.h"
28
29#include <KDE/KJob>
30
31class PreCommandJobPrivate;
32
33namespace MailTransport {
34
43class MAILTRANSPORT_EXPORT PrecommandJob : public KJob
44{
45 Q_OBJECT
46
47 public:
53 explicit PrecommandJob( const QString &precommand, QObject *parent = 0 );
54
58 virtual ~PrecommandJob();
59
64 virtual void start();
65
66 protected:
67
71 virtual bool doKill();
72
73 private:
74 friend class ::PreCommandJobPrivate;
75 PreCommandJobPrivate *const d;
76 Q_PRIVATE_SLOT( d, void slotFinished( int, QProcess::ExitStatus ) )
77 Q_PRIVATE_SLOT( d, void slotStarted() )
78 Q_PRIVATE_SLOT( d, void slotError( QProcess::ProcessError error ) )
79};
80
81} // namespace MailTransport
82
83#endif // MAILTRANSPORT_PRECOMMANDJOB_H
MailTransport::PrecommandJob
Job to execute a command.
Definition precommandjob.h:44
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 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