• 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
  • core
convert.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006 Jimmy Gilles <jimmygilles@gmail.com>
3  * Copyright (C) 2010,2013,2014 Rolf Eike Beer <kde@opensource.sf-tec.de>
4  */
5 /***************************************************************************
6  * This program is free software; you can redistribute it and/or modify *
7  * it under the terms of the GNU General Public License as published by *
8  * the Free Software Foundation; either version 2 of the License, or *
9  * (at your option) any later version. *
10  * *
11  * This program is distributed in the hope that it will be useful, *
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14  * GNU General Public License for more details. *
15  * *
16  * You should have received a copy of the GNU General Public License *
17  * along with this program; if not, write to the *
18  * Free Software Foundation, Inc., *
19  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
20  ***************************************************************************/
21 
22 #ifndef CONVERT_H
23 #define CONVERT_H
24 
25 #include "kgpgkey.h"
26 
27 #include <gpgme.h>
28 
29 class QString;
30 class QPixmap;
31 
32 namespace KgpgCore
33 {
34 
35 namespace Convert
36 {
37  QString toString(const KgpgCore::KgpgKeyAlgo algorithm);
38  QString toString(const gpgme_validity_t ownertrust);
39  QString toString(const KgpgCore::KgpgKeyTrust trust);
40  QString toString(const KgpgCore::KgpgSubKeyType type);
41  KgpgKeyAlgo toAlgo(const uint v);
42  KgpgKeyAlgo toAlgo(const QString &s);
43  KgpgKeyTrust toTrust(const QChar &c);
44  KgpgKeyTrust toTrust(const QString &s);
45  gpgme_validity_t toOwnerTrust(const QChar &c);
51  KgpgSubKeyType toSubType(const QString &capString, bool upper);
52 }
53 
54 } // namespace KgpgCore
55 
56 #endif // CONVERT_H
QChar
KgpgCore::Convert::toTrust
KgpgKeyTrust toTrust(const QChar &c)
Definition: convert.cpp:138
kgpgkey.h
KgpgCore::Convert::toSubType
KgpgSubKeyType toSubType(const QString &capString, bool upper)
parse the GnuPG capabilities field
Definition: convert.cpp:187
KgpgCore::Convert::toString
QString toString(const KgpgKeyAlgo algorithm)
Definition: convert.cpp:35
QString
KgpgCore::Convert::toOwnerTrust
gpgme_validity_t toOwnerTrust(const QChar &c)
Definition: convert.cpp:171
QPixmap
KgpgCore::Convert::toAlgo
KgpgKeyAlgo toAlgo(const uint v)
Definition: convert.cpp:116
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