Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QHaikuServices Class Reference

#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 hasCapability (Capability capability) const
virtual QPlatformServiceColorPickercolorPicker (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...

Detailed Description

Definition at line 11 of file qhaikuservices.h.

Member Function Documentation

◆ desktopEnvironment()

QByteArray QHaikuServices::desktopEnvironment ( ) const
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.

◆ openDocument()

bool QHaikuServices::openDocument ( const QUrl & url)
overridevirtual

Reimplemented from QPlatformServices.

Definition at line 33 of file qhaikuservices.cpp.

◆ openUrl()

QT_BEGIN_NAMESPACE bool QHaikuServices::openUrl ( const QUrl & url)
overridevirtual

Reimplemented from QPlatformServices.

Definition at line 15 of file qhaikuservices.cpp.


The documentation for this class was generated from the following files: