![]() |
Qt 6.x
The Qt SDK
|
#include <qiosservices.h>
Public Member Functions | |
bool | openUrl (const QUrl &url) |
bool | openDocument (const QUrl &url) |
bool | handleUrl (const QUrl &url) |
![]() | |
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 | |
![]() | |
enum | Capability { ColorPicking } |
Capabilities are used to determine a specific platform service's availability. More... | |
Definition at line 12 of file qiosservices.h.
bool QIOSServices::handleUrl | ( | const QUrl & | url | ) |
Definition at line 61 of file qiosservices.mm.
References QDesktopServices::openUrl(), and url.
|
virtual |
Reimplemented from QPlatformServices.
Definition at line 54 of file qiosservices.mm.
References QPlatformServices::openDocument(), and url.
Referenced by openUrl().
|
virtual |
Reimplemented from QPlatformServices.
Definition at line 17 of file qiosservices.mm.
References QString::isEmpty(), openDocument(), qt_apple_isApplicationExtension(), qt_apple_sharedApplication(), qWarning, QUrl::scheme(), and url.