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

kgpg

keyservers.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           keyservers.h  -  description
00003                              -------------------
00004     begin                : Tue Nov 26 2002
00005     copyright          : (C) 2002 by Jean-Baptiste Mardelle
00006     email                : bj@altern.org
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef KEYSERVERS_H
00019 #define KEYSERVERS_H
00020 
00021 #include <KDialog>
00022 #include <KProgressDialog>
00023 
00024 #include "kgpginterface.h"
00025 #include "ui_searchres.h"
00026 #include "ui_keyserver.h"
00027 
00028 class GPGProc;
00029 
00030 class keyServerWidget : public QWidget, public Ui::keyServerWidget
00031 {
00032 public:
00033     keyServerWidget(QWidget *parent = 0) : QWidget(parent)
00034     {
00035         setupUi(this);
00036     }
00037 };
00038 
00039 class searchRes : public QWidget, public Ui::searchRes
00040 {
00041 public:
00042     searchRes(QWidget *parent) : QWidget(parent)
00043     {
00044         setupUi(this);
00045     }
00046 };
00047 
00048 class ConnectionDialog : public KProgressDialog
00049 {
00050     Q_OBJECT
00051 
00052 public:
00053     ConnectionDialog(QWidget *parent = 0);
00054 };
00055 
00056 class KeyServer : public KDialog
00057 {
00058     Q_OBJECT
00059 
00060 public:
00061     explicit KeyServer(QWidget *parent = 0, const bool &modal = false, const bool &autoclose = false);
00062 
00063     void refreshKeys(QStringList keys);
00064 
00069     static QStringList getServerList();
00070 
00071 signals:
00072     void importFinished(QStringList);
00073 
00074 public slots:
00075     void slotImport();
00076     void slotAbort(KgpgInterface *interface);
00077 
00078     void slotExport(const QString &keyId);
00079 
00080     void slotSetText(const QString &text);
00081     void slotTextChanged(const QString &text);
00082     void slotSetExportAttribute(const QString *attr);
00083     void slotEnableProxyI(const bool &on);
00084     void slotEnableProxyE(const bool &on);
00085     void slotSetKeyserver(const QString &server);
00086 
00087     void transferKeyID();
00088     void slotPreImport();
00089     void slotPreExport();
00090 
00091     void slotOk();
00092     void handleQuit();
00093 
00094 private slots:
00095     void slotReadKeys(KgpgCore::KgpgKeyList list, KgpgInterface *interface);
00096     void slotDownloadKeysFinished(QList<int> results, QStringList keys, bool imported, QString log, KgpgInterface *interface);
00097     void slotUploadKeysFinished(QString message, KgpgInterface *interface);
00098 
00099     void slotSearchRead(GPGProc *p);
00100     void slotSearchResult(GPGProc *p);
00101     void slotSearch();
00102     void slotAbortSearch();
00103 
00104 private:
00105     KDialog *m_importpop;
00106     QString m_readmessage;
00107     QTreeWidgetItem *m_kitem;
00108 
00109     KDialog *m_dialogserver;
00110     GPGProc *m_searchproc;
00111 
00112     keyServerWidget *page;
00113     searchRes *m_listpop;
00114 
00115     int m_count;
00116     uint m_keynumbers;
00117     bool m_autoclose;
00118     QString m_keyid;
00119     QString expattr;
00120 
00121     void CreateUidEntry(void);
00122 };
00123 
00124 #endif // KEYSERVERS_H

kgpg

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

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • okteta
  • printer-applet
  • superkaramba
  • sweeper
Generated for kdeutils by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal