MauiKit Image Tools

moduleinfo.cpp
1#include "moduleinfo.h"
2#include "../imagetools_version.h"
3#include <KLocalizedString>
4#include <KExiv2Qt6/KExiv2/KExiv2>
5#include "ocs.h"
6
7QString MauiKitImageTools::versionString()
8{
9 return QStringLiteral(ImageTools_VERSION_STRING);
10}
11
12QString MauiKitImageTools::buildVersion()
13{
14 return QStringLiteral(GIT_BRANCH)+QStringLiteral("/")+QStringLiteral(GIT_COMMIT_HASH);
15}
16
17KAboutComponent MauiKitImageTools::aboutData()
18{
19 return KAboutComponent(QStringLiteral("MauiKit ImageTools"),
20 i18n("Image tools components for editing, viewing and navigating."),
21 QStringLiteral(ImageTools_VERSION_STRING),
22 QStringLiteral("http://mauikit.org"),
23 KAboutLicense::LicenseKey::LGPL_V3);
24}
25
26KAboutComponent MauiKitImageTools::exiv2Data()
27{
28 return KAboutComponent(QStringLiteral("Exiv2"),
29 QStringLiteral("Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata."),
31 QStringLiteral("https://exiv2.org"),
32 KAboutLicense::LicenseKey::File);
33}
34
35
36KAboutComponent MauiKitImageTools::libKexiv2Data()
37{
38 return KAboutComponent(QStringLiteral("LibKExiv2"),
39 QStringLiteral("KDE library wrapper around Exiv2."),
41 QStringLiteral("https://exiv2.org"),
42 KAboutLicense::LicenseKey::File);
43}
44
45KAboutComponent MauiKitImageTools::tesseractData()
46{
47 return KAboutComponent(QStringLiteral("Tesseract"),
48 QStringLiteral("Open source OCR engine."),
49 OCS::versionString(),
50 QStringLiteral("https://github.com/tesseract-ocr/tesseract"),
51 KAboutLicense::LicenseKey::BSD_2_Clause);
52}
static QString Exiv2Version()
static QString version()
QString i18n(const char *text, const TYPE &arg...)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Apr 4 2025 12:06:57 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.