#include <qohosplatformservices.h>
Definition at line 12 of file qohosplatformservices.h.
◆ QOhosPlatformServices()
| QOhosPlatformServices::QOhosPlatformServices |
( |
| ) |
|
|
default |
◆ colorPicker()
◆ desktopEnvironment()
| QByteArray QOhosPlatformServices::desktopEnvironment |
( |
| ) |
const |
|
overridevirtual |
QPlatformServices::desktopEnvironment returns the active desktop environment.
On Unix this function returns the uppercase desktop environment name, such as KDE, GNOME, UNITY, XFCE, LXDE etc. or UNKNOWN if none was detected. The primary way to detect the desktop environment is the environment variable XDG_CURRENT_DESKTOP.
Reimplemented from QPlatformServices.
Definition at line 173 of file qohosplatformservices.cpp.
◆ hasCapability()
| bool QOhosPlatformServices::hasCapability |
( |
Capability | capability | ) |
const |
|
overridevirtual |
◆ mapOhosFileUriToPathInJsThread()
| std::string QOhosPlatformServices::mapOhosFileUriToPathInJsThread |
( |
const std::string & | ohosFileUri | ) |
|
|
static |
◆ mapPathToOhosUriInJsThread()
| std::string QOhosPlatformServices::mapPathToOhosUriInJsThread |
( |
const std::string & | path | ) |
|
|
static |
◆ openDocument()
| bool QOhosPlatformServices::openDocument |
( |
const QUrl & | url | ) |
|
|
overridevirtual |
◆ openUrl()
| bool QOhosPlatformServices::openUrl |
( |
const QUrl & | url | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: