KRuntimePlatform Namespace Reference


KCOREADDONS_EXPORT QStringList runtimePlatform ()

Detailed Description

Utility functions around the runtime platform.

Function Documentation

◆ runtimePlatform()

QStringList KRuntimePlatform::runtimePlatform ( )

Returns the runtime platform, e.g. "desktop" or "tablet, touch".

The first entry/ies in the list relate to the platform formfactor and the last is the input method specialization. If the string is empty, there is no specified runtime platform and a traditional desktop environment may be assumed.

The value is read using the PLASMA_PLATFORM env variable


Definition at line 6 of file kruntimeplatform.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 12 2024 11:50:51 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.