4#ifndef QOHOSPLATFORMSERVICES_H
5#define QOHOSPLATFORMSERVICES_H
7#include <qpa/qplatformservices.h>
11class QOhosPlatformServices :
public QPlatformServices
14 QOhosPlatformServices();
16 bool hasCapability(Capability capability)
const override;
17 bool openUrl(
const QUrl &url)
override;
18 bool openDocument(
const QUrl &url)
override;
19 QByteArray desktopEnvironment()
const override;
21 QPlatformServiceColorPicker *colorPicker(QWindow *parent)
override;
bool isWindowPcModeEnabled() const
static QOhosSettings & instance()
Combined button and popup list for selecting options.
bool isInputDeviceWithMouse(QtOhos::JsState &jsState, std::uint32_t deviceId)
std::set< QInputDevice::DeviceType > getAvailableDeviceTypes()
bool isDeviceTypeInDeviceIds(QtOhos::JsState &jsState, const std::vector< std::uint32_t > &deviceIds, const std::function< bool(QtOhos::JsState &, std::uint32_t)> &isDeviceTypeFunc)
bool isInputDeviceWithTouchscreen(QtOhos::JsState &jsState, std::uint32_t deviceId)
bool isInputDeviceOfType(QtOhos::JsState &jsState, std::uint32_t deviceId, const std::string &type)
bool isInputDeviceWithTouchpad(QtOhos::JsState &jsState, std::uint32_t deviceId)
bool isOhosNoUiChildMode()