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

kgpg

  • sources
  • kde-4.14
  • kdeutils
  • kgpg
  • transactions
kgpgkeyservertransaction.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2009 Rolf Eike Beer <kde@opensource.sf-tec.de>
3  */
4 
5 /***************************************************************************
6  * *
7  * This program is free software; you can redistribute it and/or modify *
8  * it under the terms of the GNU General Public License as published by *
9  * the Free Software Foundation; either version 2 of the License, or *
10  * (at your option) any later version. *
11  * *
12  ***************************************************************************/
13 
14 #ifndef KGPGKEYSERVERTRANSACTION_H
15 #define KGPGKEYSERVERTRANSACTION_H
16 
17 #include <QObject>
18 #include <QString>
19 
20 #include "kgpgtransaction.h"
21 
22 class KProgressDialog;
23 
27 class KGpgKeyserverTransaction: public KGpgTransaction {
28  Q_OBJECT
29 
30  Q_DISABLE_COPY(KGpgKeyserverTransaction)
34  KGpgKeyserverTransaction(); // = delete C++0x
35 protected:
49  KGpgKeyserverTransaction(QObject *parent, const QString &keyserver, const bool withProgress = false, const QString &proxy = QString());
50 public:
51  virtual ~KGpgKeyserverTransaction();
52 
57  void setKeyserver(const QString &server);
64  void setProxy(const QString &proxy);
69  void setProgressEnable(const bool b);
70 
71 protected:
72  virtual void finish();
73  virtual bool preStart();
74 
75 private slots:
79  void slotAbort();
80 
81 private:
82  QString m_keyserver;
83  int m_keyserverpos;
84  QString m_proxy;
85  int m_proxypos;
86  KProgressDialog *m_progress;
87  bool m_showprogress;
88 };
89 
90 #endif // KGPGUIDTRANSACTION_H
kgpgtransaction.h
KGpgKeyserverTransaction::setProxy
void setProxy(const QString &proxy)
set the http proxy
Definition: kgpgkeyservertransaction.cpp:53
KGpgKeyserverTransaction::setKeyserver
void setKeyserver(const QString &server)
set the keyserver
Definition: kgpgkeyservertransaction.cpp:45
QObject
KGpgKeyserverTransaction::~KGpgKeyserverTransaction
virtual ~KGpgKeyserverTransaction()
Definition: kgpgkeyservertransaction.cpp:39
QString
KGpgKeyserverTransaction::setProgressEnable
void setProgressEnable(const bool b)
activate the progress window
Definition: kgpgkeyservertransaction.cpp:87
KGpgKeyserverTransaction::preStart
virtual bool preStart()
Called before the gpg process is started.
Definition: kgpgkeyservertransaction.cpp:68
KGpgKeyserverTransaction::finish
virtual void finish()
Called when the gpg process finishes.
Definition: kgpgkeyservertransaction.cpp:61
KGpgTransaction
Process one GnuPG operation.
Definition: kgpgtransaction.h:44
KGpgKeyserverTransaction
base class for transactions involving key servers
Definition: kgpgkeyservertransaction.h:27
QObject::parent
QObject * parent() const
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