KCoreAddons

kruntimeplatform.cpp
1// SPDX-FileCopyrightText: 2021 Alexander Lohnau <alexander.lohnau@gmx.de>
2// SPDX-License-Identifier: LGPL-2.0-or-later
3
4#include "kruntimeplatform.h"
5
7{
8 const QString env = QString::fromLocal8Bit(getenv("PLASMA_PLATFORM"));
10}
KCOREADDONS_EXPORT QStringList runtimePlatform()
Returns the runtime platform, e.g. "desktop" or "tablet, touch".
QString fromLocal8Bit(QByteArrayView str)
QStringList split(QChar sep, Qt::SplitBehavior behavior, Qt::CaseSensitivity cs) const const
SkipEmptyParts
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 1 2024 18:53:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.