|
| AnytoneRoamingSettingsExtension (QObject *parent=nullptr) |
| Constructor.
|
|
ConfigItem * | clone () const |
| Clones this item.
|
|
bool | autoRoam () const |
| Returns true if auto-roaming is enabled.
|
|
void | enableAutoRoam (bool enable) |
| Enables/disables auto-roaming.
|
|
Interval | autoRoamPeriod () const |
| Returns the auto-roaming period in minutes.
|
|
void | setAutoRoamPeriod (Interval min) |
| Sets the auto-roam period in minutes.
|
|
Interval | autoRoamDelay () const |
| Returns the auto-roam delay in seconds.
|
|
void | setAutoRoamDelay (Interval sec) |
| Sets the auto-roam delay in seconds.
|
|
bool | repeaterRangeCheckEnabled () const |
| Returns true if the repeater range check is enabled.
|
|
void | enableRepeaterRangeCheck (bool enable) |
| Enables/disables repeater range check.
|
|
Interval | repeaterCheckInterval () const |
| Returns the repeater check interval in seconds.
|
|
void | setRepeaterCheckInterval (Interval sec) |
| Sets the repeater check interval in seconds.
|
|
unsigned int | repeaterRangeCheckCount () const |
| Number of retries before givnig up.
|
|
void | setRepeaterRangeCheckCount (unsigned int count) |
| Sets the number of retries before giving up.
|
|
OutOfRangeAlert | outOfRangeAlert () const |
| Returns the repeater out-of-range alert type.
|
|
void | setOutOfRangeAlert (OutOfRangeAlert type) |
| Sets the repeater out-of-range alert type.
|
|
RoamStart | roamingStartCondition () const |
| Returns the auto-roaming start condition.
|
|
void | setRoamingStartCondition (RoamStart start) |
| Sets the auto-roaming start condition.
|
|
RoamStart | roamingReturnCondition () const |
| Returns the auto-roaming return condition.
|
|
void | setRoamingReturnCondition (RoamStart start) |
| Sets the auto-roaming return condition.
|
|
bool | notificationEnabled () const |
| Returns true , if the repeater check notification is enabled.
|
|
void | enableNotification (bool enable) |
| Enables/disables the repeater-check notification.
|
|
unsigned int | notificationCount () const |
| Returns the number of notifications.
|
|
void | setNotificationCount (unsigned int n) |
| Sets the number of repeater-check notifications.
|
|
bool | gpsRoaming () const |
| Returns true if GPS roaming is enabled.
|
|
void | enableGPSRoaming (bool enable) |
| Enables/disables GPS roaming.
|
|
RoamingZoneReference * | defaultZone () const |
| Returns a reference to the default roaming zone.
|
|
virtual bool | copy (const ConfigItem &other) |
| Copies the given item into this one.
|
|
virtual int | compare (const ConfigItem &other) const |
| Compares the items.
|
|
virtual bool | label (Context &context, const ErrorStack &err=ErrorStack()) |
| Recursively labels the config object.
|
|
virtual YAML::Node | serialize (const Context &context, const ErrorStack &err=ErrorStack()) |
| Recursively serializes the configuration to YAML nodes.
|
|
virtual ConfigItem * | allocateChild (QMetaProperty &prop, const YAML::Node &node, const Context &ctx, const ErrorStack &err=ErrorStack()) |
| Allocates an instance for the given property on the given YAML node.
|
|
virtual bool | parse (const YAML::Node &node, Context &ctx, const ErrorStack &err=ErrorStack()) |
| Parses the given YAML node, updates the given object and updates the given context (IDs).
|
|
virtual bool | link (const YAML::Node &node, const Context &ctx, const ErrorStack &err=ErrorStack()) |
| Links the given object to the rest of the codeplug using the given context.
|
|
virtual void | clear () |
| Clears the config object.
|
|
virtual const Config * | config () const |
| Returns the config, the item belongs to or nullptr if not part of a config.
|
|
virtual void | findItemsOfTypes (const QStringList &typeNames, QSet< ConfigItem * > &items) const |
| Searches the config tree to find all instances of the given type names.
|
|
template<class Object> |
bool | is () const |
| Returns true if this object is of class Object .
|
|
template<class Object> |
const Object * | as () const |
| Casts this object to the given type.
|
|
template<class Object> |
Object * | as () |
| Casts this object to the given type.
|
|
bool | hasDescription () const |
| Returns true if there is a class info "description" for this instance.
|
|
bool | hasLongDescription () const |
| Returns true if there is a class info "longDescription" for this instance.
|
|
bool | hasDescription (const QMetaProperty &prop) const |
| Returns true if there is a class info "[PropertyName]Description" for the given property.
|
|
bool | hasLongDescription (const QMetaProperty &prop) const |
| Returns true if there is a class info "[PropertyName]LongDescription" for the given property.
|
|
QString | description () const |
| Returns the description of this instance if set by a class info.
|
|
QString | longDescription () const |
| Returns the long description of this instance if set by a class info.
|
|
QString | description (const QMetaProperty &prop) const |
| Returns the description of property if set by a class info.
|
|
QString | longDescription (const QMetaProperty &prop) const |
| Returns the long description of property if set by a class info.
|
|
Implements the ranging/roaming settings extension of AnyTone devices.
This extension is part of the AnytoneSettingsExtension
.