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:
@@ -93,16 +93,6 @@ void TestMIGui::destroy()
|
||||
delete this;
|
||||
}
|
||||
|
||||
void TestMIGui::setName(const QString& name)
|
||||
{
|
||||
setObjectName(name);
|
||||
}
|
||||
|
||||
QString TestMIGui::getName() const
|
||||
{
|
||||
return objectName();
|
||||
}
|
||||
|
||||
void TestMIGui::resetToDefaults()
|
||||
{
|
||||
m_settings.resetToDefaults();
|
||||
@@ -110,18 +100,6 @@ void TestMIGui::resetToDefaults()
|
||||
sendSettings();
|
||||
}
|
||||
|
||||
qint64 TestMIGui::getCenterFrequency() const
|
||||
{
|
||||
return m_settings.m_streams[m_streamIndex].m_centerFrequency;
|
||||
}
|
||||
|
||||
void TestMIGui::setCenterFrequency(qint64 centerFrequency)
|
||||
{
|
||||
m_settings.m_streams[m_streamIndex].m_centerFrequency = centerFrequency;
|
||||
displaySettings();
|
||||
sendSettings();
|
||||
}
|
||||
|
||||
QByteArray TestMIGui::serialize() const
|
||||
{
|
||||
return m_settings.serialize();
|
||||
|
||||
@@ -41,12 +41,7 @@ public:
|
||||
virtual ~TestMIGui();
|
||||
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