diff --git a/src/kwatchgnupg/aboutdata.cpp b/src/kwatchgnupg/aboutdata.cpp index 5b3e6f8e1..2a0a97763 100644 --- a/src/kwatchgnupg/aboutdata.cpp +++ b/src/kwatchgnupg/aboutdata.cpp @@ -1,45 +1,45 @@ /* aboutdata.cpp This file is part of Kleopatra, the KDE keymanager SPDX-FileCopyrightText: 2004 Klarälvdalens Datakonsult AB SPDX-License-Identifier: GPL-2.0-or-later */ #include "aboutdata.h" #include #include #include struct about_data { const KLazyLocalizedString name; const KLazyLocalizedString desc; const char *email; const char *web; }; static const about_data authors[] = { {kli18n("Steffen Hansen"), kli18n("Original Author"), "hansen@kde.org", nullptr}, }; -AboutData::AboutData() +AboutDataWatchGnupg::AboutDataWatchGnupg() : KAboutData(QStringLiteral("kwatchgnupg"), i18n("KWatchGnuPG"), QStringLiteral(KWATCHGNUPG_VERSION_STRING), i18n("GnuPG log viewer"), KAboutLicense::GPL, i18n("(c) 2004 Klar\xC3\xA4lvdalens Datakonsult AB\n")) { using ::authors; // using ::credits; for (unsigned int i = 0; i < sizeof authors / sizeof *authors; ++i) { addAuthor(KLocalizedString(authors[i].name).toString(), KLocalizedString(authors[i].desc).toString(), QLatin1StringView(authors[i].email), QLatin1StringView(authors[i].web)); } } diff --git a/src/kwatchgnupg/aboutdata.h b/src/kwatchgnupg/aboutdata.h index 371f8a92b..d8373e1b7 100644 --- a/src/kwatchgnupg/aboutdata.h +++ b/src/kwatchgnupg/aboutdata.h @@ -1,18 +1,18 @@ /* aboutdata.h This file is part of Kleopatra, the KDE keymanager SPDX-FileCopyrightText: 2004 Klarälvdalens Datakonsult AB SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once #include -class AboutData : public KAboutData +class AboutDataWatchGnupg : public KAboutData { public: - AboutData(); + AboutDataWatchGnupg(); }; diff --git a/src/kwatchgnupg/main.cpp b/src/kwatchgnupg/main.cpp index 39b343a62..61dcca644 100644 --- a/src/kwatchgnupg/main.cpp +++ b/src/kwatchgnupg/main.cpp @@ -1,41 +1,41 @@ /* main.cpp This file is part of Kleopatra, the KDE keymanager SPDX-FileCopyrightText: 2001, 2002, 2004 Klarälvdalens Datakonsult AB SPDX-License-Identifier: GPL-2.0-or-later */ #include #include "aboutdata.h" #include "kwatchgnupgmainwin.h" #include "utils/kuniqueservice.h" #include "kwatchgnupg_debug.h" #include #include #include #include int main(int argc, char **argv) { QApplication app(argc, argv); KCrash::initialize(); KLocalizedString::setApplicationDomain(QByteArrayLiteral("kwatchgnupg")); - AboutData aboutData; + AboutDataWatchGnupg aboutData; KAboutData::setApplicationData(aboutData); QCommandLineParser parser; aboutData.setupCommandLine(&parser); parser.process(app); aboutData.processCommandLine(&parser); KUniqueService service; auto mMainWin = new KWatchGnuPGMainWindow(); mMainWin->show(); return app.exec(); }