kgpg
KeyListProxyModel Class Reference
#include <keylistproxymodel.h>

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
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:
KDE 4.2 API Reference