KCoreAddons

kruntimeplatform.h
1// SPDX-FileCopyrightText: 2021 Alexander Lohnau <alexander.lohnau@gmx.de>
2// SPDX-License-Identifier: LGPL-2.0-or-later
3
4#include <QStringList>
5
6#include "kcoreaddons_export.h"
7
8/**
9 * @brief Utility functions around the runtime platform.
10 */
12{
13/**
14 * Returns the runtime platform, e.g.\ "desktop" or "tablet, touch". The first entry/ies in the list relate to the platform
15 * formfactor and the last is the input method specialization.
16 * If the string is empty, there is no specified runtime platform and a traditional desktop environment may be assumed.
17 *
18 * The value is read using the PLASMA_PLATFORM env variable
19 * @since 5.97
20 */
21KCOREADDONS_EXPORT QStringList runtimePlatform();
22}
Utility functions around the runtime platform.
KCOREADDONS_EXPORT QStringList runtimePlatform()
Returns the runtime platform, e.g. "desktop" or "tablet, touch".
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:24 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.