Libkleo
            
 
    9#include "kleo_export.h" 
   11#include <libkleo/enum.h> 
   12#include <libkleo/keyusage.h> 
   16#include <gpgme++/global.h> 
   28class KeySelectionComboPrivate;
 
   30class KLEO_EXPORT KeySelectionCombo : 
public QComboBox
 
   35    explicit KeySelectionCombo(QWidget *parent = 
nullptr);
 
   36    explicit KeySelectionCombo(
bool secretOnly, QWidget *parent = 
nullptr);
 
   48    explicit KeySelectionCombo(KeyUsage::Flags usage, QWidget *parent = 
nullptr);
 
   52    explicit KeySelectionCombo(KeyUsage::Flag usage, QWidget *parent = 
nullptr);
 
   53    KeySelectionCombo(
bool secretOnly, KeyUsage::Flags usage, QWidget *parent = 
nullptr);
 
   54    ~KeySelectionCombo() 
override;
 
   56    void setKeyFilter(
const std::shared_ptr<const KeyFilter> &kf);
 
   57    std::shared_ptr<const KeyFilter> keyFilter() 
const;
 
   59    void setIdFilter(
const QString &
id);
 
   60    QString idFilter() 
const;
 
   64    GpgME::Key currentKey() 
const;
 
   65    void setCurrentKey(
const GpgME::Key &key);
 
   66    void setCurrentKey(
const QString &fingerprint);
 
   68    void setDefaultKey(
const QString &fingerprint);
 
   69    void setDefaultKey(
const QString &fingerprint, GpgME::Protocol proto);
 
   70    QString defaultKey() 
const;
 
   71    QString defaultKey(GpgME::Protocol proto) 
const;
 
   73    void prependCustomItem(
const QIcon &icon, 
const QString &text, 
const QVariant &data);
 
   74    void appendCustomItem(
const QIcon &icon, 
const QString &text, 
const QVariant &data);
 
   75    void prependCustomItem(
const QIcon &icon, 
const QString &text, 
const QVariant &data, 
const QString &toolTip);
 
   76    void appendCustomItem(
const QIcon &icon, 
const QString &text, 
const QVariant &data, 
const QString &toolTip);
 
   77    void removeCustomItem(
const QVariant &data);
 
   80    void customItemSelected(
const QVariant &data);
 
   81    void currentKeyChanged(
const GpgME::Key &key);
 
   82    void keyListingFinished();
 
   88    std::unique_ptr<KeySelectionComboPrivate> 
const d;
 
An abstract base class key filters.
 
  
 
  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.