![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qdesktopunixservices_p.h>
Public Types | |
| enum class | LaunchType { Browser , Document } |
| Public Types inherited from QPlatformServices | |
| enum | Capability { ColorPicking } |
| Capabilities are used to determine a specific platform service's availability. More... | |
Public Member Functions | |
| QDesktopUnixServices () | |
| ~QDesktopUnixServices () | |
| QByteArray | desktopEnvironment () const override |
| QPlatformServices::desktopEnvironment returns the active desktop environment. | |
| bool | hasCapability (Capability capability) const override |
| bool | openUrl (const QUrl &url) override |
| bool | openDocument (const QUrl &url) override |
| QPlatformServiceColorPicker * | colorPicker (QWindow *parent=nullptr) override |
| void | setApplicationBadge (qint64 number) |
| virtual QString | portalWindowIdentifier (QWindow *window) |
| virtual void | registerDBusMenuForWindow (QWindow *window, const QString &service, const QString &path) |
| virtual void | unregisterDBusMenuForWindow (QWindow *window) |
| Public Member Functions inherited from QPlatformServices | |
| QPlatformServices () | |
| virtual | ~QPlatformServices () |
Definition at line 31 of file qdesktopunixservices_p.h.
|
strong |
| Enumerator | |
|---|---|
| Browser | |
| Document | |
Definition at line 34 of file qdesktopunixservices_p.h.
|
default |
|
default |
|
overridevirtual |
Reimplemented from QPlatformServices.
Definition at line 640 of file qdesktopunixservices.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 621 of file qdesktopunixservices.cpp.
|
overridevirtual |
Reimplemented from QPlatformServices.
Definition at line 668 of file qdesktopunixservices.cpp.
|
overridevirtual |
Reimplemented from QPlatformServices.
Reimplemented in QtWaylandClient::QWaylandPlatformServices.
Definition at line 633 of file qdesktopunixservices.cpp.
|
overridevirtual |
Reimplemented from QPlatformServices.
Reimplemented in QtWaylandClient::QWaylandPlatformServices.
Definition at line 626 of file qdesktopunixservices.cpp.
Reimplemented in QtWaylandClient::QWaylandPlatformServices, QXcbUnixServices, and QXcbUnixServices.
Definition at line 648 of file qdesktopunixservices.cpp.
|
virtual |
Reimplemented in QtWaylandClient::QWaylandPlatformServices, QXcbUnixServices, and QXcbUnixServices.
Definition at line 655 of file qdesktopunixservices.cpp.
Definition at line 677 of file qdesktopunixservices.cpp.
Reimplemented in QtWaylandClient::QWaylandPlatformServices, QXcbUnixServices, and QXcbUnixServices.
Definition at line 662 of file qdesktopunixservices.cpp.