• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeutils API Reference
  • KDE Home
  • Contact Us
 

kgpg

Public Slots | Signals | Public Member Functions | Static Public Member Functions | List of all members
KeyServer Class Reference

#include <keyservers.h>

Inheritance diagram for KeyServer:
Inheritance graph
[legend]

Public Slots

void handleQuit ()
 
void slotEnableProxyE (const bool on)
 
void slotEnableProxyI (const bool on)
 
void slotExport (const QStringList &keyIds)
 
void slotImport ()
 
void slotOk ()
 
void slotPreExport ()
 
void slotPreImport ()
 
void slotSetExportAttribute (const QString &attr)
 
void slotSetKeyserver (const QString &server)
 
void slotSetText (const QString &text)
 
void slotTextChanged (const QString &text)
 
void transferKeyID ()
 

Signals

void importFailed ()
 
void importFinished (QStringList)
 

Public Member Functions

 KeyServer (QWidget *parent=0, KGpgItemModel *model=0, const bool autoclose=false)
 
 ~KeyServer ()
 
void startImport (const QStringList &keys, QString server=QString(), const QString &proxy=QString())
 

Static Public Member Functions

static QStringList getServerList ()
 

Detailed Description

Definition at line 51 of file keyservers.h.

Constructor & Destructor Documentation

KeyServer::KeyServer ( QWidget *  parent = 0,
KGpgItemModel *  model = 0,
const bool  autoclose = false 
)
explicit

Definition at line 38 of file keyservers.cpp.

KeyServer::~KeyServer ( )

Definition at line 92 of file keyservers.cpp.

Member Function Documentation

QStringList KeyServer::getServerList ( )
static

Returns the server list.

The first item is the server configured in gpg.

Definition at line 339 of file keyservers.cpp.

void KeyServer::handleQuit ( )
slot

Definition at line 352 of file keyservers.cpp.

void KeyServer::importFailed ( )
signal

importing failed

This is emitted when key importing is finished and importFinished() is not emitted. The main usage is to properly clean up the object when using startImport().

void KeyServer::importFinished ( QStringList  )
signal
void KeyServer::slotEnableProxyE ( const bool  on)
slot

Definition at line 301 of file keyservers.cpp.

void KeyServer::slotEnableProxyI ( const bool  on)
slot

Definition at line 296 of file keyservers.cpp.

void KeyServer::slotExport ( const QStringList &  keyIds)
slot

Definition at line 156 of file keyservers.cpp.

void KeyServer::slotImport ( )
slot

Definition at line 97 of file keyservers.cpp.

void KeyServer::slotOk ( )
slot

Definition at line 334 of file keyservers.cpp.

void KeyServer::slotPreExport ( )
slot

Definition at line 329 of file keyservers.cpp.

void KeyServer::slotPreImport ( )
slot

Definition at line 317 of file keyservers.cpp.

void KeyServer::slotSetExportAttribute ( const QString &  attr)
slot

Definition at line 288 of file keyservers.cpp.

void KeyServer::slotSetKeyserver ( const QString &  server)
slot

Definition at line 364 of file keyservers.cpp.

void KeyServer::slotSetText ( const QString &  text)
slot

Definition at line 277 of file keyservers.cpp.

void KeyServer::slotTextChanged ( const QString &  text)
slot

Definition at line 282 of file keyservers.cpp.

void KeyServer::startImport ( const QStringList &  keys,
QString  server = QString(),
const QString &  proxy = QString() 
)

import the given keys

Parameters
keysthe key fingerprints or ids to import
serverthe key server to use, if empty the default server is used
proxythe proxy to use

This will set up the underlying transaction to fetch the keys as well as it will take care of setting up everything so the user will get the results shown.

Definition at line 110 of file keyservers.cpp.

void KeyServer::transferKeyID ( )
slot

Definition at line 306 of file keyservers.cpp.


The documentation for this class was generated from the following files:
  • keyservers.h
  • keyservers.cpp
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

KDE's Doxygen guidelines are available online.

kgpg

Skip menu "kgpg"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • sweeper

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal