Alkimia API

alkapplication.h
1/*
2 SPDX-FileCopyrightText: 2024 Ralf Habacker ralf.habacker @freenet.de
3
4 This file is part of libalkimia.
5
6 SPDX-License-Identifier: LGPL-2.1-or-later
7*/
8
9#ifndef ALKAPPLICATION_H
10#define ALKAPPLICATION_H
11
12#include <QStringList>
13
14class AlkAboutData
15{
16public:
17 enum License {License_GPL = 1, License_LGPL = 2 };
18 explicit AlkAboutData(const QString &componentName = {}, const QString &displayName = {}, const QString &version = {},
19 const QString &shortDescription = {}, AlkAboutData::License license = {}, const QString &copyrightStatement = {});
20 AlkAboutData &setOrganizationDomain(const QByteArray &domain);
21 static void setApplicationData(AlkAboutData &aboutData);
23 QString shortDescription() const;
24};
25
26class AlkApplication
27{
28public:
29 AlkApplication(int argc, char** argv);
30 QStringList arguments();
31 int exec();
32};
33
34#endif // ALKAPPLICATION_H
AKONADI_CALENDAR_EXPORT QString displayName(Akonadi::ETMCalendar *calendar, const Akonadi::Collection &collection)
KCOREADDONS_EXPORT unsigned int version()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.