kleopatra
#include <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 | |
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
Enumerator | |
---|---|
ID | |
Type | |
ValidFrom | |
ValidUntil | |
Status | |
Bits | |
NumColumns | |
Icon |
Definition at line 56 of file subkeylistmodel.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 68 of file subkeylistmodel.cpp.
SubkeyListModel::~SubkeyListModel | ( | ) |
Definition at line 74 of file subkeylistmodel.cpp.
Member Function Documentation
|
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.
|
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:
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.