Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qgenericunixservices_p.h>
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 () |
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 557 of file qgenericunixservices.cpp.
References Q_UNUSED.
|
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 538 of file qgenericunixservices.cpp.
References QByteArrayLiteral.
|
overridevirtual |
Reimplemented from QPlatformServices.
Definition at line 571 of file qgenericunixservices.cpp.
References QPlatformServices::ColorPicking.
|
overridevirtual |
Reimplemented from QPlatformServices.
Reimplemented in QtWaylandClient::QWaylandWindowManagerIntegration.
Definition at line 550 of file qgenericunixservices.cpp.
References Q_UNUSED, qWarning, and url.
Referenced by QtWaylandClient::QWaylandWindowManagerIntegration::openDocument().
|
overridevirtual |
Reimplemented from QPlatformServices.
Reimplemented in QtWaylandClient::QWaylandWindowManagerIntegration.
Definition at line 543 of file qgenericunixservices.cpp.
References Q_UNUSED, qWarning, and url.
Referenced by QtWaylandClient::QWaylandWindowManagerIntegration::openUrl().
Reimplemented in QXcbUnixServices, and QtWaylandClient::QWaylandWindowManagerIntegration.
Definition at line 565 of file qgenericunixservices.cpp.
References Q_UNUSED, and window().
Referenced by QGtk3Dialog::show().
Definition at line 580 of file qgenericunixservices.cpp.
References QDBusMessage::createSignal(), number, Q_UNUSED, qBound(), qGuiApp, QStringLiteral, qWarning, QDBusConnection::sessionBus(), and signal.
Referenced by QXcbIntegration::setApplicationBadge().