From f512f1d511a08f6508a2fae3e0ac9765411c8d23 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Sat, 1 Feb 2003 20:43:20 +0000 Subject: [PATCH] New class KMail::AboutData, to be used in main.cpp and kmail_part.cpp instead of KAboutData. I hope the only change is removing the trailing space in Stefan Taferner's name. OK'ed by Ingo svn path=/trunk/kdepim/; revision=204235 --- Makefile.am | 2 +- aboutdata.cpp | 172 ++++++++++++++++++++++++++++++++++++++++++++++++++ aboutdata.h | 48 ++++++++++++++ 3 files changed, 221 insertions(+), 1 deletion(-) create mode 100644 aboutdata.cpp create mode 100644 aboutdata.h diff --git a/Makefile.am b/Makefile.am index 7607883d6..3335c89ad 100644 --- a/Makefile.am +++ b/Makefile.am @@ -73,7 +73,7 @@ libkmailcommon_la_SOURCES = kmmessage.cpp kmmainwin.cpp configuredialog.cpp \ kmfoldersearch.cpp transportmanager.cpp \ folderjob.cpp cachedimapjob.cpp addressesdialog.cpp \ addresspicker.ui subscriptiondialog.cpp \ - kmailicalifaceimpl.cpp + kmailicalifaceimpl.cpp aboutdata.cpp kmail_SOURCES = main.cpp diff --git a/aboutdata.cpp b/aboutdata.cpp new file mode 100644 index 000000000..5d569a9c6 --- /dev/null +++ b/aboutdata.cpp @@ -0,0 +1,172 @@ +/* -*- c++ -*- + aboutdata.cpp + + This file is part of KMail, the KDE mail client. + Copyright (c) 2003 Marc Mutz + + KMail is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License, version 2, as + published by the Free Software Foundation. + + KMail is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + In addition, as a special exception, the copyright holders give + permission to link the code of this program with any edition of + the Qt library by Trolltech AS, Norway (or with modified versions + of Qt that use the same license as Qt), and distribute linked + combinations including the two. You must obey the GNU General + Public License in all respects for all of the code used other than + Qt. If you modify this file, you may extend this exception to + your version of the file, but you are not obligated to do so. If + you do not wish to do so, delete this exception statement from + your version. +*/ + +#include "aboutdata.h" + +#include "kmversion.h" + +namespace KMail { + + struct about_data { + const char * name; + const char * desc; + const char * email; + const char * web; + }; + + static const about_data authors[] = { + { "Ingo Kl\303\266cker", I18N_NOOP("Maintainer"), + "kloecker@kde.de", 0 }, + { "Don Sanders", I18N_NOOP("Adopter and co-maintainer"), + "sanders@kde.org", 0 }, + { "Stefan Taferner", I18N_NOOP("Original author"), + "taferner@kde.org", 0 }, + { "Michael H\303\244ckel", I18N_NOOP("Former maintainer"), + "haeckel@kde.org", 0 }, + + { "Carsten Burghardt", I18N_NOOP("Core developer"), + "carsten.burghardt@web.de", 0 }, + { "Marc Mutz", I18N_NOOP("Core developer"), + "mutz@kde.org", 0 }, + { "Daniel Naber", I18N_NOOP("Documentation"), + "daniel.naber@t-online.de", 0 }, + { "Zack Rusin", I18N_NOOP("Core developer"), + "zack@kde.org", 0 }, + + { "Toyohiro Asukai", 0, + "toyohiro@ksmplus.com", 0 }, + { "Waldo Bastian", 0, + "bastian@kde.org", 0 }, + { "Steven Brown", 0, + "swbrown@ucsd.edu", 0 }, + { "Matthias Kalle Dalheimer", 0, + "kalle@kde.org", 0 }, + { "Cristi Dumitrescu", 0, + "cristid@chip.ro", 0 }, + { "Philippe Fremy", 0, + "pfremy@chez.com", 0 }, + { "Kurt Granroth", 0, + "granroth@kde.org", 0 }, + { "Andreas Gungl", I18N_NOOP("PGP 6 support and further enhancements of the encryption support"), + "a.gungl@gmx.de", 0 }, + { "Heiko Hund", 0, + "heiko@ist.eigentlich.net", 0 }, + { "Igor Janssen", 0, + "rm@linux.ru.net", 0 }, + { "Matt Johnston", 0, + "matt@caifex.org", 0 }, + { "Christer Kaivo-oja", 0, + "whizkid@telia.com", 0 }, + { "Lars Knoll", I18N_NOOP("Original encryption support\n" + "PGP 2 and PGP 5 support"), + "knoll@kde.org", 0 }, + { "J. Nick Koston", I18N_NOOP("GnuPG support"), + "bdraco@darkorb.net", 0 }, + { "Stephan Kulow", 0, + "coolo@kde.org", 0 }, + { "Guillaume Laurent", 0, + "glaurent@telegraph-road.org", 0 }, + { "Sam Magnuson", 0, + "sam@trolltech.com", 0 }, + { "Laurent Montel", 0, + "lmontel@mandrakesoft.com", 0 }, + { "Matt Newell", 0, + "newellm@proaxis.com", 0 }, + { "Denis Perchine", 0, + "dyp@perchine.com", 0 }, + { "Samuel Penn", 0, + "sam@bifrost.demon.co.uk", 0 }, + { "Carsten Pfeiffer", 0, + "pfeiffer@kde.org", 0 }, + { "Sven Radej", 0, + "radej@kde.org", 0 }, + { "Mark Roberts", 0, + "mark@taurine.demon.co.uk", 0 }, + { "Wolfgang Rohdewald", 0, + "wrohdewald@dplanet.ch", 0 }, + { "Espen Sand", 0, + "espen@kde.org", 0 }, + { "Aaron J. Seigo", 0, + "aseigo@olympusproject.org", 0 }, + { "George Staikos", 0, + "staikos@kde.org", 0 }, + { "Jason Stephenson", 0, + "panda@mis.net", 0 }, + { "Jacek Stolarczyk", 0, + "jacek@mer.chemia.polsl.gliwice.pl", 0 }, + { "Roberto S. Teixeira", 0, + "maragato@kde.org", 0 }, + { "Ronen Tzur", 0, + "rtzur@shani.net", 0 }, + { "Mario Weilguni", 0, + "mweilguni@sime.com", 0 }, + { "Wynn Wilkes", 0, + "wynnw@calderasystems.com", 0 }, + { "Robert D. Williams", 0, + "rwilliams@kde.org", 0 }, + { "Markus Wuebben", 0, + "markus.wuebben@kde.org", 0 }, + { "Karl-Heinz Zimmer", 0, + "khz@kde.org", 0 } + }; + + static const about_data credits[] = { + { "Bernhard Reiter", 0, + "bernhard@intevation.de", 0 }, + { "Jan Simonson", I18N_NOOP("beta testing of PGP 6 support"), + "jan@simonson.pp.se", 0 }, + { "Jan-Oliver Wagner", 0, + "jan@intevation.de", 0 }, + { "Wolfgang Westphal", I18N_NOOP("multiple encryption keys per address"), + "wolfgang.westphal@gmx.de", 0 }, + { "Thorsten Zachmann", I18N_NOOP("POP filters"), + "t.zachmann@zagge.de", 0 } + }; + + AboutData::AboutData() + : KAboutData( "kmail", I18N_NOOP("KMail"),KMAIL_VERSION, + I18N_NOOP("The KDE Email client."), License_GPL, + I18N_NOOP("(c) 1997-2003, The KMail developers"), 0, + "http://kmail.kde.org" ) + { + using KMail::authors; + using KMail::credits; + for ( unsigned int i = 0 ; i < sizeof authors / sizeof *authors ; ++i ) + addAuthor( authors[i].name, authors[i].desc, authors[i].email, authors[i].web ); + for ( unsigned int i = 0 ; i < sizeof credits / sizeof *credits ; ++i ) + addCredit( credits[i].name, credits[i].desc, credits[i].email, credits[i].web ); + } + + AboutData::~AboutData() { + + } + +}; // namespace KMail diff --git a/aboutdata.h b/aboutdata.h new file mode 100644 index 000000000..43c75fd02 --- /dev/null +++ b/aboutdata.h @@ -0,0 +1,48 @@ +/* -*- c++ -*- + aboutdata.h + + This file is part of KMail, the KDE mail client. + Copyright (c) 2003 Marc Mutz + + KMail is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License, version 2, as + published by the Free Software Foundation. + + KMail is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + In addition, as a special exception, the copyright holders give + permission to link the code of this program with any edition of + the Qt library by Trolltech AS, Norway (or with modified versions + of Qt that use the same license as Qt), and distribute linked + combinations including the two. You must obey the GNU General + Public License in all respects for all of the code used other than + Qt. If you modify this file, you may extend this exception to + your version of the file, but you are not obligated to do so. If + you do not wish to do so, delete this exception statement from + your version. +*/ + +#ifndef __KMAIL_ABOUTDATA_H__ +#define __KMAIL_ABOUTDATA_H__ + +#include + +namespace KMail { + + class AboutData : public KAboutData { + public: + AboutData(); + ~AboutData(); + }; + +}; // namespace KMail + +#endif // __KMAIL_ABOUTDATA_H__ +