• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDE Support
  • Sitemap
  • Contact Us
 

qca

CertItemStore Class Reference

#include <certitem.h>

Inheritance diagram for CertItemStore:
Inheritance graph
[legend]

List of all members.

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

enum CertItemStore::IconType
Enumerator:
IconCert 
IconCrl 
IconKeyBundle 
IconPgpPub 
IconPgpSec 

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.

QList< CertItem > CertItemStore::items (  )  const

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.

void CertItemStore::setIcon ( IconType  type,
const QPixmap &  icon 
)

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:
  • certitem.h
  • certitem.cpp

qca

Skip menu "qca"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDE Support

Skip menu "KDE Support"
  • akonadi
  • Decibel
  • grantlee
  • kdewin
  • phonon
  •     Backend
  • polkit-qt
  • qca
  • qimageblitz
  • soprano
  • strigi
  •     searchclient
  •     streamanalyzer
  •     streams
Generated for KDE Support by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal