File indexing completed on 2025-01-05 04:46:51

0001 /*
0002     SPDX-FileCopyrightText: 2014 Daniel Vrátil <dvratil@redhat.com>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #include "selftestdialog.h"
0008 
0009 #include <KAboutData>
0010 
0011 #include <QApplication>
0012 #include <QCommandLineParser>
0013 
0014 int main(int argc, char *argv[])
0015 {
0016     QApplication app(argc, argv);
0017     QCommandLineParser parser;
0018     KAboutData about(QStringLiteral("akonadiselftest"),
0019                      i18n("Akonadi Self Test"),
0020                      QStringLiteral("1.0"),
0021                      i18n("Checks and reports state of Akonadi server"),
0022                      KAboutLicense::GPL_V2,
0023                      i18n("(c) 2008 Volker Krause <vkrause@kde.org>"));
0024     about.setupCommandLine(&parser);
0025 
0026     QCoreApplication::setApplicationName(QStringLiteral("akonadiselftest"));
0027     QCoreApplication::setApplicationVersion(QStringLiteral("1.0"));
0028     parser.process(app);
0029 
0030     Akonadi::SelfTestDialog dlg;
0031     dlg.show();
0032 
0033     return app.exec();
0034 }