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