• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

kleopatra

  • Kleo
  • UserIDListModel
Public Types | Public Slots | Public Member Functions | List of all members
Kleo::UserIDListModel Class Reference

#include <useridlistmodel.h>

Inheritance diagram for Kleo::UserIDListModel:
Inheritance graph
[legend]

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

enum Kleo::UserIDListModel::Columns
Enumerator
PrettyName 
PrettyEMail 
ValidFrom 
ValidUntil 
Status 
ID 
NumColumns 
Icon 

Definition at line 53 of file useridlistmodel.h.

Constructor & Destructor Documentation

UserIDListModel::UserIDListModel ( QObject *  parent = 0)
explicit

Definition at line 84 of file useridlistmodel.cpp.

UserIDListModel::~UserIDListModel ( )

Definition at line 90 of file useridlistmodel.cpp.

Member Function Documentation

void UserIDListModel::clear ( )
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.

void UserIDListModel::setKey ( const GpgME::Key &  key)
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:
  • useridlistmodel.h
  • useridlistmodel.cpp
This file is part of the KDE documentation.
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.

kleopatra

Skip menu "kleopatra"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal