Akonadi

selftest/main.cpp
1/*
2 SPDX-FileCopyrightText: 2014 Daniel Vrátil <dvratil@redhat.com>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#include "selftestdialog.h"
8
9#include <KAboutData>
10
11#include <QApplication>
12#include <QCommandLineParser>
13
14int main(int argc, char *argv[])
15{
16 QApplication app(argc, argv);
17 QCommandLineParser parser;
18 KAboutData about(QStringLiteral("akonadiselftest"),
19 i18n("Akonadi Self Test"),
20 QStringLiteral("1.0"),
21 i18n("Checks and reports state of Akonadi server"),
23 i18n("(c) 2008 Volker Krause <vkrause@kde.org>"));
24 about.setupCommandLine(&parser);
25
26 QCoreApplication::setApplicationName(QStringLiteral("akonadiselftest"));
27 QCoreApplication::setApplicationVersion(QStringLiteral("1.0"));
28 parser.process(app);
29
31 dlg.show();
32
33 return app.exec();
34}
A dialog that checks the current status of the Akonadi system.
QString i18n(const char *text, const TYPE &arg...)
void process(const QCoreApplication &app)
void setApplicationName(const QString &application)
void setApplicationVersion(const QString &version)
void show()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:31:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.