![]() |
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 616 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 597 of file qdesktopunixservices.cpp.
|
overridevirtual |
Reimplemented from QPlatformServices.
Definition at line 644 of file qdesktopunixservices.cpp.
|
overridevirtual |
Reimplemented from QPlatformServices.
Reimplemented in QtWaylandClient::QWaylandPlatformServices.
Definition at line 609 of file qdesktopunixservices.cpp.
|
overridevirtual |
Reimplemented from QPlatformServices.
Reimplemented in QtWaylandClient::QWaylandPlatformServices.
Definition at line 602 of file qdesktopunixservices.cpp.
Reimplemented in QtWaylandClient::QWaylandPlatformServices, QXcbUnixServices, and QXcbUnixServices.
Definition at line 624 of file qdesktopunixservices.cpp.
|
virtual |
Reimplemented in QtWaylandClient::QWaylandPlatformServices, QXcbUnixServices, and QXcbUnixServices.
Definition at line 631 of file qdesktopunixservices.cpp.
Definition at line 653 of file qdesktopunixservices.cpp.
Reimplemented in QtWaylandClient::QWaylandPlatformServices, QXcbUnixServices, and QXcbUnixServices.
Definition at line 638 of file qdesktopunixservices.cpp.