47 lines
1.6 KiB
C++
Raw Normal View History

2024-06-29 11:52:32 +06:00
// vim: set tabstop=4 shiftwidth=4 expandtab:
/*
Gwenview: an image viewer
Copyright 2012 Aurélien Gâteau <agateau@kde.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program 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, see <http://www.gnu.org/licenses/>.
*/
// Self
#include "about.h"
// Local
#include "gwenview_version.h"
// KF
#include <KAboutData>
#include <KLocalizedString>
// Qt
#include <QString>
namespace Gwenview
{
KAboutData *createAboutData(const QString &appName, const QString &programName)
{
auto data = new KAboutData(appName, programName, QStringLiteral(GWENVIEW_VERSION_STRING));
data->setLicense(KAboutLicense::GPL);
data->setCopyrightStatement(i18n("Copyright 2000-2022 Gwenview authors"));
data->setProductName("gwenview");
data->addAuthor(QStringLiteral("Lukáš Tinkl"), i18n("Current Maintainer"), QStringLiteral("ltinkl@redhat.com"));
data->addAuthor(QStringLiteral("Aurélien Gâteau"), i18n("Developer"), QStringLiteral("agateau@kde.org"));
data->addAuthor(QStringLiteral("Benjamin Löwe"), i18n("Developer"), QStringLiteral("benni@mytum.de"));
return data;
}
} // namespace