mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 13:47:01 -04:00
Removed undesirable methods from PluginInstanceGUI and related common plugins
This commit is contained in:
@@ -91,16 +91,6 @@ void FileInputGUI::destroy()
|
||||
delete this;
|
||||
}
|
||||
|
||||
void FileInputGUI::setName(const QString& name)
|
||||
{
|
||||
setObjectName(name);
|
||||
}
|
||||
|
||||
QString FileInputGUI::getName() const
|
||||
{
|
||||
return objectName();
|
||||
}
|
||||
|
||||
void FileInputGUI::resetToDefaults()
|
||||
{
|
||||
m_settings.resetToDefaults();
|
||||
@@ -108,18 +98,6 @@ void FileInputGUI::resetToDefaults()
|
||||
sendSettings();
|
||||
}
|
||||
|
||||
qint64 FileInputGUI::getCenterFrequency() const
|
||||
{
|
||||
return m_centerFrequency;
|
||||
}
|
||||
|
||||
void FileInputGUI::setCenterFrequency(qint64 centerFrequency)
|
||||
{
|
||||
m_centerFrequency = centerFrequency;
|
||||
displaySettings();
|
||||
sendSettings();
|
||||
}
|
||||
|
||||
QByteArray FileInputGUI::serialize() const
|
||||
{
|
||||
return m_settings.serialize();
|
||||
@@ -373,7 +351,7 @@ void FileInputGUI::updateWithStreamTime()
|
||||
qint64 t_sec = 0;
|
||||
qint64 t_msec = 0;
|
||||
|
||||
if (m_sampleRate > 0)
|
||||
if (m_sampleRate > 0)
|
||||
{
|
||||
t_sec = m_samplesCount / m_sampleRate;
|
||||
t_msec = (m_samplesCount - (t_sec * m_sampleRate)) * 1000LL / m_sampleRate;
|
||||
|
||||
Reference in New Issue
Block a user