![]() |
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 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 () |
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 31 of file qdesktopunixservices_p.h.
|
default |
|
default |
|
overridevirtual |
Reimplemented from QPlatformServices.
Definition at line 629 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 610 of file qdesktopunixservices.cpp.
|
overridevirtual |
Reimplemented from QPlatformServices.
Definition at line 657 of file qdesktopunixservices.cpp.
|
overridevirtual |
Reimplemented from QPlatformServices.
Reimplemented in QtWaylandClient::QWaylandPlatformServices.
Definition at line 622 of file qdesktopunixservices.cpp.
|
overridevirtual |
Reimplemented from QPlatformServices.
Reimplemented in QtWaylandClient::QWaylandPlatformServices.
Definition at line 615 of file qdesktopunixservices.cpp.
Reimplemented in QtWaylandClient::QWaylandPlatformServices, QXcbUnixServices, and QXcbUnixServices.
Definition at line 637 of file qdesktopunixservices.cpp.
|
virtual |
Reimplemented in QtWaylandClient::QWaylandPlatformServices, QXcbUnixServices, and QXcbUnixServices.
Definition at line 644 of file qdesktopunixservices.cpp.
Definition at line 666 of file qdesktopunixservices.cpp.
Reimplemented in QtWaylandClient::QWaylandPlatformServices, QXcbUnixServices, and QXcbUnixServices.
Definition at line 651 of file qdesktopunixservices.cpp.