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

kleopatra

  • Kleo
  • SubkeyListModel
Public Types | Public Slots | Public Member Functions | List of all members
Kleo::SubkeyListModel Class Reference

#include <subkeylistmodel.h>

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

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

 SubkeyListModel (QObject *parent=0)
 
 ~SubkeyListModel ()
 
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
 
std::vector< GpgME::Subkey > subkeys (const QList< QModelIndex > &indexes) const
 

Detailed Description

Definition at line 48 of file subkeylistmodel.h.

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 SubkeyListModel::index ( const GpgME::Subkey &  subkey,
int  col = 0 
) const

Definition at line 120 of file subkeylistmodel.cpp.

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

Definition at line 128 of file subkeylistmodel.cpp.

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 SubkeyListModel::setKey ( const GpgME::Key &  key)
slot

Definition at line 82 of file subkeylistmodel.cpp.

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
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