mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
Removed undesirable methods from PluginInstanceGUI and related common plugins
This commit is contained in:
@@ -111,16 +111,6 @@ void LimeSDRInputGUI::destroy()
|
||||
delete this;
|
||||
}
|
||||
|
||||
void LimeSDRInputGUI::setName(const QString& name)
|
||||
{
|
||||
setObjectName(name);
|
||||
}
|
||||
|
||||
QString LimeSDRInputGUI::getName() const
|
||||
{
|
||||
return objectName();
|
||||
}
|
||||
|
||||
void LimeSDRInputGUI::resetToDefaults()
|
||||
{
|
||||
m_settings.resetToDefaults();
|
||||
@@ -128,18 +118,6 @@ void LimeSDRInputGUI::resetToDefaults()
|
||||
sendSettings();
|
||||
}
|
||||
|
||||
qint64 LimeSDRInputGUI::getCenterFrequency() const
|
||||
{
|
||||
return m_settings.m_centerFrequency + (m_settings.m_ncoEnable ? m_settings.m_ncoFrequency : 0);
|
||||
}
|
||||
|
||||
void LimeSDRInputGUI::setCenterFrequency(qint64 centerFrequency)
|
||||
{
|
||||
m_settings.m_centerFrequency = centerFrequency - (m_settings.m_ncoEnable ? m_settings.m_ncoFrequency : 0);
|
||||
displaySettings();
|
||||
sendSettings();
|
||||
}
|
||||
|
||||
QByteArray LimeSDRInputGUI::serialize() const
|
||||
{
|
||||
return m_settings.serialize();
|
||||
|
||||
Reference in New Issue
Block a user