File indexing completed on 2024-05-12 16:30:48

0001 /* This file is part of the KDE project
0002    Copyright (C) 2004 Rob Buis <buis@kde.org>
0003 
0004    This library is free software; you can redistribute it and/or
0005    modify it under the terms of the GNU Library General Public
0006    License as published by the Free Software Foundation; either
0007    version 2 of the License, or (at your option) any later version.
0008 
0009    This library is distributed in the hope that it will be useful,
0010    but WITHOUT ANY WARRANTY; without even the implied warranty of
0011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0012    Library General Public License for more details.
0013 
0014    You should have received a copy of the GNU Library General Public License
0015    along with this library; see the file COPYING.LIB.  If not, write to
0016    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
0017  * Boston, MA 02110-1301, USA.
0018 */
0019 #ifndef KARBON_ABOUTDATA_H
0020 #define KARBON_ABOUTDATA_H
0021 
0022 #include <KAboutData>
0023 #include <klocalizedstring.h>
0024 #include <kcoreaddons_version.h>
0025 
0026 #include <calligraversion.h>
0027 
0028 
0029 // This is all implemented here so that the executable and the part can share it
0030 // without sharing an object file.
0031 KAboutData * newKarbonAboutData()
0032 {
0033     KAboutData *aboutData = new KAboutData(
0034         QStringLiteral("karbon"),
0035         i18n("Karbon"),
0036         QStringLiteral(CALLIGRA_VERSION_STRING),
0037         i18n("A Vector Graphics Drawing Application."),
0038         KAboutLicense::LGPL,
0039         i18n("(c) 2001-%1, The Karbon Developers", QStringLiteral(CALLIGRA_YEAR)),
0040         QStringLiteral("https://www.calligra.org/karbon/"));
0041     aboutData->setProductName("karbon"); // for bugs.kde.org
0042     aboutData->setOrganizationDomain("kde.org");
0043 #if KCOREADDONS_VERSION >= 0x051600
0044     aboutData->setDesktopFileName(QStringLiteral("org.kde.karbon"));
0045 #endif
0046     aboutData->addAuthor(
0047         i18n("Anthony Fieroni"),
0048         i18n("Maintainer"),
0049         QString());
0050     aboutData->addAuthor(
0051         i18n("Rob Buis"),
0052         QString(),
0053         "buis@kde.org");
0054     aboutData->addAuthor(
0055         i18n("Tomislav Lukman"),
0056         QString(),
0057         "tomislav.lukman@ck.t-com.hr");
0058     aboutData->addAuthor(
0059         i18n("BenoƮt Vautrin"),
0060         QString(),
0061         "benoit.vautrin@free.fr");
0062     aboutData->addCredit(
0063         i18n("Jan Hambrecht"),
0064         i18n("Bug fixes and improvements"),
0065         "jaham@gmx.net");
0066     aboutData->addCredit(
0067         i18n("Peter Simonsson"),
0068         i18n("Bug fixes and improvements"),
0069         "psn@linux.se");
0070     aboutData->addCredit(
0071         i18n("Tim Beaulen"),
0072         i18n("Bug fixes and improvements"),
0073         "tbscope@gmail.com");
0074     aboutData->addCredit(
0075         i18n("Boudewijn Rempt"),
0076         i18n("Bug fixes and improvements"),
0077         "boud@valdyas.org");
0078     aboutData->addCredit(
0079         i18n("Pierre Stirnweiss"),
0080         i18n("Bug fixes and improvements"),
0081         "pierre.stirnweiss_kde@gadz.org");
0082     aboutData->addCredit(
0083         i18n("Inge Wallin"),
0084         i18n("Bug fixes"),
0085         "inge@lysator.liu.se");
0086     aboutData->addCredit(
0087         i18n("Alan Horkan"),
0088         i18n("Helpful patches and advice"));
0089     // TODO: add the names of some helpful souls
0090     // standard ki18n translator strings
0091     aboutData->setTranslator(i18nc("NAME OF TRANSLATORS", "Your names"),
0092                              i18nc("EMAIL OF TRANSLATORS", "Your emails"));
0093     return aboutData;
0094 }
0095 
0096 #endif /* KARBON_ABOUTDATA_H */
0097