Libkleo
            
 
   15#include "kleo_export.h" 
   17#include <QAbstractItemModel> 
   19#include <gpgme++/key.h>  
   28class KLEO_EXPORT UserIDListModel : 
public QAbstractItemModel
 
   48    explicit UserIDListModel(QObject *parent = 
nullptr);
 
   49    ~UserIDListModel() 
override;
 
   51    GpgME::Key key() 
const;
 
   54    GpgME::UserID userID(
const QModelIndex &index) 
const;
 
   55    QList<GpgME::UserID> userIDs(
const QModelIndexList &indexes) 
const;
 
   56    GpgME::UserID::Signature signature(
const QModelIndex &index) 
const;
 
   57    QList<GpgME::UserID::Signature> signatures(
const QModelIndexList &indexes) 
const;
 
   58    void enableRemarks(
bool value);
 
   61    void setKey(
const GpgME::Key &key);
 
   64    int columnCount(
const QModelIndex &pindex = QModelIndex()) 
const override;
 
   65    int rowCount(
const QModelIndex &pindex = QModelIndex()) 
const override;
 
   67    QVariant data(
const QModelIndex &index, 
int role = 
Qt::DisplayRole) 
const override;
 
   69    QModelIndex index(
int row, 
int col, 
const QModelIndex &parent = QModelIndex()) 
const override;
 
   70    QModelIndex parent(
const QModelIndex &index) 
const override;
 
   74    bool mRemarksEnabled = 
false;
 
   75    std::unique_ptr<UIDModelItem> mRootItem;
 
  
 
  This file is part of the KDE documentation.
  Documentation copyright © 1996-2025 The KDE developers.
  Generated on Fri May 2 2025 11:54:06 by
  
doxygen 1.13.2 written
  by 
Dimitri van Heesch, © 1997-2006
  
  KDE's Doxygen guidelines are available online.