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 <qcocoaservices.h>
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) |
QPlatformServiceColorPicker * | colorPicker (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... | |
Definition at line 13 of file qcocoaservices.h.
|
overridevirtual |
Reimplemented from QPlatformServices.
Definition at line 59 of file qcocoaservices.mm.
References Q_UNUSED.
bool QCocoaServices::handleUrl | ( | const QUrl & | url | ) |
Definition at line 33 of file qcocoaservices.mm.
References QDesktopServices::openUrl(), and url.
|
overridevirtual |
Reimplemented from QPlatformServices.
Definition at line 65 of file qcocoaservices.mm.
References QPlatformServices::ColorPicking.
|
overridevirtual |
Reimplemented from QPlatformServices.
Definition at line 27 of file qcocoaservices.mm.
References openUrl(), and url.
|
overridevirtual |
Reimplemented from QPlatformServices.
Definition at line 18 of file qcocoaservices.mm.
References url.
Referenced by openDocument().