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

kgpg

convert.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2006 by Jimmy Gilles                                    *
00003  *   jimmygilles@gmail.com                                                 *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  *   This program is distributed in the hope that it will be useful,       *
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00013  *   GNU General Public License for more details.                          *
00014  *                                                                         *
00015  *   You should have received a copy of the GNU General Public License     *
00016  *   along with this program; if not, write to the                         *
00017  *   Free Software Foundation, Inc.,                                       *
00018  *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA          *
00019  ***************************************************************************/
00020 
00021 #ifndef CONVERT_H
00022 #define CONVERT_H
00023 
00024 #include "kgpgkey.h"
00025 
00026 class QColor;
00027 class QString;
00028 class QPixmap;
00029 
00030 namespace KgpgCore
00031 {
00032 
00033 class Convert
00034 {
00035 public:
00036     static QString toString(const KgpgKeyAlgo &algorithm);
00037     static QString toString(const KgpgKeyOwnerTrust &ownertrust);
00038     static QString toString(const KgpgKeyTrust &trust);
00039     static QString toString(const QDate &date);
00040     static QColor toColor(const KgpgKeyTrust &trust);
00041     static KgpgKeyAlgo toAlgo(const uint &v);
00042     static KgpgKeyAlgo toAlgo(const QString &s);
00043     static KgpgKeyTrust toTrust(const QChar &c);
00044     static KgpgKeyTrust toTrust(const QString &s);
00045     static KgpgKeyOwnerTrust toOwnerTrust(const QChar &c);
00046     static KgpgKeyOwnerTrust toOwnerTrust(const QString &s);
00047     static QPixmap toPixmap(const KgpgItemType &t);
00048 };
00049 
00050 } // namespace KgpgCore
00051 
00052 #endif // CONVERT_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