KRuntimePlatform Namespace
Utility functions around the runtime platform. More...
Header: | #include <KRuntimePlatform> |
CMake: | find_package(KF6 REQUIRED COMPONENTS CoreAddons) target_link_libraries(mytarget PRIVATE KF6::CoreAddons) |
Functions
(since 5.97) QStringList | runtimePlatform() |
Detailed Description
Function Documentation
[since 5.97]
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
This function was introduced in 5.97.