mailtransport
MailTransport::PrecommandJob Class Reference
#include <precommandjob.h>
Inherits KJob.
Public Member Functions | |
PrecommandJob (const QString &precommand, QObject *parent=0) | |
virtual | ~PrecommandJob () |
virtual void | start () |
Protected Member Functions | |
virtual bool | doKill () |
Detailed Description
Job to execute a command.
This is used often for sending or receiving mails, for example to set up a tunnel of VPN connection. Basically this is just a KJob wrapper around a QProcess.
- Since:
- 4.4
Definition at line 43 of file precommandjob.h.
Constructor & Destructor Documentation
PrecommandJob::PrecommandJob | ( | const QString & | precommand, |
QObject * | parent = 0 |
||
) | [explicit] |
Creates a new precommand job.
- Parameters:
-
precommand The command to run. parent The parent object.
Definition at line 56 of file precommandjob.cpp.
PrecommandJob::~PrecommandJob | ( | ) | [virtual] |
Destroys this job.
Definition at line 68 of file precommandjob.cpp.
Member Function Documentation
bool PrecommandJob::doKill | ( | ) | [protected, virtual] |
Reimplemented from KJob.
Definition at line 95 of file precommandjob.cpp.
void PrecommandJob::start | ( | ) | [virtual] |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 7 2012 23:59:00 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 7 2012 23:59:00 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.