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