• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kleopatra

Kleo::Crypto::Task

Kleo::Crypto::Task Class Reference

#include <task.h>

Inheritance diagram for Kleo::Crypto::Task:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 51 of file task.h.


Public Slots

virtual void cancel ()=0

Public Member Functions

bool asciiArmor () const
int id () const
virtual QString label () const =0
unsigned long long processedSize () const
QString progressLabel () const
virtual GpgME::Protocol protocol () const =0
void setAsciiArmor (bool armor)
void start ()
virtual QString tag () const
 Task (QObject *parent=0)
unsigned long long totalSize () const
 ~Task ()

Static Public Member Functions

static boost::shared_ptr< Task > makeErrorTask (int code, const QString &details, const QString &label)

Protected Slots

void setProgress (const QString &msg, int processed, int total)

Protected Member Functions

void emitResult (const boost::shared_ptr< const Task::Result > &result)
boost::shared_ptr< Result > makeErrorResult (int errCode, const QString &details)

Classes

class  Result

Constructor & Destructor Documentation

Task::Task ( QObject *  parent = 0  )  [explicit]

Definition at line 101 of file task.cpp.

Task::~Task (  ) 

Definition at line 107 of file task.cpp.


Member Function Documentation

bool Task::asciiArmor (  )  const

Definition at line 114 of file task.cpp.

virtual void Kleo::Crypto::Task::cancel (  )  [pure virtual, slot]

Implemented in Kleo::Crypto::DecryptTask, Kleo::Crypto::VerifyDetachedTask, Kleo::Crypto::VerifyOpaqueTask, Kleo::Crypto::DecryptVerifyTask, Kleo::Crypto::EncryptEMailTask, Kleo::Crypto::SignEMailTask, and Kleo::Crypto::SignEncryptFilesTask.

void Kleo::Crypto::Task::emitResult ( const boost::shared_ptr< const Task::Result > &  result  )  [protected]

int Task::id (  )  const

Definition at line 125 of file task.cpp.

virtual QString Kleo::Crypto::Task::label (  )  const [pure virtual]

Implemented in Kleo::Crypto::DecryptTask, Kleo::Crypto::VerifyDetachedTask, Kleo::Crypto::VerifyOpaqueTask, Kleo::Crypto::DecryptVerifyTask, Kleo::Crypto::EncryptEMailTask, Kleo::Crypto::SignEMailTask, and Kleo::Crypto::SignEncryptFilesTask.

shared_ptr< Task::Result > Task::makeErrorResult ( int  errCode,
const QString &  details 
) [protected]

Definition at line 183 of file task.cpp.

shared_ptr< Task > Task::makeErrorTask ( int  code,
const QString &  details,
const QString &  label 
) [static]

Definition at line 119 of file task.cpp.

unsigned long long Task::processedSize (  )  const

Definition at line 130 of file task.cpp.

QString Task::progressLabel (  )  const

Definition at line 144 of file task.cpp.

virtual GpgME::Protocol Kleo::Crypto::Task::protocol (  )  const [pure virtual]

Implemented in Kleo::Crypto::DecryptTask, Kleo::Crypto::VerifyDetachedTask, Kleo::Crypto::VerifyOpaqueTask, Kleo::Crypto::DecryptVerifyTask, Kleo::Crypto::EncryptEMailTask, Kleo::Crypto::SignEMailTask, and Kleo::Crypto::SignEncryptFilesTask.

void Task::setAsciiArmor ( bool  armor  ) 

Definition at line 109 of file task.cpp.

void Task::setProgress ( const QString &  msg,
int  processed,
int  total 
) [protected, slot]

Definition at line 149 of file task.cpp.

void Task::start (  ) 

Definition at line 157 of file task.cpp.

QString Task::tag (  )  const [virtual]

Reimplemented in Kleo::Crypto::SignEncryptFilesTask.

Definition at line 140 of file task.cpp.

unsigned long long Task::totalSize (  )  const

Definition at line 135 of file task.cpp.


The documentation for this class was generated from the following files:
  • task.h
  • task.cpp

kleopatra

Skip menu "kleopatra"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
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