kleopatra
#include <useridlistmodel.h>
Public Types | |
enum | Columns { PrettyName, PrettyEMail, ValidFrom, ValidUntil, Status, ID, NumColumns, Icon = PrettyName } |
Public Slots | |
void | clear () |
void | setKey (const GpgME::Key &key) |
Public Member Functions | |
UserIDListModel (QObject *parent=0) | |
~UserIDListModel () | |
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::UserID &userID, int col=0) const |
QModelIndex | index (const GpgME::UserID::Signature &signature, int col=0) const |
QModelIndex | index (int row, int col, const QModelIndex &parent=QModelIndex()) const |
QList< QModelIndex > | indexes (const std::vector< GpgME::UserID > &userIDs, int col=0) const |
QList< QModelIndex > | indexes (const std::vector< GpgME::UserID::Signature > &signatures, int col=0) const |
GpgME::Key | key () const |
QModelIndex | parent (const QModelIndex &index) const |
int | rowCount (const QModelIndex &pidx=QModelIndex()) const |
GpgME::UserID::Signature | signature (const QModelIndex &idx) const |
std::vector < GpgME::UserID::Signature > | signatures (const QList< QModelIndex > &indexes) const |
GpgME::UserID | userID (const QModelIndex &idx, bool strict=false) const |
std::vector< GpgME::UserID > | userIDs (const QList< QModelIndex > &indexes, bool strict=false) const |
Detailed Description
Definition at line 45 of file useridlistmodel.h.
Member Enumeration Documentation
Enumerator | |
---|---|
PrettyName | |
PrettyEMail | |
ValidFrom | |
ValidUntil | |
Status | |
ID | |
NumColumns | |
Icon |
Definition at line 53 of file useridlistmodel.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 84 of file useridlistmodel.cpp.
UserIDListModel::~UserIDListModel | ( | ) |
Definition at line 90 of file useridlistmodel.cpp.
Member Function Documentation
|
slot |
Definition at line 199 of file useridlistmodel.cpp.
int UserIDListModel::columnCount | ( | const QModelIndex & | pidx = QModelIndex() | ) | const |
Definition at line 204 of file useridlistmodel.cpp.
QVariant UserIDListModel::data | ( | const QModelIndex & | index, |
int | role = Qt::DisplayRole |
||
) | const |
Definition at line 259 of file useridlistmodel.cpp.
QVariant UserIDListModel::headerData | ( | int | section, |
Qt::Orientation | o, | ||
int | role = Qt::DisplayRole |
||
) | const |
Definition at line 244 of file useridlistmodel.cpp.
QModelIndex Kleo::UserIDListModel::index | ( | const GpgME::UserID & | userID, |
int | col = 0 |
||
) | const |
QModelIndex Kleo::UserIDListModel::index | ( | const GpgME::UserID::Signature & | signature, |
int | col = 0 |
||
) | const |
QModelIndex UserIDListModel::index | ( | int | row, |
int | col, | ||
const QModelIndex & | parent = QModelIndex() |
||
) | const |
Definition at line 216 of file useridlistmodel.cpp.
QList<QModelIndex> Kleo::UserIDListModel::indexes | ( | const std::vector< GpgME::UserID > & | userIDs, |
int | col = 0 |
||
) | const |
QList<QModelIndex> Kleo::UserIDListModel::indexes | ( | const std::vector< GpgME::UserID::Signature > & | signatures, |
int | col = 0 |
||
) | const |
Key UserIDListModel::key | ( | ) | const |
Definition at line 93 of file useridlistmodel.cpp.
QModelIndex UserIDListModel::parent | ( | const QModelIndex & | index | ) | const |
Definition at line 237 of file useridlistmodel.cpp.
int UserIDListModel::rowCount | ( | const QModelIndex & | pidx = QModelIndex() | ) | const |
Definition at line 208 of file useridlistmodel.cpp.
|
slot |
Definition at line 98 of file useridlistmodel.cpp.
UserID::Signature UserIDListModel::signature | ( | const QModelIndex & | idx | ) | const |
Definition at line 146 of file useridlistmodel.cpp.
std::vector< UserID::Signature > UserIDListModel::signatures | ( | const QList< QModelIndex > & | indexes | ) | const |
Definition at line 153 of file useridlistmodel.cpp.
UserID UserIDListModel::userID | ( | const QModelIndex & | idx, |
bool | strict = false |
||
) | const |
Definition at line 129 of file useridlistmodel.cpp.
std::vector< UserID > UserIDListModel::userIDs | ( | const QList< QModelIndex > & | indexes, |
bool | strict = false |
||
) | const |
Definition at line 137 of file useridlistmodel.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.