6 #ifndef OPENGD77EXTENSION_HH
7 #define OPENGD77EXTENSION_HH
9 #include "configobject.hh"
18 Q_CLASSINFO(
"description",
"Channel settings for OpenGD77 radios.")
19 Q_CLASSINFO(
"longDescription",
"This extension implements all channel settings specific to radios "
20 "running the OpenGD77 firmware. As the OpenGD77 codeplug is derived from the "
21 "Radioddity GD77 codeplug, all Radioddity extension also apply.")
84 Q_CLASSINFO(
"description",
"DMR contact settings for OpenGD77 radios.")
85 Q_CLASSINFO(
"longDescription",
"This extension implements all contact settings specific to radios "
86 "running the OpenGD77 firmware. As the OpenGD77 codeplug is derived from the "
87 "Radioddity GD77 codeplug, all Radioddity extension also apply.")
91 Q_CLASSINFO(
"timeSlotOverrideDescription",
"If set, overrides the channels timeslot.")
92 Q_CLASSINFO(
"timeSlotOverrideLongDescription",
93 "The OpenGD77 firmware allows contacts to override the channel time slot if the "
94 "contact is selected as the current destination contact for that channel. This allows "
95 "to assign a specific time slot to a contact, rather than creating a particular "
96 "channel for that contact that only differs in the time slot.")
Base class of all device/vendor specific confiuration extensions.
Definition: configobject.hh:246
Base class for all configuration objects (channels, zones, contacts, etc).
Definition: configobject.hh:40
Implements the channel extensions for the OpenGD77 radios.
Definition: opengd77_extension.hh:15
bool scanAllSkip() const
Returns true if the all-skip flag is set.
Definition: opengd77_extension.cc:42
void enableScanZoneSkip(bool enable)
Enables/disables zone skip.
Definition: opengd77_extension.cc:37
void setPower(Power power)
Sets the power setting.
Definition: opengd77_extension.cc:27
bool _zoneSkip
Holds the zone skip flag.
Definition: opengd77_extension.hh:71
Power power() const
Returns the power settings for the channel.
Definition: opengd77_extension.cc:23
Power _power
Holds the power setting.
Definition: opengd77_extension.hh:69
bool scanZoneSkip() const
Returns true if the zone skip flag is set.
Definition: opengd77_extension.cc:33
Q_INVOKABLE OpenGD77ChannelExtension(QObject *parent=nullptr)
The channel transmit power.
Definition: opengd77_extension.cc:6
void enableScanAllSkip(bool enable)
Enables/disables all skip.
Definition: opengd77_extension.cc:46
bool _allSkip
Holds the all skip flag.
Definition: opengd77_extension.hh:73
ConfigItem * clone() const
Clones this item.
Definition: opengd77_extension.cc:13
Implements the contact extensions for the OpenGD77 radios.
Definition: opengd77_extension.hh:81
TimeSlotOverride timeSlotOverride() const
Returns the time slot override.
Definition: opengd77_extension.cc:70
TimeSlotOverride _timeSlotOverride
Holds the time slot override.
Definition: opengd77_extension.hh:121
ConfigItem * clone() const
Clones this item.
Definition: opengd77_extension.cc:60
TimeSlotOverride
Possible values for the time-slot override option.
Definition: opengd77_extension.hh:101
@ TS2
Force time-slot to TS2.
@ None
Do not override time-slot of channel.
@ TS1
Force time-slot to TS1.
void setTimeSlotOverride(TimeSlotOverride ts)
Sets the time slot override.
Definition: opengd77_extension.cc:74
Q_INVOKABLE OpenGD77ContactExtension(QObject *parent=nullptr)
Constructor.
Definition: opengd77_extension.cc:53