File indexing completed on 2025-02-02 04:36:38

0001 #include "moduleinfo.h"
0002 #include "../documents_version.h"
0003 #include <KI18n/KLocalizedString>
0004 
0005 #include <poppler/poppler-config.h>
0006 
0007 QString MauiKitDocuments::versionString()
0008 {
0009     return QStringLiteral(Documents_VERSION_STRING);
0010 }
0011 
0012 QString MauiKitDocuments::buildVersion()
0013 {
0014     return GIT_BRANCH+QStringLiteral("/")+GIT_COMMIT_HASH;
0015 }
0016 
0017 KAboutComponent MauiKitDocuments::aboutData()
0018 {
0019     return KAboutComponent(QStringLiteral("MauiKit Documents"),
0020                          QStringLiteral("PDF, comic and ebooks viewer controls."),
0021                          QStringLiteral(Documents_VERSION_STRING),
0022                          QStringLiteral("http://mauikit.org"),
0023                          KAboutLicense::LicenseKey::LGPL_V3);
0024 }
0025 
0026 KAboutComponent MauiKitDocuments::aboutPoppler()
0027 {
0028     return KAboutComponent(QStringLiteral("Poppler"),
0029                          QStringLiteral("PDF rendering library based on the xpdf-3.0 code base."),
0030                          QStringLiteral(POPPLER_VERSION),
0031                          QStringLiteral("https://poppler.freedesktop.org/"),
0032                          KAboutLicense::LicenseKey::LGPL_V3);
0033 }