• 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
kgpg.h
Go to the documentation of this file.
1 /***************************************************************************
2  kgpg.h - description
3  -------------------
4  begin : Mon Nov 18 2002
5  copyright : (C) 2002 by Jean-Baptiste Mardelle
6  email : bj@altern.org
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef KGPGAPPLET_H
19 #define KGPGAPPLET_H
20 
21 #include <KUniqueApplication>
22 #include <KShortcut>
23 #include <KUrl>
24 #include <klocale.h>
25 
26 class KCmdLineArgs;
27 class KeysManager;
28 class KGpgExternalActions;
29 class QString;
30 
31 static const char * const EMailTemplateText=I18N_NOOP(
32  "Hi,\n\nplease find attached the user id '%UIDNAME%' of your key %KEYID% signed by me. "
33  "This mail is encrypted with that key to make sure you control both the email address and the key.\n\n"
34  "If you have multiple user ids, I sent the signature for each user id separately to that user id's associated email address. "
35  "You can import the signatures by running each through `gpg --import` after you have decrypted them with `gpg --decrypt`.\n\n"
36  "If you are using KGpg store the attachment to disk and then import it. Just select `Import Key...` from `Keys` menu and open the file.\n\n"
37  "Note that I did not upload your key to any keyservers. If you want this new signature to be available to others, please upload it yourself. "
38  "With GnuPG this can be done using gpg --keyserver subkeys.pgp.net --send-key %KEYID%.\n\n"
39  "With KGpg you can right click on the key once you imported all user ids and choose `Export Public Key...`.\n\n"
40  "If you have any questions, don't hesitate to ask.\n");
41 
42 class KGpgApp : public KUniqueApplication
43 {
44  Q_OBJECT
45 
46 public:
47  KGpgApp();
48  ~KGpgApp();
49 
50  int newInstance ();
51  bool running;
52  KShortcut goHome;
53 
54 private:
55  KGpgExternalActions *w;
56  KeysManager *s_keyManager;
57 
58 private slots:
59  void slotHandleQuit();
60  void assistantOver(const QString &defaultKeyId);
61 };
62 
63 #endif // KGPGAPPLET_H
KGpgApp::running
bool running
Definition: kgpg.h:51
KGpgApp::newInstance
int newInstance()
Definition: kgpg.cpp:67
KGpgApp
Definition: kgpg.h:42
KeysManager
Definition: keysmanager.h:66
KGpgApp::~KGpgApp
~KGpgApp()
Definition: kgpg.cpp:47
QString
KGpgExternalActions
handle actions called from outside the application
Definition: kgpgexternalactions.h:41
EMailTemplateText
static const char *const EMailTemplateText
Definition: kgpg.h:31
KGpgApp::KGpgApp
KGpgApp()
Definition: kgpg.cpp:39
KUniqueApplication
KGpgApp::goHome
KShortcut goHome
Definition: kgpg.h:52
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