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

kleopatra

  • Kleo
  • Command
Classes | Public Types | Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Kleo::Command Class Referenceabstract

#include <command.h>

Inheritance diagram for Kleo::Command:
Inheritance graph
[legend]

Classes

class  Private
 

Public Types

enum  Restriction {
  NoRestriction = 0, NeedSelection = 1, OnlyOneKey = 2, NeedSecretKey = 4,
  MustNotBeSecretKey = 8, MustBeOpenPGP = 16, MustBeCMS = 32, MayOnlyBeSecretKeyIfOwnerTrustIsNotYetUltimate = 64,
  AnyCardHasNullPin = 128, AnyCardCanLearnKeys = 256, MustBeRoot = 512, MustBeTrustedRoot = 1024|MustBeRoot,
  MustBeUntrustedRoot = 2048|MustBeRoot, _AllRestrictions_Helper, AllRestrictions = 2*(_AllRestrictions_Helper-1) - 1
}
 

Public Slots

void cancel ()
 
void start ()
 

Signals

void canceled ()
 
void finished ()
 
void info (const QString &message, int timeout=0)
 
void progress (const QString &message, int current, int total)
 

Public Member Functions

 Command (KeyListController *parent)
 
 Command (QAbstractItemView *view, KeyListController *parent)
 
 Command (const GpgME::Key &key)
 
 Command (const std::vector< GpgME::Key > &keys)
 
 ~Command ()
 
bool autoDelete () const
 
void setAutoDelete (bool on)
 
void setIndex (const QModelIndex &idx)
 
void setIndexes (const QList< QModelIndex > &idx)
 
void setKey (const GpgME::Key &key)
 
void setKeys (const std::vector< GpgME::Key > &keys)
 
void setParentWId (WId wid)
 
void setParentWidget (QWidget *widget)
 
void setView (QAbstractItemView *view)
 
void setWarnWhenRunningAtShutdown (bool warn)
 
bool warnWhenRunningAtShutdown () const
 
- Public Member Functions inherited from Kleo::ExecutionContext
virtual ~ExecutionContext ()
 

Static Public Member Functions

static Restrictions restrictions ()
 

Protected Member Functions

 Command (Private *pp)
 
 Command (QAbstractItemView *view, Private *pp)
 
 Command (const std::vector< GpgME::Key > &keys, Private *pp)
 
 Command (const GpgME::Key &key, Private *pp)
 
void addTemporaryView (const QString &title, AbstractKeyListSortFilterProxyModel *proxy=0, const QString &tabToolTip=QString())
 

Protected Attributes

kdtools::pimpl_ptr< Private > d
 

Detailed Description

Definition at line 58 of file commands/command.h.

Member Enumeration Documentation

enum Kleo::Command::Restriction
Enumerator
NoRestriction 
NeedSelection 
OnlyOneKey 
NeedSecretKey 
MustNotBeSecretKey 
MustBeOpenPGP 
MustBeCMS 
MayOnlyBeSecretKeyIfOwnerTrustIsNotYetUltimate 
AnyCardHasNullPin 
AnyCardCanLearnKeys 
MustBeRoot 
MustBeTrustedRoot 
MustBeUntrustedRoot 
_AllRestrictions_Helper 
AllRestrictions 

Definition at line 67 of file commands/command.h.

Constructor & Destructor Documentation

Command::Command ( KeyListController *  parent)
explicit

Definition at line 62 of file commands/command.cpp.

Command::Command ( QAbstractItemView *  view,
KeyListController *  parent 
)
explicit

Definition at line 69 of file commands/command.cpp.

Kleo::Command::Command ( const GpgME::Key &  key)
explicit
Kleo::Command::Command ( const std::vector< GpgME::Key > &  keys)
explicit
Command::~Command ( )

Definition at line 118 of file commands/command.cpp.

Command::Command ( Private *  pp)
explicitprotected

Definition at line 78 of file commands/command.cpp.

Command::Command ( QAbstractItemView *  view,
Private *  pp 
)
explicitprotected

Definition at line 85 of file commands/command.cpp.

Kleo::Command::Command ( const std::vector< GpgME::Key > &  keys,
Private *  pp 
)
explicitprotected
Kleo::Command::Command ( const GpgME::Key &  key,
Private *  pp 
)
explicitprotected

Member Function Documentation

void Command::addTemporaryView ( const QString &  title,
AbstractKeyListSortFilterProxyModel *  proxy = 0,
const QString &  tabToolTip = QString() 
)
protected

Definition at line 192 of file commands/command.cpp.

bool Command::autoDelete ( ) const

Definition at line 124 of file commands/command.cpp.

void Command::cancel ( )
slot

Definition at line 186 of file commands/command.cpp.

void Kleo::Command::canceled ( )
signal
void Kleo::Command::finished ( )
signal
void Kleo::Command::info ( const QString &  message,
int  timeout = 0 
)
signal
void Kleo::Command::progress ( const QString &  message,
int  current,
int  total 
)
signal
static Restrictions Kleo::Command::restrictions ( )
inlinestatic

Definition at line 92 of file commands/command.h.

void Command::setAutoDelete ( bool  on)

Definition at line 120 of file commands/command.cpp.

void Command::setIndex ( const QModelIndex &  idx)

Definition at line 162 of file commands/command.cpp.

void Command::setIndexes ( const QList< QModelIndex > &  idx)

Definition at line 167 of file commands/command.cpp.

void Command::setKey ( const GpgME::Key &  key)

Definition at line 172 of file commands/command.cpp.

void Command::setKeys ( const std::vector< GpgME::Key > &  keys)

Definition at line 178 of file commands/command.cpp.

void Command::setParentWId ( WId  wid)

Definition at line 140 of file commands/command.cpp.

void Command::setParentWidget ( QWidget *  widget)

Definition at line 136 of file commands/command.cpp.

void Command::setView ( QAbstractItemView *  view)

Definition at line 144 of file commands/command.cpp.

void Command::setWarnWhenRunningAtShutdown ( bool  warn)

Definition at line 128 of file commands/command.cpp.

void Command::start ( )
slot

Definition at line 182 of file commands/command.cpp.

bool Command::warnWhenRunningAtShutdown ( ) const

Definition at line 132 of file commands/command.cpp.

Member Data Documentation

kdtools::pimpl_ptr<Private> Kleo::Command::d
protected

Definition at line 129 of file commands/command.h.


The documentation for this class was generated from the following files:
  • commands/command.h
  • commands/command.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:42 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