kgpg
groupeditproxymodel.cpp
Go to the documentation of this file.
30 GroupEditProxyModel::GroupEditProxyModel(QObject *parent, const bool invert, QList<KGpgNode *> *ids, const KgpgCore::KgpgKeyTrust mintrust)
109 if (nd->toKeyNode()->getExpiration().isValid() && (nd->toKeyNode()->getExpiration() <= QDateTime::currentDateTime()))
127 if (nd->toKeyNode()->getExpiration().isValid() && (nd->toKeyNode()->getExpiration() <= QDateTime::currentDateTime()))
Definition: kgpgitemmodel.h:44
virtual bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const
Definition: groupeditproxymodel.cpp:47
virtual QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
Definition: groupeditproxymodel.cpp:91
virtual void setSourceModel(QAbstractItemModel *sourceModel)
const T & at(int i) const
void setKeyModel(KGpgItemModel *)
Definition: groupeditproxymodel.cpp:40
GroupEditProxyModel(QObject *parent, const bool invert, QList< KGpgNode * > *ids, const KgpgCore::KgpgKeyTrust mintrust=KgpgCore::TRUST_FULL)
Definition: groupeditproxymodel.cpp:30
virtual int rowCount(const QModelIndex &parent) const
virtual bool hasChildren(const QModelIndex &parent) const
Definition: groupeditproxymodel.cpp:135
virtual KgpgCore::KgpgItemType getType() const =0
Returns the item type of this object.
bool isValid() const
int count(const T &value) const
virtual QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
Definition: groupeditproxymodel.cpp:145
virtual QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const
Definition: kgpgitemmodel.cpp:44
QString right(int n) const
virtual int rowCount(const QModelIndex &parent=QModelIndex()) const
Definition: groupeditproxymodel.cpp:79
The abstract base class for all classes representing keyring data.
Definition: KGpgNode.h:42
KGpgNode * nodeForIndex(const QModelIndex &index) const
Definition: groupeditproxymodel.cpp:67
bool isValid() const
virtual QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
Definition: kgpgitemmodel.cpp:363
virtual QModelIndex mapToSource(const QModelIndex &proxyIndex) const
QDateTime currentDateTime()
int column() const
KGpgNode * nodeForIndex(const QModelIndex &index) const
Definition: kgpgitemmodel.cpp:230
QIcon fromTheme(const QString &name, const QIcon &fallback)
bool compareId(const QString &other) const
compare the id of this node to the given other node
Definition: KGpgKeyNode.cpp:339
virtual int columnCount(const QModelIndex &) const
Definition: groupeditproxymodel.cpp:73
QString getBeautifiedFingerprint() const
Print the full key fingerprint with spaces inserted.
Definition: KGpgKeyNode.cpp:137
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.