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

kleopatra

Kleo::Command

Kleo::Command Class Reference

#include <command.h>

Inheritance diagram for Kleo::Command:

Inheritance graph
[legend]

List of all members.


Detailed Description

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


Public Types

enum  Restriction {
  NoRestriction = 0, NeedSelection = 1, OnlyOneKey = 2, NeedSecretKey = 4,
  MustNotBeSecretKey = 8, MustBeOpenPGP = 16, MustBeCMS = 32, MayOnlyBeSecretKeyIfOwnerTrustIsNotYetUltimate = 64,
  _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

bool autoDelete () const
 Command (const std::vector< GpgME::Key > &keys)
 Command (const GpgME::Key &key)
 Command (QAbstractItemView *view, KeyListController *parent)
 Command (KeyListController *parent)
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 setView (QAbstractItemView *view)
void setWarnWhenRunningAtShutdown (bool warn)
bool warnWhenRunningAtShutdown () const
 ~Command ()

Static Public Member Functions

static Restrictions restrictions ()

Protected Member Functions

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

Protected Attributes

kdtools::pimpl_ptr< Private > d

Member Enumeration Documentation

enum Kleo::Command::Restriction

Enumerator:
NoRestriction 
NeedSelection 
OnlyOneKey 
NeedSecretKey 
MustNotBeSecretKey 
MustBeOpenPGP 
MustBeCMS 
MayOnlyBeSecretKeyIfOwnerTrustIsNotYetUltimate 
_AllRestrictions_Helper 
AllRestrictions 

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


Constructor & Destructor Documentation

Command::Command ( KeyListController *  parent  )  [explicit]

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

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

Definition at line 67 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 116 of file commands/command.cpp.

Command::Command ( Private *  pp  )  [explicit, protected]

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

Command::Command ( QAbstractItemView *  view,
Private *  pp 
) [explicit, protected]

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

Kleo::Command::Command ( const std::vector< GpgME::Key > &  keys,
Private *  pp 
) [explicit, protected]

Kleo::Command::Command ( const GpgME::Key &  key,
Private *  pp 
) [explicit, protected]


Member Function Documentation

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

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

bool Command::autoDelete (  )  const

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

void Command::cancel (  )  [slot]

Definition at line 176 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 (  )  [inline, static]

Reimplemented in Kleo::Commands::AddUserIDCommand, Kleo::Commands::CertifyCertificateCommand, Kleo::Commands::ChangeExpiryCommand, Kleo::Commands::ChangeOwnerTrustCommand, Kleo::Commands::ChangePassphraseCommand, Kleo::DeleteCertificatesCommand, Kleo::Commands::DetailsCommand, Kleo::Commands::DumpCertificateCommand, Kleo::ExportCertificateCommand, Kleo::Commands::ExportOpenPGPCertsToServerCommand, and Kleo::Commands::ExportSecretKeyCommand.

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

void Command::setAutoDelete ( bool  on  ) 

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

void Command::setIndex ( const QModelIndex &  idx  ) 

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

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

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

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

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

void Command::setView ( QAbstractItemView *  view  ) 

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

void Command::setWarnWhenRunningAtShutdown ( bool  warn  ) 

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

void Command::start (  )  [slot]

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

bool Command::warnWhenRunningAtShutdown (  )  const

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


Member Data Documentation

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

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


The documentation for this class was generated from the following files:
  • commands/command.h
  • commands/command.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
  •   doc
  • 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