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

kgpg

  • sources
  • kde-4.12
  • 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 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 class QString;
28 class QPixmap;
29 
30 namespace KgpgCore
31 {
32 
33 namespace Convert
34 {
35  QString toString(const KgpgCore::KgpgKeyAlgo algorithm);
36  QString toString(const KgpgCore::KgpgKeyOwnerTrust ownertrust);
37  QString toString(const KgpgCore::KgpgKeyTrust trust);
38  QString toString(const QDate &date);
39  QString toString(const KgpgCore::KgpgSubKeyType type);
40  KgpgKeyAlgo toAlgo(const uint v);
41  KgpgKeyAlgo toAlgo(const QString &s);
42  KgpgKeyTrust toTrust(const QChar &c);
43  KgpgKeyTrust toTrust(const QString &s);
44  KgpgKeyOwnerTrust toOwnerTrust(const QChar &c);
45  KgpgKeyOwnerTrust toOwnerTrust(const QString &s);
51  KgpgSubKeyType toSubType(const QString &capString, bool upper);
52 }
53 
54 } // namespace KgpgCore
55 
56 #endif // CONVERT_H
KgpgCore::Convert::toTrust
KgpgKeyTrust toTrust(const QChar &c)
Definition: convert.cpp:123
kgpgkey.h
KgpgCore::Convert::toOwnerTrust
KgpgKeyOwnerTrust toOwnerTrust(const QChar &c)
Definition: convert.cpp:146
KgpgCore::Convert::toSubType
KgpgSubKeyType toSubType(const QString &capString, bool upper)
parse the GnuPG capabilities field
Definition: convert.cpp:163
KgpgCore::Convert::toString
QString toString(const KgpgKeyAlgo algorithm)
Definition: convert.cpp:37
KgpgCore::Convert::toAlgo
KgpgKeyAlgo toAlgo(const uint v)
Definition: convert.cpp:104
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:07:51 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
  • kremotecontrol
  • ktimer
  • kwallet
  • superkaramba
  • 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