MailTransport::PrecommandJob Class Reference

Job to execute a command. More...

#include <precommandjob.h>

Inherits KJob.

List of all members.

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]

Executes the precommand.

Reimplemented from KJob.

Definition at line 73 of file precommandjob.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys