kleopatra
Kleo::SubkeyListModel Class Reference
#include <subkeylistmodel.h>
Inheritance diagram for Kleo::SubkeyListModel:

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
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:
KDE 4.2 API Reference