MauiKit Image Tools

moduleinfo.cpp
1#include "moduleinfo.h"
2#include "../imagetools_version.h"
3#include <KLocalizedString>
4#include <exiv2/version.hpp>
5
6QString MauiKitImageTools::versionString()
7{
8 return QStringLiteral(ImageTools_VERSION_STRING);
9}
10
11QString MauiKitImageTools::buildVersion()
12{
13 return QStringLiteral(GIT_BRANCH)+QStringLiteral("/")+QStringLiteral(GIT_COMMIT_HASH);
14}
15
16KAboutComponent MauiKitImageTools::aboutData()
17{
18 return KAboutComponent(QStringLiteral("MauiKit ImageTools"),
19 i18n("Image tools components for editing, viewing and navigating."),
20 QStringLiteral(ImageTools_VERSION_STRING),
21 QStringLiteral("http://mauikit.org"),
22 KAboutLicense::LicenseKey::LGPL_V3);
23}
24
25KAboutComponent MauiKitImageTools::exiv2Data()
26{
27 return KAboutComponent(QStringLiteral("Exiv2"),
28 QStringLiteral("Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata."),
29 QString::fromStdString(Exiv2::versionString()),
30 QStringLiteral("https://exiv2.org"),
31 KAboutLicense::LicenseKey::File);
32}
QString i18n(const char *text, const TYPE &arg...)
QString fromStdString(const std::string &str)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.