kleopatra
#include <keytreeview.h>
Public Slots | |
virtual void | setHierarchicalView (bool on) |
virtual void | setKeyFilter (const boost::shared_ptr< Kleo::KeyFilter > &filter) |
virtual void | setStringFilter (const QString &text) |
Signals | |
void | hierarchicalChanged (bool on) |
void | keyFilterChanged (const boost::shared_ptr< Kleo::KeyFilter > &filter) |
void | stringFilterChanged (const QString &filter) |
Public Member Functions | |
KeyTreeView (QWidget *parent=0) | |
KeyTreeView (const QString &stringFilter, const boost::shared_ptr< KeyFilter > &keyFilter, AbstractKeyListSortFilterProxyModel *additionalProxy, QWidget *parent) | |
~KeyTreeView () | |
void | addKeysSelected (const std::vector< GpgME::Key > &keys) |
void | addKeysUnselected (const std::vector< GpgME::Key > &keys) |
virtual KeyTreeView * | clone () const |
std::vector< int > | columnSizes () const |
bool | connectSearchBar (const QObject *bar) |
void | disconnectSearchBar (const QObject *bar) |
AbstractKeyListModel * | flatModel () const |
AbstractKeyListModel * | hierarchicalModel () const |
bool | isHierarchicalView () const |
const boost::shared_ptr < KeyFilter > & | keyFilter () const |
const std::vector< GpgME::Key > & | keys () const |
AbstractKeyListModel * | model () const |
void | removeKeys (const std::vector< GpgME::Key > &keys) |
std::vector< GpgME::Key > | selectedKeys () const |
void | selectKeys (const std::vector< GpgME::Key > &keys) |
void | setColumnSizes (const std::vector< int > &sizes) |
void | setFlatModel (AbstractKeyListModel *model) |
void | setHierarchicalModel (AbstractKeyListModel *model) |
void | setKeys (const std::vector< GpgME::Key > &keys) |
void | setSortColumn (int sortColumn, Qt::SortOrder sortOrder) |
int | sortColumn () const |
Qt::SortOrder | sortOrder () const |
QString | stringFilter () const |
QTreeView * | view () const |
Protected Member Functions | |
KeyTreeView (const KeyTreeView &) | |
Detailed Description
Definition at line 54 of file keytreeview.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 74 of file keytreeview.cpp.
KeyTreeView::KeyTreeView | ( | const QString & | stringFilter, |
const boost::shared_ptr< KeyFilter > & | keyFilter, | ||
AbstractKeyListSortFilterProxyModel * | additionalProxy, | ||
QWidget * | parent | ||
) |
Definition at line 105 of file keytreeview.cpp.
KeyTreeView::~KeyTreeView | ( | ) |
Definition at line 196 of file keytreeview.cpp.
|
protected |
Definition at line 89 of file keytreeview.cpp.
Member Function Documentation
void KeyTreeView::addKeysSelected | ( | const std::vector< GpgME::Key > & | keys | ) |
Definition at line 329 of file keytreeview.cpp.
void KeyTreeView::addKeysUnselected | ( | const std::vector< GpgME::Key > & | keys | ) |
Definition at line 333 of file keytreeview.cpp.
|
inlinevirtual |
Definition at line 98 of file keytreeview.h.
std::vector< int > KeyTreeView::columnSizes | ( | ) | const |
Definition at line 146 of file keytreeview.cpp.
bool KeyTreeView::connectSearchBar | ( | const QObject * | bar | ) |
Definition at line 376 of file keytreeview.cpp.
void KeyTreeView::disconnectSearchBar | ( | const QObject * | bar | ) |
Definition at line 369 of file keytreeview.cpp.
|
inline |
Definition at line 66 of file keytreeview.h.
|
signal |
|
inline |
Definition at line 67 of file keytreeview.h.
|
inline |
Definition at line 89 of file keytreeview.h.
|
inline |
Definition at line 88 of file keytreeview.h.
|
signal |
|
inline |
Definition at line 73 of file keytreeview.h.
|
inline |
Definition at line 64 of file keytreeview.h.
void KeyTreeView::removeKeys | ( | const std::vector< GpgME::Key > & | keys | ) |
Definition at line 337 of file keytreeview.cpp.
std::vector< Key > KeyTreeView::selectedKeys | ( | ) | const |
Definition at line 258 of file keytreeview.cpp.
void KeyTreeView::selectKeys | ( | const std::vector< GpgME::Key > & | keys | ) |
Definition at line 254 of file keytreeview.cpp.
void KeyTreeView::setColumnSizes | ( | const std::vector< int > & | sizes | ) |
Definition at line 119 of file keytreeview.cpp.
void KeyTreeView::setFlatModel | ( | AbstractKeyListModel * | model | ) |
Definition at line 205 of file keytreeview.cpp.
void KeyTreeView::setHierarchicalModel | ( | AbstractKeyListModel * | model | ) |
Definition at line 214 of file keytreeview.cpp.
|
virtualslot |
Definition at line 262 of file keytreeview.cpp.
|
virtualslot |
Definition at line 236 of file keytreeview.cpp.
void KeyTreeView::setKeys | ( | const std::vector< GpgME::Key > & | keys | ) |
Definition at line 291 of file keytreeview.cpp.
void KeyTreeView::setSortColumn | ( | int | sortColumn, |
Qt::SortOrder | sortOrder | ||
) |
Definition at line 129 of file keytreeview.cpp.
|
virtualslot |
Definition at line 228 of file keytreeview.cpp.
int KeyTreeView::sortColumn | ( | ) | const |
Definition at line 134 of file keytreeview.cpp.
Qt::SortOrder KeyTreeView::sortOrder | ( | ) | const |
Definition at line 140 of file keytreeview.cpp.
|
inline |
Definition at line 87 of file keytreeview.h.
|
signal |
|
inline |
Definition at line 62 of file keytreeview.h.
The documentation for this class was generated from the following files:
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.