File indexing completed on 2024-05-12 03:55:00
0001 // SPDX-FileCopyrightText: 2021 Alexander Lohnau <alexander.lohnau@gmx.de> 0002 // SPDX-License-Identifier: LGPL-2.0-or-later 0003 0004 #include <QStringList> 0005 0006 #include "kcoreaddons_export.h" 0007 0008 /** 0009 * @brief Utility functions around the runtime platform. 0010 */ 0011 namespace KRuntimePlatform 0012 { 0013 /** 0014 * Returns the runtime platform, e.g.\ "desktop" or "tablet, touch". The first entry/ies in the list relate to the platform 0015 * formfactor and the last is the input method specialization. 0016 * If the string is empty, there is no specified runtime platform and a traditional desktop environment may be assumed. 0017 * 0018 * The value is read using the PLASMA_PLATFORM env variable 0019 * @since 5.97 0020 */ 0021 KCOREADDONS_EXPORT QStringList runtimePlatform(); 0022 }