Loading...
Searching...
No Matches
JS::GlobalDeviceEnumerator Class Reference
Inheritance diagram for JS::GlobalDeviceEnumerator:

Public Member Functions

 GlobalDeviceEnumerator ()
 
void setContext (const score::DocumentContext *doc)
 
void deviceAdded (Device::ProtocolFactory *factory, const QString &name, Device::DeviceSettings settings)
 
void deviceRemoved (Device::ProtocolFactory *factory, const QString &name)
 
QQmlListProperty< JS::DeviceIdentifierdevices ()
 
bool enumerate ()
 
void setEnumerate (bool b)
 
void enumerateChanged (bool b)
 

Friends

constexpr auto w_state (w_internal::Index< w_internal::stateCount< __COUNTER__, w_internal::PropertyStateTag, W_ThisType ** > >, w_internal::PropertyStateTag, W_ThisType **) -> decltype((w_internal::makeMetaPropertyInfo< QQmlListProperty< JS::DeviceIdentifier > >(w_internal::viewLiteral("devices"), w_internal::viewLiteral("QQmlListProperty<JS::DeviceIdentifier>"), &W_ThisType::devices)))
 
constexpr auto w_state (w_internal::Index< w_internal::stateCount< __COUNTER__, w_internal::PropertyStateTag, W_ThisType ** > >, w_internal::PropertyStateTag, W_ThisType **) -> decltype((w_internal::makeMetaPropertyInfo< bool >(w_internal::viewLiteral("enumerate"), w_internal::viewLiteral("bool"), &W_ThisType::enumerate, &W_ThisType::setEnumerate, W_Notify, &W_ThisType::enumerateChanged)))
 

Constructor & Destructor Documentation

◆ GlobalDeviceEnumerator()

JS::GlobalDeviceEnumerator::GlobalDeviceEnumerator ( )
explicit

var e = Score.enumerateDevices(); e.enumerate = true; console.log(e.devices);


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