qca
CertItemStore Class Reference
#include <certitem.h>

Public Types | |
| enum | IconType { IconCert, IconCrl, IconKeyBundle, IconPgpPub, IconPgpSec } |
Signals | |
| void | addFailed (int reqId) |
| void | addSuccess (int reqId, int id) |
Public Member Functions | |
| CertItemStore (QObject *parent=0) | |
| ~CertItemStore () | |
| int | addFromFile (const QString &fileName) |
| int | addFromKeyStore (const QCA::KeyStoreEntry &entry) |
| int | addUser (const QCA::CertificateChain &chain) |
| QVariant | data (const QModelIndex &index, int role) const |
| Qt::ItemFlags | flags (const QModelIndex &index) const |
| int | idFromRow (int row) const |
| CertItem | itemFromId (int id) const |
| CertItem | itemFromRow (int row) const |
| QList< CertItem > | items () const |
| bool | load (const QStringList &in) |
| void | removeItem (int id) |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| int | rowFromId (int id) const |
| QStringList | save () const |
| bool | setData (const QModelIndex &index, const QVariant &value, int role) |
| void | setIcon (IconType type, const QPixmap &icon) |
| void | updateChain (int id, const QCA::CertificateChain &chain) |
Detailed Description
Definition at line 72 of file certitem.h.
Member Enumeration Documentation
Definition at line 76 of file certitem.h.
Constructor & Destructor Documentation
| CertItemStore::CertItemStore | ( | QObject * | parent = 0 |
) |
Definition at line 427 of file certitem.cpp.
| CertItemStore::~CertItemStore | ( | ) |
Definition at line 433 of file certitem.cpp.
Member Function Documentation
| void CertItemStore::addFailed | ( | int | reqId | ) | [signal] |
| int CertItemStore::addFromFile | ( | const QString & | fileName | ) |
Definition at line 502 of file certitem.cpp.
| int CertItemStore::addFromKeyStore | ( | const QCA::KeyStoreEntry & | entry | ) |
Definition at line 514 of file certitem.cpp.
| void CertItemStore::addSuccess | ( | int | reqId, | |
| int | id | |||
| ) | [signal] |
| int CertItemStore::addUser | ( | const QCA::CertificateChain & | chain | ) |
Definition at line 544 of file certitem.cpp.
| QVariant CertItemStore::data | ( | const QModelIndex & | index, | |
| int | role | |||
| ) | const |
Definition at line 594 of file certitem.cpp.
| Qt::ItemFlags CertItemStore::flags | ( | const QModelIndex & | index | ) | const |
Definition at line 625 of file certitem.cpp.
| int CertItemStore::idFromRow | ( | int | row | ) | const |
Definition at line 438 of file certitem.cpp.
| CertItem CertItemStore::itemFromId | ( | int | id | ) | const |
Definition at line 453 of file certitem.cpp.
| CertItem CertItemStore::itemFromRow | ( | int | row | ) | const |
Definition at line 458 of file certitem.cpp.
Definition at line 463 of file certitem.cpp.
| bool CertItemStore::load | ( | const QStringList & | in | ) |
Definition at line 476 of file certitem.cpp.
| void CertItemStore::removeItem | ( | int | id | ) |
Definition at line 573 of file certitem.cpp.
| int CertItemStore::rowCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const |
Definition at line 588 of file certitem.cpp.
| int CertItemStore::rowFromId | ( | int | id | ) | const |
Definition at line 443 of file certitem.cpp.
| QStringList CertItemStore::save | ( | ) | const |
Definition at line 468 of file certitem.cpp.
| bool CertItemStore::setData | ( | const QModelIndex & | index, | |
| const QVariant & | value, | |||
| int | role | |||
| ) |
Definition at line 633 of file certitem.cpp.
Definition at line 583 of file certitem.cpp.
| void CertItemStore::updateChain | ( | int | id, | |
| const QCA::CertificateChain & | chain | |||
| ) |
Definition at line 567 of file certitem.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference