• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdeutils
  • Sitemap
  • Contact Us
 

kgpg

KeyListProxyModel Class Reference

#include <keylistproxymodel.h>

Inheritance diagram for KeyListProxyModel:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 29 of file keylistproxymodel.h.


Public Member Functions

virtual QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
KGpgItemModel * getModel () const
virtual bool hasChildren (const QModelIndex &idx) const
int idLength () const
 KeyListProxyModel (QObject *parent=0)
KGpgNode * nodeForIndex (const QModelIndex &index) const
QModelIndex nodeIndex (KGpgNode *node)
void setIdLength (const int &length)
void setKeyModel (KGpgItemModel *)
void setOnlySecret (const bool &b)
void setPreviewSize (const int &pixel)
void setTrustFilter (const KgpgCore::KgpgKeyTrustFlag &t)

Protected Member Functions

virtual bool filterAcceptsRow (int source_row, const QModelIndex &source_parent) const
virtual bool lessThan (const QModelIndex &left, const QModelIndex &right) const

Properties

int idLength

Constructor & Destructor Documentation

KeyListProxyModel::KeyListProxyModel ( QObject *  parent = 0  )  [explicit]

Definition at line 29 of file keylistproxymodel.cpp.


Member Function Documentation

QVariant KeyListProxyModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const [virtual]

Definition at line 236 of file keylistproxymodel.cpp.

bool KeyListProxyModel::filterAcceptsRow ( int  source_row,
const QModelIndex &  source_parent 
) const [protected, virtual]

Definition at line 167 of file keylistproxymodel.cpp.

KGpgItemModel* KeyListProxyModel::getModel (  )  const [inline]

Definition at line 52 of file keylistproxymodel.h.

bool KeyListProxyModel::hasChildren ( const QModelIndex &  idx  )  const [virtual]

Definition at line 38 of file keylistproxymodel.cpp.

int KeyListProxyModel::idLength (  )  const [inline]

Definition at line 54 of file keylistproxymodel.h.

bool KeyListProxyModel::lessThan ( const QModelIndex &  left,
const QModelIndex &  right 
) const [protected, virtual]

Definition at line 51 of file keylistproxymodel.cpp.

KGpgNode * KeyListProxyModel::nodeForIndex ( const QModelIndex &  index  )  const

Definition at line 216 of file keylistproxymodel.cpp.

QModelIndex KeyListProxyModel::nodeIndex ( KGpgNode *  node  ) 

Definition at line 222 of file keylistproxymodel.cpp.

void KeyListProxyModel::setIdLength ( const int &  length  ) 

Definition at line 261 of file keylistproxymodel.cpp.

void KeyListProxyModel::setKeyModel ( KGpgItemModel *  md  ) 

Definition at line 44 of file keylistproxymodel.cpp.

void KeyListProxyModel::setOnlySecret ( const bool &  b  ) 

Definition at line 202 of file keylistproxymodel.cpp.

void KeyListProxyModel::setPreviewSize ( const int &  pixel  ) 

Definition at line 228 of file keylistproxymodel.cpp.

void KeyListProxyModel::setTrustFilter ( const KgpgCore::KgpgKeyTrustFlag &  t  ) 

set the minimum trust level to be shown

Parameters:
t trust level
This enables filtering by key trust. All keys that have a lower trust than the given value will be hidden.

Definition at line 209 of file keylistproxymodel.cpp.


Property Documentation

int KeyListProxyModel::idLength [read, write]

Definition at line 31 of file keylistproxymodel.h.


The documentation for this class was generated from the following files:
  • keylistproxymodel.h
  • keylistproxymodel.cpp

kgpg

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

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • okteta
  • printer-applet
  • superkaramba
  • sweeper
Generated for kdeutils by doxygen 1.5.4
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