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
qohossettings.cpp File Reference

(dfb24ae211eed5af950e15ae50783635e1824490)

#include "qohossettings.h"
#include <QtCore/private/qohoscommon_p.h>
#include <cmath>
#include <cstring>
#include <functional>
#include <qohosdeviceinfo_p.h>
#include <qohosjsutils.h>
#include <qohosplugincore.h>
#include <qohosutils.h>
#include <stdexcept>
#include <string>
#include <utility>
Include dependency graph for qohossettings.cpp:

Go to the source code of this file.

Namespaces

namespace  QT_BEGIN_NAMESPACE
 Combined button and popup list for selecting options.

Functions

QOhosOptional< std::string > QT_BEGIN_NAMESPACE::tryGetDataItemValue (const std::string &name, const std::string &domainName)
template<typename T>
QOhosOptional< T > QT_BEGIN_NAMESPACE::tryGetDataItemTypedValue (const std::string &name, const std::string &domainName)
template<>
QOhosOptional< double > QT_BEGIN_NAMESPACE::tryGetDataItemTypedValue (const std::string &name, const std::string &domainName)
std::string QT_BEGIN_NAMESPACE::getOhosSettingsUserPropertyDomainName ()
std::string QT_BEGIN_NAMESPACE::settingsUserPropertyDomainName (QtOhos::JsState &jsState)
QNapi::Object QT_BEGIN_NAMESPACE::settingsContext (QtOhos::JsState &jsState)
std::string QT_BEGIN_NAMESPACE::readSettingValue (QtOhos::JsState &jsState, const QNapi::Object &context, const std::string &name)
std::shared_ptr< voidQT_BEGIN_NAMESPACE::registerSettingsKeyObserver (QtOhos::JsState &jsState, QNapi::Object context, const std::string &name, std::function< void(QtOhos::JsState &)> onChanged)
bool QT_BEGIN_NAMESPACE::readWindowPcModeEnabled (QtOhos::JsState &jsState)
QOhosSupplier< bool > QT_BEGIN_NAMESPACE::makeWindowPcModeEnabledSupplier ()
template<>
QOhosOptional< double > QT_BEGIN_NAMESPACE::tryGetDataItemTypedValue (const std::string &name, const std::string &domainName)

Variables

constexpr const char * QT_BEGIN_NAMESPACE::fontSizeScalePropertyName = "font_scale"
constexpr const char * QT_BEGIN_NAMESPACE::windowPcModeSwitchStatusPropertyName = "window_pcmode_switch_status"