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
QOhosPlatformServices Class Reference

#include <qohosplatformservices.h>

Inheritance diagram for QOhosPlatformServices:
Collaboration diagram for QOhosPlatformServices:

Public Member Functions

 QOhosPlatformServices ()
bool hasCapability (Capability capability) const override
bool openUrl (const QUrl &url) override
bool openDocument (const QUrl &url) override
QByteArray desktopEnvironment () const override
 QPlatformServices::desktopEnvironment returns the active desktop environment.
QPlatformServiceColorPickercolorPicker (QWindow *parent) override
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...

Detailed Description

Definition at line 11 of file qohosplatformservices.h.

Constructor & Destructor Documentation

◆ QOhosPlatformServices()

QOhosPlatformServices::QOhosPlatformServices ( )
default

Member Function Documentation

◆ colorPicker()

QPlatformServiceColorPicker * QOhosPlatformServices::colorPicker ( QWindow * parent)
overridevirtual

Reimplemented from QPlatformServices.

Definition at line 79 of file qohosplatformservices.cpp.

◆ desktopEnvironment()

QByteArray QOhosPlatformServices::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 150 of file qohosplatformservices.cpp.

◆ hasCapability()

bool QOhosPlatformServices::hasCapability ( Capability capability) const
overridevirtual

Reimplemented from QPlatformServices.

Definition at line 85 of file qohosplatformservices.cpp.

◆ openDocument()

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

Reimplemented from QPlatformServices.

Definition at line 145 of file qohosplatformservices.cpp.

◆ openUrl()

bool QOhosPlatformServices::openUrl ( const QUrl & url)
overridevirtual

Reimplemented from QPlatformServices.

Definition at line 95 of file qohosplatformservices.cpp.


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