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

kleopatra

Kleo::SubkeyListModel

Kleo::SubkeyListModel Class Reference

#include <subkeylistmodel.h>

Inheritance diagram for Kleo::SubkeyListModel:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 48 of file subkeylistmodel.h.


Public Types

enum  Columns {
  ID, Type, ValidFrom, ValidUntil,
  Status, Bits, NumColumns, Icon = ID
}

Public Slots

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

Public Member Functions

int columnCount (const QModelIndex &pidx=QModelIndex()) const
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
QVariant headerData (int section, Qt::Orientation o, int role=Qt::DisplayRole) const
QModelIndex index (const GpgME::Subkey &subkey, int col=0) const
QList< QModelIndex > indexes (const std::vector< GpgME::Subkey > &subkeys) const
GpgME::Key key () const
int rowCount (const QModelIndex &pidx=QModelIndex()) const
GpgME::Subkey subkey (const QModelIndex &idx) const
 SubkeyListModel (QObject *parent=0)
std::vector< GpgME::Subkey > subkeys (const QList< QModelIndex > &indexes) const
 ~SubkeyListModel ()

Member Enumeration Documentation

enum Kleo::SubkeyListModel::Columns

Enumerator:
ID 
Type 
ValidFrom 
ValidUntil 
Status 
Bits 
NumColumns 
Icon 

Definition at line 56 of file subkeylistmodel.h.


Constructor & Destructor Documentation

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

Definition at line 68 of file subkeylistmodel.cpp.

SubkeyListModel::~SubkeyListModel (  ) 

Definition at line 74 of file subkeylistmodel.cpp.


Member Function Documentation

void SubkeyListModel::clear (  )  [slot]

Definition at line 139 of file subkeylistmodel.cpp.

int SubkeyListModel::columnCount ( const QModelIndex &  pidx = QModelIndex()  )  const

Definition at line 144 of file subkeylistmodel.cpp.

QVariant SubkeyListModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const

Definition at line 167 of file subkeylistmodel.cpp.

QVariant SubkeyListModel::headerData ( int  section,
Qt::Orientation  o,
int  role = Qt::DisplayRole 
) const

Definition at line 152 of file subkeylistmodel.cpp.

QModelIndex Kleo::SubkeyListModel::index ( const GpgME::Subkey &  subkey,
int  col = 0 
) const

QList<QModelIndex> Kleo::SubkeyListModel::indexes ( const std::vector< GpgME::Subkey > &  subkeys  )  const

Key SubkeyListModel::key (  )  const

Definition at line 77 of file subkeylistmodel.cpp.

int SubkeyListModel::rowCount ( const QModelIndex &  pidx = QModelIndex()  )  const

Definition at line 148 of file subkeylistmodel.cpp.

void Kleo::SubkeyListModel::setKey ( const GpgME::Key &  key  )  [slot]

Subkey SubkeyListModel::subkey ( const QModelIndex &  idx  )  const

Definition at line 104 of file subkeylistmodel.cpp.

std::vector< Subkey > SubkeyListModel::subkeys ( const QList< QModelIndex > &  indexes  )  const

Definition at line 111 of file subkeylistmodel.cpp.


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