• 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
kgpgkeyserversearchtransaction.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2010 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 KGPGKEYSERVERSEARCHTRANSACTION_H
15 #define KGPGKEYSERVERSEARCHTRANSACTION_H
16 
17 #include <QObject>
18 #include <QString>
19 #include <QStringList>
20 
21 #include "kgpgkeyservertransaction.h"
22 
26 class KGpgKeyserverSearchTransaction: public KGpgKeyserverTransaction {
27  Q_OBJECT
28 
29  Q_DISABLE_COPY(KGpgKeyserverSearchTransaction)
33  KGpgKeyserverSearchTransaction(); // = delete C++0x
34 
35 public:
47  KGpgKeyserverSearchTransaction(QObject *parent, const QString &keyserver, const QString &pattern, const bool withProgress = false, const QString &proxy = QString());
48  virtual ~KGpgKeyserverSearchTransaction();
49 
50  void setPattern(const QString &pattern);
51 
52 signals:
57  void newKey(QStringList lines);
58 
59 protected:
60  virtual bool preStart();
61  virtual bool nextLine(const QString &line);
65  virtual void finish();
66 
67 private:
68  QStringList m_keyLines;
69  int m_patternPos;
70  bool m_pageEmpty;
71 };
72 
73 #endif // KGPGUIDTRANSACTION_H
KGpgKeyserverSearchTransaction::nextLine
virtual bool nextLine(const QString &line)
Called for every line the gpg process writes.
Definition: kgpgkeyserversearchtransaction.cpp:39
kgpgkeyservertransaction.h
KGpgKeyserverSearchTransaction
base class for transactions downloading from key servers
Definition: kgpgkeyserversearchtransaction.h:26
QObject
QString
KGpgKeyserverSearchTransaction::newKey
void newKey(QStringList lines)
emitted every time a new key is completed
KGpgKeyserverSearchTransaction::preStart
virtual bool preStart()
Called before the gpg process is started.
Definition: kgpgkeyserversearchtransaction.cpp:30
QStringList
KGpgKeyserverSearchTransaction::~KGpgKeyserverSearchTransaction
virtual ~KGpgKeyserverSearchTransaction()
Definition: kgpgkeyserversearchtransaction.cpp:25
KGpgKeyserverTransaction
base class for transactions involving key servers
Definition: kgpgkeyservertransaction.h:27
KGpgKeyserverSearchTransaction::finish
virtual void finish()
needed to submit the last search result
Definition: kgpgkeyserversearchtransaction.cpp:64
QObject::parent
QObject * parent() const
KGpgKeyserverSearchTransaction::setPattern
void setPattern(const QString &pattern)
Definition: kgpgkeyserversearchtransaction.cpp:73
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