certmanager Library API Documentation

kwatchgnupg/aboutdata.cpp

00001 /*
00002     aboutdata.cpp
00003 
00004     This file is part of Kleopatra, the KDE keymanager
00005     Copyright (c) 2004 Klar�vdalens Datakonsult AB
00006 
00007     Kleopatra is free software; you can redistribute it and/or modify
00008     it under the terms of the GNU General Public License as published by
00009     the Free Software Foundation; either version 2 of the License, or
00010     (at your option) any later version.
00011 
00012     Kleopatra is distributed in the hope that it will be useful,
00013     but WITHOUT ANY WARRANTY; without even the implied warranty of
00014     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015     General Public License for more details.
00016 
00017     You should have received a copy of the GNU General Public License
00018     along with this program; if not, write to the Free Software
00019     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00020 
00021     In addition, as a special exception, the copyright holders give
00022     permission to link the code of this program with any edition of
00023     the Qt library by Trolltech AS, Norway (or with modified versions
00024     of Qt that use the same license as Qt), and distribute linked
00025     combinations including the two.  You must obey the GNU General
00026     Public License in all respects for all of the code used other than
00027     Qt.  If you modify this file, you may extend this exception to
00028     your version of the file, but you are not obligated to do so.  If
00029     you do not wish to do so, delete this exception statement from
00030     your version.
00031 */
00032 
00033 #include "aboutdata.h"
00034 
00035 #include <klocale.h>
00036 
00037 static const char kwatchgnupg_version[] = "1.0";
00038 static const char description[] = I18N_NOOP("GnuPG log viewer");
00039 
00040 struct about_data {
00041   const char * name;
00042   const char * desc;
00043   const char * email;
00044   const char * web;
00045 };
00046 
00047 static const about_data authors[] = {
00048   { "Steffen Hansen", I18N_NOOP("Original Author"), "hansen@kde.org", 0 },
00049 };
00050 
00051 #if 0
00052 // can't create zero size array - doesn't compile
00053 static const about_data credits[] = {
00054   // PENDING(steffen) add stuff
00055 };
00056 #endif
00057 
00058 AboutData::AboutData()
00059   : KAboutData( "kwatchgnupg", I18N_NOOP("KWatchGnuPG"),
00060         kwatchgnupg_version, description, License_GPL,
00061         "(c) 2004 Klar\xC3\xA4lvdalens Datakonsult AB\n" )
00062 {
00063   using ::authors;
00064   //using ::credits;
00065   for ( unsigned int i = 0 ; i < sizeof authors / sizeof *authors ; ++i )
00066     addAuthor( authors[i].name, authors[i].desc,
00067            authors[i].email, authors[i].web );
00068 #if 0
00069   for ( unsigned int i = 0 ; i < sizeof credits / sizeof *credits ; ++i )
00070     addCredit( credits[i].name, credits[i].desc,
00071            credits[i].email, credits[i].web );
00072 #endif
00073 }
KDE Logo
This file is part of the documentation for certmanager Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Aug 23 18:19:05 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003