![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qohosplatformservices.h>
Public Member Functions | |
| QOhosPlatformServices () | |
| bool | hasCapability (Capability capability) const override |
| bool | openUrl (const QUrl &url) override |
| bool | openDocument (const QUrl &url) override |
| QByteArray | desktopEnvironment () const override |
| QPlatformServices::desktopEnvironment returns the active desktop environment. | |
| QPlatformServiceColorPicker * | colorPicker (QWindow *parent) override |
| Public Member Functions inherited from QPlatformServices | |
| QPlatformServices () | |
| virtual | ~QPlatformServices () |
Additional Inherited Members | |
| Public Types inherited from QPlatformServices | |
| enum | Capability { ColorPicking } |
| Capabilities are used to determine a specific platform service's availability. More... | |
Definition at line 11 of file qohosplatformservices.h.
|
default |
|
overridevirtual |
Reimplemented from QPlatformServices.
Definition at line 78 of file qohosplatformservices.cpp.
|
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 149 of file qohosplatformservices.cpp.
|
overridevirtual |
Reimplemented from QPlatformServices.
Definition at line 84 of file qohosplatformservices.cpp.
|
overridevirtual |
Reimplemented from QPlatformServices.
Definition at line 144 of file qohosplatformservices.cpp.
|
overridevirtual |
Reimplemented from QPlatformServices.
Definition at line 94 of file qohosplatformservices.cpp.