33 #include <config-kleopatra.h>
34 #include <version-kleopatra.h>
41 #include <kiconloader.h>
46 #include <QTextStream>
53 static const char description[] = I18N_NOOP(
"Certificate Manager and Unified Crypto GUI");
63 {
"Marc Mutz", I18N_NOOP(
"Current Maintainer"),
"mutz@kde.org", 0 },
64 {
"Steffen Hansen", I18N_NOOP(
"Former Maintainer"),
"hansen@kde.org", 0 },
65 {
"Matthias Kalle Dalheimer", I18N_NOOP(
"Original Author"),
"kalle@kde.org", 0 },
70 { I18N_NOOP(
"David Faure"),
71 I18N_NOOP(
"Backend configuration framework, KIO integration"),
73 { I18N_NOOP(
"Michel Boyer de la Giroday"),
74 I18N_NOOP(
"Key-state dependent colors and fonts in the certificates list"),
75 "michel@klaralvdalens-datakonsult.se", 0 },
76 { I18N_NOOP(
"Thomas Moenicke"),
79 { I18N_NOOP(
"Frank Osterfeld"),
80 I18N_NOOP(
"Resident gpgme/win wrangler, UI Server commands and dialogs"),
81 "osterfeld@kde.org", 0 },
82 { I18N_NOOP(
"Karl-Heinz Zimmer"),
83 I18N_NOOP(
"DN display ordering support, infrastructure"),
89 :
KAboutData(
"kleopatra", 0, ki18n(
"Kleopatra"),
91 ki18n(
"(c) 2002 Steffen\xC2\xA0Hansen, Matthias\xC2\xA0Kalle\xC2\xA0" "Dalheimer, Klar\xC3\xA4lvdalens\xC2\xA0" "Datakonsult\xC2\xA0" "AB\n"
92 "(c) 2004, 2007, 2008, 2009 Marc\xC2\xA0Mutz, Klar\xC3\xA4lvdalens\xC2\xA0" "Datakonsult\xC2\xA0" "AB") )
96 for (
unsigned int i = 0 ; i <
sizeof authors /
sizeof *
authors ; ++i )
99 for (
unsigned int i = 0 ; i <
sizeof credits /
sizeof *
credits ; ++i )
105 static const char gpg4win_description[] = I18N_NOOP(
"Gpg4win is an installer package for Windows for EMail and "
106 "file encryption using the core component GnuPG for Windows. "
107 "Both relevant cryptography standards are supported, OpenPGP "
108 "and S/MIME. Gpg4win and the software included with Gpg4win "
109 "are Free Software.");
113 "commercial contracts by the following companies:"
114 "<ul><li><a href='http://intevation.net'>Intevation GmbH</a> "
115 "(Projekt coordination, QA, Compendium)</li>"
116 "<li><a href='http://www.g10code.com'>g10 Code GmbH</a> "
117 "(Crypto Funktionality, GpgOL, GpgEX, GPA)</li> "
118 "<li><a href='http://www.kdab.com'>KDAB</a> (Kleopatra)</li></ul>"
119 "The following persons have contributed (as of 20100706):");
122 "Marcus Brinkmann<br>"
123 "Brigitte Hamilton<br>"
124 "Bernhard Herzog<br>"
129 "Frank Osterfeld<br>"
130 "Bernhard Reiter<br>"
131 "Florian v. Samson<br>"
132 "Emanuel Schütze<br>"
133 "Dr. Jan-Oliver Wagner");
141 p.setReadChannelMode( QProcess::MergedChannels );
142 p.start(
gpgConfPath(), QStringList( QLatin1String(
"--version" ) ) );
143 if ( !p.waitForFinished() )
145 i18nc(
"Version string is a guess",
"guessed") );
146 const QString output = QTextStream( &p ).readAll() ;
147 QRegExp rx( QLatin1String(
"\\(Gpg4win\\s+([^\\s)]+)\\)" ) );
148 if ( rx.indexIn( output ) != -1 )
152 i18nc(
"Version string is a guess",
"guessed") );
160 KIconLoader *
const il = KIconLoader::global();
162 const QString iconPath = il->iconPath( QLatin1String( name ), KIconLoader::User );
163 return iconPath.isEmpty() ? il->unknown() : QPixmap( iconPath ) ;
170 License_GPL, KLocalizedString(), KLocalizedString(),
"http://www.gpg4win.de" )
static const char description[]
static std::string email(const UserID &uid)
static QString gpgConfPath()
static const about_data credits[]
static const char gpg4win_credits_description[]
static const char gpg4win_description[]
static const about_data authors[]
static QPixmap UserIcon_nocached2(const char *name)
static const char kleopatra_version[]
static const char gpg4win_version_guessed[]
static const char gpg4win_credits_persons[]
static QString gpg4win_version()