![]() |
Qt 6.x
The Qt SDK
|
#include <qhaikuservices.h>
Inheritance diagram for QHaikuServices:
Collaboration diagram for QHaikuServices:Public Member Functions | |
| bool | openUrl (const QUrl &url) override |
| bool | openDocument (const QUrl &url) override |
| QByteArray | desktopEnvironment () const override |
| QPlatformServices::desktopEnvironment returns the active desktop environment. | |
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 11 of file qhaikuservices.h.
|
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 47 of file qhaikuservices.cpp.
|
overridevirtual |
Reimplemented from QPlatformServices.
Definition at line 33 of file qhaikuservices.cpp.
References QByteArray::constData(), QFile::encodeName(), QUrl::toLocalFile(), and url.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QPlatformServices.
Definition at line 15 of file qhaikuservices.cpp.
References QByteArray::constData(), QByteArray::data(), mimeType, QMimeDatabase::mimeTypeForUrl(), QString::toLocal8Bit(), QUrl::toString(), and url.
Here is the call graph for this function: