KRuntimePlatform

KRuntimePlatform Namespace Reference

Functions

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

Since
5.97

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 Tue Mar 26 2024 11:13:31 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.