mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-11 18:28:43 -04:00
Removed undesirable methods from PluginInstanceGUI: v5 plugins
This commit is contained in:
@@ -112,16 +112,6 @@ void BladeRF2MIMOGui::destroy()
|
||||
delete this;
|
||||
}
|
||||
|
||||
void BladeRF2MIMOGui::setName(const QString& name)
|
||||
{
|
||||
setObjectName(name);
|
||||
}
|
||||
|
||||
QString BladeRF2MIMOGui::getName() const
|
||||
{
|
||||
return objectName();
|
||||
}
|
||||
|
||||
void BladeRF2MIMOGui::resetToDefaults()
|
||||
{
|
||||
m_settings.resetToDefaults();
|
||||
@@ -129,18 +119,6 @@ void BladeRF2MIMOGui::resetToDefaults()
|
||||
sendSettings();
|
||||
}
|
||||
|
||||
qint64 BladeRF2MIMOGui::getCenterFrequency() const
|
||||
{
|
||||
return m_settings.m_rxCenterFrequency;
|
||||
}
|
||||
|
||||
void BladeRF2MIMOGui::setCenterFrequency(qint64 centerFrequency)
|
||||
{
|
||||
m_settings.m_rxCenterFrequency = centerFrequency;
|
||||
displaySettings();
|
||||
sendSettings();
|
||||
}
|
||||
|
||||
QByteArray BladeRF2MIMOGui::serialize() const
|
||||
{
|
||||
return m_settings.serialize();
|
||||
@@ -842,4 +820,4 @@ int BladeRF2MIMOGui::getGainValue(float gainDB, int gainMin, int gainMax, int ga
|
||||
qDebug("BladeRF2MIMOGui::getGainValue: gainDB: %f m_gainMin: %d m_gainMax: %d m_gainStep: %d gainScale: %f gain: %d",
|
||||
gainDB, gainMin, gainMax, gainStep, gainScale, gain);
|
||||
return gain;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -40,12 +40,7 @@ public:
|
||||
virtual ~BladeRF2MIMOGui();
|
||||
virtual void destroy();
|
||||
|
||||
void setName(const QString& name);
|
||||
QString getName() const;
|
||||
|
||||
void resetToDefaults();
|
||||
virtual qint64 getCenterFrequency() const;
|
||||
virtual void setCenterFrequency(qint64 centerFrequency);
|
||||
QByteArray serialize() const;
|
||||
bool deserialize(const QByteArray& data);
|
||||
virtual MessageQueue *getInputMessageQueue() { return &m_inputMessageQueue; }
|
||||
|
||||
Reference in New Issue
Block a user