mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-17 16:24:08 -04:00
Removed undesirable methods from PluginInstanceGUI and related common plugins
This commit is contained in:
@@ -38,16 +38,6 @@ void RigCtlServerGUI::destroy()
|
||||
delete this;
|
||||
}
|
||||
|
||||
void RigCtlServerGUI::setName(const QString& name)
|
||||
{
|
||||
setObjectName(name);
|
||||
}
|
||||
|
||||
QString RigCtlServerGUI::getName() const
|
||||
{
|
||||
return objectName();
|
||||
}
|
||||
|
||||
void RigCtlServerGUI::resetToDefaults()
|
||||
{
|
||||
m_settings.resetToDefaults();
|
||||
|
||||
@@ -39,10 +39,6 @@ class RigCtlServerGUI : public RollupWidget, public PluginInstanceGUI {
|
||||
public:
|
||||
static RigCtlServerGUI* create(PluginAPI* pluginAPI, FeatureUISet *featureUISet, Feature *feature);
|
||||
virtual void destroy();
|
||||
void setName(const QString& name);
|
||||
QString getName() const;
|
||||
virtual qint64 getCenterFrequency() const { return 0; }
|
||||
virtual void setCenterFrequency(qint64 centerFrequency) {}
|
||||
|
||||
void resetToDefaults();
|
||||
QByteArray serialize() const;
|
||||
|
||||
@@ -38,16 +38,6 @@ void SimplePTTGUI::destroy()
|
||||
delete this;
|
||||
}
|
||||
|
||||
void SimplePTTGUI::setName(const QString& name)
|
||||
{
|
||||
setObjectName(name);
|
||||
}
|
||||
|
||||
QString SimplePTTGUI::getName() const
|
||||
{
|
||||
return objectName();
|
||||
}
|
||||
|
||||
void SimplePTTGUI::resetToDefaults()
|
||||
{
|
||||
m_settings.resetToDefaults();
|
||||
|
||||
@@ -38,10 +38,6 @@ class SimplePTTGUI : public RollupWidget, public PluginInstanceGUI {
|
||||
public:
|
||||
static SimplePTTGUI* create(PluginAPI* pluginAPI, FeatureUISet *featureUISet, Feature *feature);
|
||||
virtual void destroy();
|
||||
void setName(const QString& name);
|
||||
QString getName() const;
|
||||
virtual qint64 getCenterFrequency() const { return 0; }
|
||||
virtual void setCenterFrequency(qint64 centerFrequency) {}
|
||||
|
||||
void resetToDefaults();
|
||||
QByteArray serialize() const;
|
||||
@@ -71,7 +67,7 @@ private:
|
||||
void applyPTT(bool tx);
|
||||
void displaySettings();
|
||||
void updateDeviceSetLists();
|
||||
|
||||
|
||||
void leaveEvent(QEvent*);
|
||||
void enterEvent(QEvent*);
|
||||
|
||||
@@ -90,4 +86,4 @@ private slots:
|
||||
};
|
||||
|
||||
|
||||
#endif // INCLUDE_FEATURE_SIMPLEPTTGUI_H_
|
||||
#endif // INCLUDE_FEATURE_SIMPLEPTTGUI_H_
|
||||
|
||||
Reference in New Issue
Block a user