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>.
Loading...
Searching...
No Matches
QCocoaServices Class Reference

#include <qcocoaservices.h>

+ Inheritance diagram for QCocoaServices:
+ Collaboration diagram for QCocoaServices:

Public Member Functions

bool hasCapability (Capability capability) const override
 
bool openUrl (const QUrl &url) override
 
bool openDocument (const QUrl &url) override
 
bool handleUrl (const QUrl &url)
 
QPlatformServiceColorPickercolorPicker (QWindow *parent) override
 
- Public Member Functions inherited from QPlatformServices
 QPlatformServices ()
 
virtual ~QPlatformServices ()
 
virtual QByteArray desktopEnvironment () const
 QPlatformServices::desktopEnvironment returns the active desktop environment.
 

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 13 of file qcocoaservices.h.

Member Function Documentation

◆ colorPicker()

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

Reimplemented from QPlatformServices.

Definition at line 59 of file qcocoaservices.mm.

References Q_UNUSED.

◆ handleUrl()

bool QCocoaServices::handleUrl ( const QUrl & url)

Definition at line 33 of file qcocoaservices.mm.

References QDesktopServices::openUrl(), and url.

+ Here is the call graph for this function:

◆ hasCapability()

bool QCocoaServices::hasCapability ( Capability capability) const
overridevirtual

Reimplemented from QPlatformServices.

Definition at line 65 of file qcocoaservices.mm.

References QPlatformServices::ColorPicking.

◆ openDocument()

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

Reimplemented from QPlatformServices.

Definition at line 27 of file qcocoaservices.mm.

References openUrl(), and url.

+ Here is the call graph for this function:

◆ openUrl()

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

Reimplemented from QPlatformServices.

Definition at line 18 of file qcocoaservices.mm.

References url.

Referenced by openDocument().

+ Here is the caller graph for this function:

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