File indexing completed on 2024-04-28 04:18:49

0001 // vim: set tabstop=4 shiftwidth=4 expandtab:
0002 /*
0003 Gwenview: an image viewer
0004 Copyright 2012 Aurélien Gâteau <agateau@kde.org>
0005 
0006 This program is free software; you can redistribute it and/or
0007 modify it under the terms of the GNU General Public License
0008 as published by the Free Software Foundation; either version 2
0009 of the License, or (at your option) any later version.
0010 
0011 This program is distributed in the hope that it will be useful,
0012 but WITHOUT ANY WARRANTY; without even the implied warranty of
0013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0014 GNU General Public License for more details.
0015 
0016 You should have received a copy of the GNU General Public License
0017 along with this program.  If not, see <http://www.gnu.org/licenses/>.
0018 */
0019 // Self
0020 #include "about.h"
0021 
0022 // Local
0023 #include "gwenview_version.h"
0024 
0025 // KF
0026 #include <KAboutData>
0027 #include <KLocalizedString>
0028 
0029 // Qt
0030 #include <QString>
0031 
0032 namespace Gwenview
0033 {
0034 KAboutData *createAboutData(const QString &appName, const QString &programName)
0035 {
0036     auto data = new KAboutData(appName, programName, QStringLiteral(GWENVIEW_VERSION_STRING));
0037     data->setLicense(KAboutLicense::GPL);
0038     data->setCopyrightStatement(i18n("Copyright 2000-2022 Gwenview authors"));
0039     data->setProductName("gwenview");
0040     data->addAuthor(QStringLiteral("Lukáš Tinkl"), i18n("Current Maintainer"), QStringLiteral("ltinkl@redhat.com"));
0041     data->addAuthor(QStringLiteral("Aurélien Gâteau"), i18n("Developer"), QStringLiteral("agateau@kde.org"));
0042     data->addAuthor(QStringLiteral("Benjamin Löwe"), i18n("Developer"), QStringLiteral("benni@mytum.de"));
0043     return data;
0044 }
0045 
0046 } // namespace