• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • KDE Home
  • Contact Us
 

mailtransport

  • MailTransport
  • PrecommandJob
Public Member Functions | Protected Member Functions

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:
precommandThe command to run.
parentThe 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:
  • precommandjob.h
  • precommandjob.cpp

mailtransport

Skip menu "mailtransport"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.7.3
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