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

mailtransport

  • MailTransport
  • PrecommandJob
Public Member Functions | Protected Member Functions | List of all members
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
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 ( )
protectedvirtual

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
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:49 by doxygen 1.8.7 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 API Reference

Skip menu "kdepimlibs 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

Search



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