Libkleo
9#include "kleo_export.h"
10#include <Libkleo/KeyListSortFilterProxyModel>
15class KLEO_EXPORT UserIDProxyModel :
public Kleo::AbstractKeyListSortFilterProxyModel
20 explicit UserIDProxyModel(QObject *parent =
nullptr);
21 ~UserIDProxyModel()
override;
23 QModelIndex mapFromSource(
const QModelIndex &sourceIndex)
const override;
24 QModelIndex mapToSource(
const QModelIndex &proxyIndex)
const override;
25 int rowCount(
const QModelIndex &parent = {})
const override;
26 QModelIndex index(
int row,
int column,
const QModelIndex &parent)
const override;
27 QModelIndex parent(
const QModelIndex &)
const override;
28 int columnCount(
const QModelIndex &)
const override;
29 QVariant data(
const QModelIndex &index,
int role)
const override;
30 UserIDProxyModel *clone()
const override;
31 QModelIndex index(
const KeyGroup &)
const override;
32 QModelIndex index(
const GpgME::Key &key)
const override;
33 void setSourceModel(QAbstractItemModel *sourceModel)
override;
37 const std::unique_ptr<Private> d;
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:50:12 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.