![]() |
Qt 6.x
The Qt SDK
|
#include <qgenericunixservices_p.h>
Inheritance diagram for QGenericUnixServices:
Collaboration diagram for QGenericUnixServices:Public Member Functions | |
| QGenericUnixServices () | |
| 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) |
Public Member Functions inherited from QPlatformServices | |
| QPlatformServices () | |
| virtual | ~QPlatformServices () |
| virtual bool | openUrl (const QUrl &url) |
| virtual bool | openDocument (const QUrl &url) |
| virtual QByteArray | desktopEnvironment () const |
| QPlatformServices::desktopEnvironment returns the active desktop environment. | |
| virtual bool | hasCapability (Capability capability) const |
| virtual QPlatformServiceColorPicker * | colorPicker (QWindow *parent=nullptr) |
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 26 of file qgenericunixservices_p.h.
|
default |
|
overridevirtual |
Reimplemented from QPlatformServices.
Definition at line 547 of file qgenericunixservices.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 528 of file qgenericunixservices.cpp.
References QByteArrayLiteral.
|
overridevirtual |
Reimplemented from QPlatformServices.
Definition at line 561 of file qgenericunixservices.cpp.
References QPlatformServices::ColorPicking.
|
overridevirtual |
Reimplemented from QPlatformServices.
Reimplemented in QtWaylandClient::QWaylandWindowManagerIntegration.
Definition at line 540 of file qgenericunixservices.cpp.
References Q_UNUSED, qWarning, and url.
Referenced by QtWaylandClient::QWaylandWindowManagerIntegration::openDocument().
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from QPlatformServices.
Reimplemented in QtWaylandClient::QWaylandWindowManagerIntegration.
Definition at line 533 of file qgenericunixservices.cpp.
References Q_UNUSED, qWarning, and url.
Referenced by QtWaylandClient::QWaylandWindowManagerIntegration::openUrl().
Here is the caller graph for this function:Reimplemented in QXcbUnixServices, and QtWaylandClient::QWaylandWindowManagerIntegration.
Definition at line 555 of file qgenericunixservices.cpp.
References Q_UNUSED, and window().
Referenced by QGtk3Dialog::show().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 570 of file qgenericunixservices.cpp.
References QDBusMessage::createSignal(), number, Q_UNUSED, qBound(), qGuiApp, QStringLiteral, qWarning, QDBusConnection::send(), QDBusConnection::sessionBus(), and signal.
Referenced by QXcbIntegration::setApplicationBadge().
Here is the call graph for this function:
Here is the caller graph for this function: