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

kleopatra

  • Kleo
  • Crypto
  • Task
Classes | Public Slots | Public Member Functions | Static Public Member Functions | Protected Slots | Protected Member Functions | List of all members
Kleo::Crypto::Task Class Referenceabstract

#include <task.h>

Inheritance diagram for Kleo::Crypto::Task:
Inheritance graph
[legend]

Classes

class  Result
 

Public Slots

virtual void cancel ()=0
 

Public Member Functions

 Task (QObject *parent=0)
 
 ~Task ()
 
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
 
unsigned long long totalSize () const
 

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)
 

Detailed Description

Definition at line 55 of file task.h.

Constructor & Destructor Documentation

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

Definition at line 103 of file task.cpp.

Task::~Task ( )

Definition at line 109 of file task.cpp.

Member Function Documentation

bool Task::asciiArmor ( ) const

Definition at line 116 of file task.cpp.

virtual void Kleo::Crypto::Task::cancel ( )
pure virtualslot

Implemented in Kleo::Crypto::SignEncryptFilesTask, Kleo::Crypto::SignEMailTask, Kleo::Crypto::EncryptEMailTask, and Kleo::Crypto::SimpleTask.

void Task::emitResult ( const boost::shared_ptr< const Task::Result > &  result)
protected

Definition at line 178 of file task.cpp.

int Task::id ( ) const

Definition at line 127 of file task.cpp.

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

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

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

Definition at line 185 of file task.cpp.

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

Definition at line 121 of file task.cpp.

unsigned long long Task::processedSize ( ) const

Definition at line 132 of file task.cpp.

QString Task::progressLabel ( ) const

Definition at line 146 of file task.cpp.

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

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

void Task::setAsciiArmor ( bool  armor)

Definition at line 111 of file task.cpp.

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

Definition at line 151 of file task.cpp.

void Task::start ( )

Definition at line 159 of file task.cpp.

QString Task::tag ( ) const
virtual

Reimplemented in Kleo::Crypto::SignEncryptFilesTask.

Definition at line 142 of file task.cpp.

unsigned long long Task::totalSize ( ) const

Definition at line 137 of file task.cpp.


The documentation for this class was generated from the following files:
  • task.h
  • task.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kleopatra

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

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