clang-tidy: Apply modernize-use-equals-default everywhere (#6450)
This commit is contained in:
@@ -60,9 +60,6 @@ AmplifierEffect::AmplifierEffect( Model* parent, const Descriptor::SubPluginFeat
|
||||
|
||||
|
||||
|
||||
AmplifierEffect::~AmplifierEffect()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ class AmplifierEffect : public Effect
|
||||
{
|
||||
public:
|
||||
AmplifierEffect( Model* parent, const Descriptor::SubPluginFeatures::Key* key );
|
||||
~AmplifierEffect() override;
|
||||
~AmplifierEffect() override = default;
|
||||
bool processAudioBuffer( sampleFrame* buf, const fpp_t frames ) override;
|
||||
|
||||
EffectControls* controls() override
|
||||
|
||||
@@ -42,9 +42,7 @@ class AmplifierControlDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
AmplifierControlDialog( AmplifierControls* controls );
|
||||
~AmplifierControlDialog() override
|
||||
{
|
||||
}
|
||||
~AmplifierControlDialog() override = default;
|
||||
|
||||
} ;
|
||||
|
||||
|
||||
@@ -45,9 +45,7 @@ class AmplifierControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
AmplifierControls( AmplifierEffect* effect );
|
||||
~AmplifierControls() override
|
||||
{
|
||||
}
|
||||
~AmplifierControls() override = default;
|
||||
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
|
||||
@@ -559,9 +559,6 @@ AudioFileProcessorView::AudioFileProcessorView( Instrument * _instrument,
|
||||
|
||||
|
||||
|
||||
AudioFileProcessorView::~AudioFileProcessorView()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -130,7 +130,7 @@ class AudioFileProcessorView : public gui::InstrumentViewFixedSize
|
||||
Q_OBJECT
|
||||
public:
|
||||
AudioFileProcessorView( Instrument * _instrument, QWidget * _parent );
|
||||
virtual ~AudioFileProcessorView();
|
||||
virtual ~AudioFileProcessorView() = default;
|
||||
|
||||
void newWaveView();
|
||||
protected slots:
|
||||
|
||||
@@ -65,9 +65,6 @@ BassBoosterEffect::BassBoosterEffect( Model* parent, const Descriptor::SubPlugin
|
||||
|
||||
|
||||
|
||||
BassBoosterEffect::~BassBoosterEffect()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ class BassBoosterEffect : public Effect
|
||||
{
|
||||
public:
|
||||
BassBoosterEffect( Model* parent, const Descriptor::SubPluginFeatures::Key* key );
|
||||
~BassBoosterEffect() override;
|
||||
~BassBoosterEffect() override = default;
|
||||
bool processAudioBuffer( sampleFrame* buf, const fpp_t frames ) override;
|
||||
|
||||
EffectControls* controls() override
|
||||
|
||||
@@ -40,9 +40,7 @@ class BassBoosterControlDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
BassBoosterControlDialog( BassBoosterControls* controls );
|
||||
~BassBoosterControlDialog() override
|
||||
{
|
||||
}
|
||||
~BassBoosterControlDialog() override = default;
|
||||
|
||||
} ;
|
||||
|
||||
|
||||
@@ -39,9 +39,7 @@ class BassBoosterControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
BassBoosterControls( BassBoosterEffect* effect );
|
||||
~BassBoosterControls() override
|
||||
{
|
||||
}
|
||||
~BassBoosterControls() override = default;
|
||||
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
|
||||
@@ -171,10 +171,6 @@ BitInvader::BitInvader( InstrumentTrack * _instrument_track ) :
|
||||
|
||||
|
||||
|
||||
BitInvader::~BitInvader()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ class BitInvader : public Instrument
|
||||
Q_OBJECT
|
||||
public:
|
||||
BitInvader(InstrumentTrack * _instrument_track );
|
||||
~BitInvader() override;
|
||||
~BitInvader() override = default;
|
||||
|
||||
void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer ) override;
|
||||
@@ -124,7 +124,7 @@ public:
|
||||
BitInvaderView( Instrument * _instrument,
|
||||
QWidget * _parent );
|
||||
|
||||
~BitInvaderView() override {};
|
||||
~BitInvaderView() override = default;
|
||||
|
||||
protected slots:
|
||||
//void sampleSizeChanged( float _new_sample_length );
|
||||
|
||||
@@ -43,9 +43,7 @@ class BitcrushControlDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
BitcrushControlDialog( BitcrushControls * controls );
|
||||
~BitcrushControlDialog() override
|
||||
{
|
||||
}
|
||||
~BitcrushControlDialog() override = default;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -53,9 +53,6 @@ BitcrushControls::BitcrushControls( BitcrushEffect * eff ) :
|
||||
connect( Engine::audioEngine(), SIGNAL( sampleRateChanged() ), this, SLOT( sampleRateChanged() ) );
|
||||
}
|
||||
|
||||
BitcrushControls::~BitcrushControls()
|
||||
{
|
||||
}
|
||||
|
||||
void BitcrushControls::saveSettings( QDomDocument & doc, QDomElement & elem )
|
||||
{
|
||||
|
||||
@@ -40,7 +40,7 @@ class BitcrushControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
BitcrushControls( BitcrushEffect * eff );
|
||||
~BitcrushControls() override;
|
||||
~BitcrushControls() override = default;
|
||||
|
||||
void saveSettings( QDomDocument & doc, QDomElement & elem ) override;
|
||||
void loadSettings( const QDomElement & elem ) override;
|
||||
|
||||
@@ -97,11 +97,6 @@ CompressorEffect::CompressorEffect(Model* parent, const Descriptor::SubPluginFea
|
||||
|
||||
|
||||
|
||||
CompressorEffect::~CompressorEffect()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
float CompressorEffect::msToCoeff(float ms)
|
||||
{
|
||||
// Convert time in milliseconds to applicable lowpass coefficient
|
||||
|
||||
@@ -42,7 +42,7 @@ class CompressorEffect : public Effect
|
||||
Q_OBJECT
|
||||
public:
|
||||
CompressorEffect(Model* parent, const Descriptor::SubPluginFeatures::Key* key);
|
||||
~CompressorEffect() override;
|
||||
~CompressorEffect() override = default;
|
||||
bool processAudioBuffer(sampleFrame* buf, const fpp_t frames) override;
|
||||
|
||||
EffectControls* controls() override
|
||||
|
||||
@@ -45,9 +45,7 @@ class CrossoverEQControlDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
CrossoverEQControlDialog( CrossoverEQControls * controls );
|
||||
~CrossoverEQControlDialog() override
|
||||
{
|
||||
}
|
||||
~CrossoverEQControlDialog() override = default;
|
||||
|
||||
private:
|
||||
QPixmap m_fader_bg;
|
||||
|
||||
@@ -40,7 +40,7 @@ class CrossoverEQControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
CrossoverEQControls( CrossoverEQEffect * eff );
|
||||
~CrossoverEQControls() override {}
|
||||
~CrossoverEQControls() override = default;
|
||||
|
||||
void saveSettings( QDomDocument & doc, QDomElement & elem ) override;
|
||||
void loadSettings( const QDomElement & elem ) override;
|
||||
|
||||
@@ -40,9 +40,7 @@ class DelayControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
DelayControls( DelayEffect* effect );
|
||||
~DelayControls() override
|
||||
{
|
||||
}
|
||||
~DelayControls() override = default;
|
||||
void saveSettings( QDomDocument& doc, QDomElement& parent ) override;
|
||||
void loadSettings( const QDomElement& _this ) override;
|
||||
inline QString nodeName() const override
|
||||
|
||||
@@ -42,9 +42,7 @@ class DelayControlsDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
DelayControlsDialog( DelayControls* controls );
|
||||
~DelayControlsDialog() override
|
||||
{
|
||||
}
|
||||
~DelayControlsDialog() override = default;
|
||||
};
|
||||
|
||||
class XyPad : public QWidget
|
||||
@@ -52,7 +50,7 @@ class XyPad : public QWidget
|
||||
Q_OBJECT
|
||||
public:
|
||||
XyPad( QWidget *parent = 0, FloatModel *xModel = 0, FloatModel *yModel = 0 );
|
||||
~XyPad() override {}
|
||||
~XyPad() override = default;
|
||||
|
||||
protected:
|
||||
void paintEvent ( QPaintEvent * event ) override;
|
||||
|
||||
@@ -36,9 +36,7 @@ class Lfo
|
||||
{
|
||||
public:
|
||||
Lfo( int samplerate );
|
||||
~Lfo()
|
||||
{
|
||||
}
|
||||
~Lfo() = default;
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -43,9 +43,7 @@ class DualFilterControlDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
DualFilterControlDialog( DualFilterControls* controls );
|
||||
~DualFilterControlDialog() override
|
||||
{
|
||||
}
|
||||
~DualFilterControlDialog() override = default;
|
||||
|
||||
} ;
|
||||
|
||||
|
||||
@@ -42,9 +42,7 @@ class DualFilterControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
DualFilterControls( DualFilterEffect* effect );
|
||||
~DualFilterControls() override
|
||||
{
|
||||
}
|
||||
~DualFilterControls() override = default;
|
||||
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
|
||||
@@ -43,9 +43,7 @@ class DynProcControlDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
DynProcControlDialog( DynProcControls * _controls );
|
||||
~DynProcControlDialog() override
|
||||
{
|
||||
}
|
||||
~DynProcControlDialog() override = default;
|
||||
|
||||
|
||||
private:
|
||||
|
||||
@@ -49,9 +49,7 @@ public:
|
||||
NumStereoModes
|
||||
};
|
||||
DynProcControls( DynProcEffect * _eff );
|
||||
~DynProcControls() override
|
||||
{
|
||||
}
|
||||
~DynProcControls() override = default;
|
||||
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
|
||||
@@ -44,9 +44,7 @@ class EqControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit EqControls( EqEffect* effect );
|
||||
~EqControls() override
|
||||
{
|
||||
}
|
||||
~EqControls() override = default;
|
||||
|
||||
void saveSettings ( QDomDocument& doc, QDomElement& parent ) override;
|
||||
|
||||
|
||||
@@ -47,9 +47,7 @@ class EqControlsDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
EqControlsDialog( EqControls * controls );
|
||||
~EqControlsDialog() override
|
||||
{
|
||||
}
|
||||
~EqControlsDialog() override = default;
|
||||
|
||||
EqBand * setBand( EqControls * controls );
|
||||
|
||||
|
||||
@@ -64,13 +64,6 @@ EqEffect::EqEffect( Model *parent, const Plugin::Descriptor::SubPluginFeatures::
|
||||
|
||||
|
||||
|
||||
EqEffect::~EqEffect()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
bool EqEffect::processAudioBuffer( sampleFrame *buf, const fpp_t frames )
|
||||
{
|
||||
const int sampleRate = Engine::audioEngine()->processingSampleRate();
|
||||
|
||||
@@ -36,7 +36,7 @@ class EqEffect : public Effect
|
||||
{
|
||||
public:
|
||||
EqEffect( Model * parent , const Descriptor::SubPluginFeatures::Key * key );
|
||||
~EqEffect() override;
|
||||
~EqEffect() override = default;
|
||||
bool processAudioBuffer( sampleFrame * buf, const fpp_t frames ) override;
|
||||
EffectControls * controls() override
|
||||
{
|
||||
|
||||
@@ -72,9 +72,7 @@ public:
|
||||
|
||||
|
||||
|
||||
~EqFader() override
|
||||
{
|
||||
}
|
||||
~EqFader() override = default;
|
||||
|
||||
|
||||
private slots:
|
||||
|
||||
@@ -74,9 +74,7 @@ class EqSpectrumView : public QWidget
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit EqSpectrumView( EqAnalyser *b, QWidget *_parent = 0 );
|
||||
~EqSpectrumView() override
|
||||
{
|
||||
}
|
||||
~EqSpectrumView() override = default;
|
||||
|
||||
QColor getColor() const;
|
||||
void setColor( const QColor &value );
|
||||
|
||||
@@ -39,9 +39,7 @@ class FlangerControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
FlangerControls( FlangerEffect* effect );
|
||||
~FlangerControls() override
|
||||
{
|
||||
}
|
||||
~FlangerControls() override = default;
|
||||
void saveSettings ( QDomDocument& doc, QDomElement& parent ) override;
|
||||
void loadSettings ( const QDomElement &_this ) override;
|
||||
inline QString nodeName() const override
|
||||
|
||||
@@ -42,9 +42,7 @@ class FlangerControlsDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
FlangerControlsDialog( FlangerControls* controls );
|
||||
~FlangerControlsDialog() override
|
||||
{
|
||||
}
|
||||
~FlangerControlsDialog() override = default;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -125,11 +125,6 @@ FreeBoyInstrument::FreeBoyInstrument( InstrumentTrack * _instrument_track ) :
|
||||
}
|
||||
|
||||
|
||||
FreeBoyInstrument::~FreeBoyInstrument()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void FreeBoyInstrument::saveSettings( QDomDocument & _doc,
|
||||
QDomElement & _this )
|
||||
{
|
||||
@@ -684,11 +679,6 @@ FreeBoyInstrumentView::FreeBoyInstrumentView( Instrument * _instrument,
|
||||
}
|
||||
|
||||
|
||||
FreeBoyInstrumentView::~FreeBoyInstrumentView()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void FreeBoyInstrumentView::modelChanged()
|
||||
{
|
||||
FreeBoyInstrument * p = castModel<FreeBoyInstrument>();
|
||||
|
||||
@@ -52,7 +52,7 @@ class FreeBoyInstrument : public Instrument
|
||||
public:
|
||||
|
||||
FreeBoyInstrument( InstrumentTrack * _instrument_track );
|
||||
~FreeBoyInstrument() override;
|
||||
~FreeBoyInstrument() override = default;
|
||||
|
||||
void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer ) override;
|
||||
@@ -129,7 +129,7 @@ class FreeBoyInstrumentView : public InstrumentViewFixedSize
|
||||
Q_OBJECT
|
||||
public:
|
||||
FreeBoyInstrumentView( Instrument * _instrument, QWidget * _parent );
|
||||
~FreeBoyInstrumentView() override;
|
||||
~FreeBoyInstrumentView() override = default;
|
||||
|
||||
private:
|
||||
void modelChanged() override;
|
||||
|
||||
@@ -26,9 +26,6 @@ namespace lmms
|
||||
{
|
||||
|
||||
|
||||
Gb_Apu_Buffer::Gb_Apu_Buffer() {}
|
||||
Gb_Apu_Buffer::~Gb_Apu_Buffer() {}
|
||||
|
||||
void Gb_Apu_Buffer::end_frame(blip_time_t end_time) {
|
||||
Gb_Apu::end_frame(end_time);
|
||||
m_buf.end_frame(end_time);
|
||||
|
||||
@@ -34,8 +34,8 @@ namespace lmms
|
||||
class Gb_Apu_Buffer : public Gb_Apu {
|
||||
MM_OPERATORS
|
||||
public:
|
||||
Gb_Apu_Buffer();
|
||||
~Gb_Apu_Buffer();
|
||||
Gb_Apu_Buffer() = default;
|
||||
~Gb_Apu_Buffer() = default;
|
||||
|
||||
void end_frame(blip_time_t);
|
||||
|
||||
|
||||
@@ -988,13 +988,6 @@ GigInstrumentView::GigInstrumentView( Instrument * _instrument, QWidget * _paren
|
||||
|
||||
|
||||
|
||||
GigInstrumentView::~GigInstrumentView()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void GigInstrumentView::modelChanged()
|
||||
{
|
||||
GigInstrument * k = castModel<GigInstrument>();
|
||||
|
||||
@@ -352,7 +352,7 @@ class GigInstrumentView : public InstrumentViewFixedSize
|
||||
public:
|
||||
GigInstrumentView( Instrument * _instrument,
|
||||
QWidget * _parent );
|
||||
~GigInstrumentView() override;
|
||||
~GigInstrumentView() override = default;
|
||||
|
||||
private:
|
||||
void modelChanged() override;
|
||||
|
||||
@@ -107,14 +107,6 @@ PatchesDialog::PatchesDialog( QWidget * pParent, Qt::WindowFlags wflags )
|
||||
|
||||
|
||||
|
||||
// Destructor.
|
||||
PatchesDialog::~PatchesDialog()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
// Dialog setup loader.
|
||||
void PatchesDialog::setup( GigInstance * pSynth, int iChan,
|
||||
const QString & chanName,
|
||||
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
PatchesDialog(QWidget * pParent = 0, Qt::WindowFlags wflags = QFlag(0));
|
||||
|
||||
// Destructor.
|
||||
~PatchesDialog() override;
|
||||
~PatchesDialog() override = default;
|
||||
|
||||
|
||||
void setup( GigInstance * pSynth, int iChan, const QString & chanName,
|
||||
|
||||
@@ -134,9 +134,6 @@ HydrogenImport::HydrogenImport( const QString & _file ) :
|
||||
|
||||
|
||||
|
||||
HydrogenImport::~HydrogenImport()
|
||||
{
|
||||
}
|
||||
Instrument * ins;
|
||||
bool HydrogenImport::readSong()
|
||||
{
|
||||
|
||||
@@ -15,7 +15,7 @@ public:
|
||||
HydrogenImport( const QString & _file );
|
||||
bool readSong();
|
||||
|
||||
~HydrogenImport() override;
|
||||
~HydrogenImport() override = default;
|
||||
|
||||
gui::PluginView* instantiateView( QWidget * ) override
|
||||
{
|
||||
|
||||
@@ -85,13 +85,6 @@ KickerInstrument::KickerInstrument( InstrumentTrack * _instrument_track ) :
|
||||
|
||||
|
||||
|
||||
KickerInstrument::~KickerInstrument()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void KickerInstrument::saveSettings( QDomDocument & _doc,
|
||||
QDomElement & _this )
|
||||
{
|
||||
@@ -342,13 +335,6 @@ KickerInstrumentView::KickerInstrumentView( Instrument * _instrument,
|
||||
|
||||
|
||||
|
||||
KickerInstrumentView::~KickerInstrumentView()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void KickerInstrumentView::modelChanged()
|
||||
{
|
||||
KickerInstrument * k = castModel<KickerInstrument>();
|
||||
|
||||
@@ -54,7 +54,7 @@ class KickerInstrument : public Instrument
|
||||
Q_OBJECT
|
||||
public:
|
||||
KickerInstrument( InstrumentTrack * _instrument_track );
|
||||
~KickerInstrument() override;
|
||||
~KickerInstrument() override = default;
|
||||
|
||||
void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer ) override;
|
||||
@@ -109,7 +109,7 @@ class KickerInstrumentView : public InstrumentViewFixedSize
|
||||
Q_OBJECT
|
||||
public:
|
||||
KickerInstrumentView( Instrument * _instrument, QWidget * _parent );
|
||||
~KickerInstrumentView() override;
|
||||
~KickerInstrumentView() override = default;
|
||||
|
||||
private:
|
||||
void modelChanged() override;
|
||||
|
||||
@@ -60,9 +60,7 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
virtual ~KickerOsc()
|
||||
{
|
||||
}
|
||||
virtual ~KickerOsc() = default;
|
||||
|
||||
void update( sampleFrame* buf, const fpp_t frames, const float sampleRate )
|
||||
{
|
||||
|
||||
@@ -82,13 +82,6 @@ LadspaBrowser::LadspaBrowser() :
|
||||
|
||||
|
||||
|
||||
LadspaBrowser::~LadspaBrowser()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
QString LadspaBrowser::nodeName() const
|
||||
{
|
||||
return ladspabrowser_plugin_descriptor.name;
|
||||
@@ -166,13 +159,6 @@ LadspaBrowserView::LadspaBrowserView( ToolPlugin * _tool ) :
|
||||
|
||||
|
||||
|
||||
LadspaBrowserView::~LadspaBrowserView()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
QWidget * LadspaBrowserView::createTab( QWidget * _parent, const QString & _txt,
|
||||
LadspaPluginType _type )
|
||||
{
|
||||
|
||||
@@ -46,7 +46,7 @@ class LadspaBrowserView : public ToolPluginView
|
||||
Q_OBJECT
|
||||
public:
|
||||
LadspaBrowserView( ToolPlugin * _tool );
|
||||
~LadspaBrowserView() override;
|
||||
~LadspaBrowserView() override = default;
|
||||
|
||||
|
||||
public slots:
|
||||
@@ -69,7 +69,7 @@ class LadspaBrowser : public ToolPlugin
|
||||
{
|
||||
public:
|
||||
LadspaBrowser();
|
||||
~LadspaBrowser() override;
|
||||
~LadspaBrowser() override = default;
|
||||
|
||||
gui::PluginView* instantiateView( QWidget * ) override
|
||||
{
|
||||
|
||||
@@ -116,13 +116,6 @@ LadspaDescription::LadspaDescription( QWidget * _parent,
|
||||
|
||||
|
||||
|
||||
LadspaDescription::~LadspaDescription()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void LadspaDescription::update( const ladspa_key_t & _key )
|
||||
{
|
||||
QWidget * description = new QWidget;
|
||||
|
||||
@@ -44,7 +44,7 @@ class LadspaDescription : public QWidget
|
||||
Q_OBJECT
|
||||
public:
|
||||
LadspaDescription( QWidget * _parent, LadspaPluginType _type );
|
||||
~LadspaDescription() override;
|
||||
~LadspaDescription() override = default;
|
||||
|
||||
|
||||
signals:
|
||||
|
||||
@@ -168,9 +168,4 @@ LadspaPortDialog::LadspaPortDialog( const ladspa_key_t & _key )
|
||||
|
||||
|
||||
|
||||
LadspaPortDialog::~LadspaPortDialog()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
} // namespace lmms::gui
|
||||
@@ -40,7 +40,7 @@ class LadspaPortDialog : public QDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
LadspaPortDialog( const ladspa_key_t & _key );
|
||||
~LadspaPortDialog() override;
|
||||
~LadspaPortDialog() override = default;
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -67,13 +67,6 @@ LadspaControlDialog::LadspaControlDialog( LadspaControls * _ctl ) :
|
||||
|
||||
|
||||
|
||||
LadspaControlDialog::~LadspaControlDialog()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void LadspaControlDialog::updateEffectView( LadspaControls * _ctl )
|
||||
{
|
||||
QList<QGroupBox *> list = findChildren<QGroupBox *>();
|
||||
|
||||
@@ -50,7 +50,7 @@ class LadspaControlDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
LadspaControlDialog( LadspaControls * _ctl );
|
||||
~LadspaControlDialog() override;
|
||||
~LadspaControlDialog() override = default;
|
||||
|
||||
|
||||
private slots:
|
||||
|
||||
@@ -1010,11 +1010,6 @@ Lb302SynthView::Lb302SynthView( Instrument * _instrument, QWidget * _parent ) :
|
||||
}
|
||||
|
||||
|
||||
Lb302SynthView::~Lb302SynthView()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void Lb302SynthView::modelChanged()
|
||||
{
|
||||
Lb302Synth * syn = castModel<Lb302Synth>();
|
||||
|
||||
@@ -71,7 +71,7 @@ class Lb302Filter
|
||||
{
|
||||
public:
|
||||
Lb302Filter(Lb302FilterKnobState* p_fs);
|
||||
virtual ~Lb302Filter() {};
|
||||
virtual ~Lb302Filter() = default;
|
||||
|
||||
virtual void recalc();
|
||||
virtual void envRecalc();
|
||||
@@ -277,7 +277,7 @@ class Lb302SynthView : public InstrumentViewFixedSize
|
||||
public:
|
||||
Lb302SynthView( Instrument * _instrument,
|
||||
QWidget * _parent );
|
||||
~Lb302SynthView() override;
|
||||
~Lb302SynthView() override = default;
|
||||
|
||||
private:
|
||||
void modelChanged() override;
|
||||
|
||||
@@ -67,12 +67,6 @@ MidiExport::MidiExport() : ExportFilter( &midiexport_plugin_descriptor)
|
||||
|
||||
|
||||
|
||||
MidiExport::~MidiExport()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool MidiExport::tryExport(const TrackContainer::TrackList &tracks,
|
||||
const TrackContainer::TrackList &patternStoreTracks,
|
||||
int tempo, int masterPitch, const QString &filename)
|
||||
|
||||
@@ -63,7 +63,7 @@ class MidiExport: public ExportFilter
|
||||
// Q_OBJECT
|
||||
public:
|
||||
MidiExport();
|
||||
~MidiExport() override;
|
||||
~MidiExport() override = default;
|
||||
|
||||
gui::PluginView* instantiateView(QWidget *) override
|
||||
{
|
||||
|
||||
@@ -90,13 +90,6 @@ MidiImport::MidiImport( const QString & _file ) :
|
||||
|
||||
|
||||
|
||||
MidiImport::~MidiImport()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
bool MidiImport::tryImport( TrackContainer* tc )
|
||||
{
|
||||
if( openFile() == false )
|
||||
|
||||
@@ -41,7 +41,7 @@ class MidiImport : public ImportFilter
|
||||
Q_OBJECT
|
||||
public:
|
||||
MidiImport( const QString & _file );
|
||||
~MidiImport() override;
|
||||
~MidiImport() override = default;
|
||||
|
||||
gui::PluginView* instantiateView( QWidget * ) override
|
||||
{
|
||||
|
||||
@@ -287,7 +287,7 @@ public:
|
||||
const char *GetDescription(); // computes a text description of this event
|
||||
// the result is in a static buffer, not thread-safe, just for debugging.
|
||||
Alg_event() { selected = false; }
|
||||
virtual ~Alg_event() {}
|
||||
virtual ~Alg_event() = default;
|
||||
} *Alg_event_ptr;
|
||||
|
||||
|
||||
@@ -306,7 +306,7 @@ public:
|
||||
|
||||
typedef class Alg_update : public Alg_event {
|
||||
public:
|
||||
~Alg_update() override {};
|
||||
~Alg_update() override = default;
|
||||
Alg_update(Alg_update *); // copy constructor
|
||||
Alg_parameter parameter; // an update contains one attr/value pair
|
||||
|
||||
@@ -437,7 +437,7 @@ typedef class Alg_beat {
|
||||
public:
|
||||
Alg_beat(double t, double b) {
|
||||
time = t; beat = b; }
|
||||
Alg_beat() {};
|
||||
Alg_beat() = default;
|
||||
double time;
|
||||
double beat;
|
||||
} *Alg_beat_ptr;
|
||||
@@ -535,7 +535,7 @@ class Serial_buffer {
|
||||
ptr = nullptr;
|
||||
len = 0;
|
||||
}
|
||||
virtual ~Serial_buffer() { }
|
||||
virtual ~Serial_buffer() = default;
|
||||
|
||||
long get_posn() { return (long) (ptr - buffer); }
|
||||
long get_len() { return len; }
|
||||
@@ -548,7 +548,7 @@ public:
|
||||
// setting buffer, but it is not the Serial_read_buffer's responsibility
|
||||
// to delete the buffer (owner might want to reuse it), so the destructor
|
||||
// does nothing.
|
||||
~Serial_read_buffer() override { }
|
||||
~Serial_read_buffer() override = default;
|
||||
#if defined(_WIN32)
|
||||
//#pragma warning(disable: 546) // cast to int is OK, we only want low 7 bits
|
||||
//#pragma warning(disable: 4311) // type cast pointer to long warning
|
||||
|
||||
@@ -29,7 +29,7 @@ public:
|
||||
class Alg_smf_write {
|
||||
public:
|
||||
Alg_smf_write(Alg_seq_ptr seq);
|
||||
~Alg_smf_write();
|
||||
~Alg_smf_write() = default;
|
||||
long channels_per_track; // used to encode track number into chan field
|
||||
// chan is actual_channel + channels_per_track * track_number
|
||||
// default is 100, set this to 0 to merge all tracks to 16 channels
|
||||
@@ -98,11 +98,6 @@ Alg_smf_write::Alg_smf_write(Alg_seq_ptr a_seq)
|
||||
}
|
||||
|
||||
|
||||
Alg_smf_write::~Alg_smf_write()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
// sorting is quite subtle due to rounding
|
||||
// For example, suppose times from a MIDI file are exact, but in
|
||||
// decimal round to TW0.4167 Q0.3333. Since the time in whole notes
|
||||
|
||||
@@ -111,11 +111,6 @@ MonstroSynth::MonstroSynth( MonstroInstrument * _i, NotePlayHandle * _nph ) :
|
||||
}
|
||||
|
||||
|
||||
MonstroSynth::~MonstroSynth()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void MonstroSynth::renderOutput( fpp_t _frames, sampleFrame * _buf )
|
||||
{
|
||||
float modtmp; // temp variable for freq modulation
|
||||
@@ -1029,11 +1024,6 @@ MonstroInstrument::MonstroInstrument( InstrumentTrack * _instrument_track ) :
|
||||
}
|
||||
|
||||
|
||||
MonstroInstrument::~MonstroInstrument()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void MonstroInstrument::playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer )
|
||||
{
|
||||
@@ -1490,11 +1480,6 @@ MonstroView::MonstroView( Instrument * _instrument,
|
||||
}
|
||||
|
||||
|
||||
MonstroView::~MonstroView()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void MonstroView::updateLayout()
|
||||
{
|
||||
switch( m_selectedViewGroup->model()->value() )
|
||||
|
||||
@@ -176,7 +176,7 @@ class MonstroSynth
|
||||
MM_OPERATORS
|
||||
public:
|
||||
MonstroSynth( MonstroInstrument * _i, NotePlayHandle * _nph );
|
||||
virtual ~MonstroSynth();
|
||||
virtual ~MonstroSynth() = default;
|
||||
|
||||
void renderOutput( fpp_t _frames, sampleFrame * _buf );
|
||||
|
||||
@@ -355,7 +355,7 @@ class MonstroInstrument : public Instrument
|
||||
|
||||
public:
|
||||
MonstroInstrument( InstrumentTrack * _instrument_track );
|
||||
~MonstroInstrument() override;
|
||||
~MonstroInstrument() override = default;
|
||||
|
||||
void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer ) override;
|
||||
@@ -593,7 +593,7 @@ class MonstroView : public InstrumentViewFixedSize
|
||||
public:
|
||||
MonstroView( Instrument * _instrument,
|
||||
QWidget * _parent );
|
||||
~MonstroView() override;
|
||||
~MonstroView() override = default;
|
||||
|
||||
protected slots:
|
||||
void updateLayout();
|
||||
|
||||
@@ -44,9 +44,7 @@ class MultitapEchoControlDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
MultitapEchoControlDialog( MultitapEchoControls * controls );
|
||||
~MultitapEchoControlDialog() override
|
||||
{
|
||||
}
|
||||
~MultitapEchoControlDialog() override = default;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -58,11 +58,6 @@ MultitapEchoControls::MultitapEchoControls( MultitapEchoEffect * eff ) :
|
||||
}
|
||||
|
||||
|
||||
MultitapEchoControls::~MultitapEchoControls()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void MultitapEchoControls::saveSettings( QDomDocument & doc, QDomElement & parent )
|
||||
{
|
||||
m_steps.saveSettings( doc, parent, "steps" );
|
||||
|
||||
@@ -41,7 +41,7 @@ class MultitapEchoControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
MultitapEchoControls( MultitapEchoEffect * eff );
|
||||
~MultitapEchoControls() override;
|
||||
~MultitapEchoControls() override = default;
|
||||
|
||||
void saveSettings( QDomDocument & doc, QDomElement & parent ) override;
|
||||
void loadSettings( const QDomElement & elem ) override;
|
||||
|
||||
@@ -103,11 +103,6 @@ NesObject::NesObject( NesInstrument * nes, const sample_rate_t samplerate, NoteP
|
||||
}
|
||||
|
||||
|
||||
NesObject::~NesObject()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void NesObject::renderOutput( sampleFrame * buf, fpp_t frames )
|
||||
{
|
||||
////////////////////////////////
|
||||
@@ -551,11 +546,6 @@ NesInstrument::NesInstrument( InstrumentTrack * instrumentTrack ) :
|
||||
|
||||
|
||||
|
||||
NesInstrument::~NesInstrument()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void NesInstrument::playNote( NotePlayHandle * n, sampleFrame * workingBuffer )
|
||||
{
|
||||
const fpp_t frames = n->framesLeftForCurrentPeriod();
|
||||
@@ -854,11 +844,6 @@ NesInstrumentView::NesInstrumentView( Instrument * instrument, QWidget * parent
|
||||
|
||||
|
||||
|
||||
NesInstrumentView::~NesInstrumentView()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void NesInstrumentView::modelChanged()
|
||||
{
|
||||
NesInstrument * nes = castModel<NesInstrument>();
|
||||
|
||||
@@ -95,7 +95,7 @@ class NesObject
|
||||
MM_OPERATORS
|
||||
public:
|
||||
NesObject( NesInstrument * nes, const sample_rate_t samplerate, NotePlayHandle * nph );
|
||||
virtual ~NesObject();
|
||||
virtual ~NesObject() = default;
|
||||
|
||||
void renderOutput( sampleFrame * buf, fpp_t frames );
|
||||
void updateVibrato( float * freq );
|
||||
@@ -211,7 +211,7 @@ class NesInstrument : public Instrument
|
||||
Q_OBJECT
|
||||
public:
|
||||
NesInstrument( InstrumentTrack * instrumentTrack );
|
||||
~NesInstrument() override;
|
||||
~NesInstrument() override = default;
|
||||
|
||||
void playNote( NotePlayHandle * n,
|
||||
sampleFrame * workingBuffer ) override;
|
||||
@@ -313,7 +313,7 @@ class NesInstrumentView : public InstrumentViewFixedSize
|
||||
public:
|
||||
NesInstrumentView( Instrument * instrument,
|
||||
QWidget * parent );
|
||||
~NesInstrumentView() override;
|
||||
~NesInstrumentView() override = default;
|
||||
|
||||
private:
|
||||
void modelChanged() override;
|
||||
|
||||
@@ -583,13 +583,6 @@ OscillatorObject::OscillatorObject( Model * _parent, int _index ) :
|
||||
|
||||
|
||||
|
||||
OscillatorObject::~OscillatorObject()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void OscillatorObject::oscButtonChanged()
|
||||
{
|
||||
|
||||
|
||||
@@ -105,7 +105,7 @@ private:
|
||||
float m_phaseOffsetRight;
|
||||
|
||||
OscillatorObject( Model * _parent, int _index );
|
||||
~OscillatorObject() override;
|
||||
~OscillatorObject() override = default;
|
||||
|
||||
friend class OrganicInstrument;
|
||||
friend class gui::OrganicInstrumentView;
|
||||
@@ -211,9 +211,7 @@ private:
|
||||
m_detuneKnob( dt )
|
||||
{
|
||||
}
|
||||
OscillatorKnobs()
|
||||
{
|
||||
}
|
||||
OscillatorKnobs() = default;
|
||||
|
||||
Knob * m_harmKnob;
|
||||
Knob * m_volKnob;
|
||||
|
||||
@@ -495,13 +495,6 @@ PatmanView::PatmanView( Instrument * _instrument, QWidget * _parent ) :
|
||||
|
||||
|
||||
|
||||
PatmanView::~PatmanView()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void PatmanView::openFile()
|
||||
{
|
||||
FileDialog ofd( nullptr, tr( "Open patch file" ) );
|
||||
|
||||
@@ -131,7 +131,7 @@ class PatmanView : public InstrumentViewFixedSize
|
||||
Q_OBJECT
|
||||
public:
|
||||
PatmanView( Instrument * _instrument, QWidget * _parent );
|
||||
~PatmanView() override;
|
||||
~PatmanView() override = default;
|
||||
|
||||
|
||||
public slots:
|
||||
|
||||
@@ -45,9 +45,7 @@ class PeakControllerEffectControlDialog : public EffectControlDialog
|
||||
public:
|
||||
PeakControllerEffectControlDialog(
|
||||
PeakControllerEffectControls * _controls );
|
||||
~PeakControllerEffectControlDialog() override
|
||||
{
|
||||
}
|
||||
~PeakControllerEffectControlDialog() override = default;
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
@@ -41,9 +41,7 @@ class PeakControllerEffectControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
PeakControllerEffectControls( PeakControllerEffect * _eff );
|
||||
~PeakControllerEffectControls() override
|
||||
{
|
||||
}
|
||||
~PeakControllerEffectControls() override = default;
|
||||
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
|
||||
@@ -42,9 +42,7 @@ class ReverbSCControlDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
ReverbSCControlDialog( ReverbSCControls* controls );
|
||||
~ReverbSCControlDialog() override
|
||||
{
|
||||
}
|
||||
~ReverbSCControlDialog() override = default;
|
||||
|
||||
} ;
|
||||
|
||||
|
||||
@@ -40,9 +40,7 @@ class ReverbSCControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
ReverbSCControls( ReverbSCEffect* effect );
|
||||
~ReverbSCControls() override
|
||||
{
|
||||
}
|
||||
~ReverbSCControls() override = default;
|
||||
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
|
||||
@@ -111,12 +111,6 @@ PatchesDialog::PatchesDialog( QWidget *pParent, Qt::WindowFlags wflags )
|
||||
}
|
||||
|
||||
|
||||
// Destructor.
|
||||
PatchesDialog::~PatchesDialog()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
// Dialog setup loader.
|
||||
void PatchesDialog::setup ( fluid_synth_t * pSynth, int iChan,
|
||||
const QString & _chanName,
|
||||
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
PatchesDialog(QWidget *pParent = 0, Qt::WindowFlags wflags = QFlag(0));
|
||||
|
||||
// Destructor.
|
||||
~PatchesDialog() override;
|
||||
~PatchesDialog() override = default;
|
||||
|
||||
|
||||
void setup(fluid_synth_t *pSynth, int iChan, const QString & _chanName,
|
||||
|
||||
@@ -1055,13 +1055,6 @@ Sf2InstrumentView::Sf2InstrumentView( Instrument * _instrument, QWidget * _paren
|
||||
|
||||
|
||||
|
||||
Sf2InstrumentView::~Sf2InstrumentView()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void Sf2InstrumentView::modelChanged()
|
||||
{
|
||||
Sf2Instrument * k = castModel<Sf2Instrument>();
|
||||
|
||||
@@ -203,7 +203,7 @@ class Sf2InstrumentView : public InstrumentViewFixedSize
|
||||
public:
|
||||
Sf2InstrumentView( Instrument * _instrument,
|
||||
QWidget * _parent );
|
||||
~Sf2InstrumentView() override;
|
||||
~Sf2InstrumentView() override = default;
|
||||
|
||||
private:
|
||||
void modelChanged() override;
|
||||
|
||||
@@ -88,14 +88,6 @@ SfxrSynth::SfxrSynth( const SfxrInstrument * s ):
|
||||
|
||||
|
||||
|
||||
SfxrSynth::~SfxrSynth()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void SfxrSynth::resetSample( bool restart )
|
||||
{
|
||||
if(!restart)
|
||||
@@ -362,13 +354,6 @@ SfxrInstrument::SfxrInstrument( InstrumentTrack * _instrument_track ) :
|
||||
|
||||
|
||||
|
||||
SfxrInstrument::~SfxrInstrument()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void SfxrInstrument::saveSettings( QDomDocument & _doc, QDomElement & _this )
|
||||
{
|
||||
_this.setAttribute( "version", "1" );
|
||||
|
||||
@@ -80,7 +80,7 @@ class SfxrSynth
|
||||
MM_OPERATORS
|
||||
public:
|
||||
SfxrSynth( const SfxrInstrument * s );
|
||||
virtual ~SfxrSynth();
|
||||
virtual ~SfxrSynth() = default;
|
||||
|
||||
void resetSample( bool restart );
|
||||
void update( sampleFrame * buffer, const int32_t frameNum );
|
||||
@@ -176,7 +176,7 @@ class SfxrInstrument : public Instrument
|
||||
Q_OBJECT
|
||||
public:
|
||||
SfxrInstrument(InstrumentTrack * _instrument_track );
|
||||
~SfxrInstrument() override;
|
||||
~SfxrInstrument() override = default;
|
||||
|
||||
void playNote( NotePlayHandle * _n, sampleFrame * _working_buffer ) override;
|
||||
void deleteNotePluginData( NotePlayHandle * _n ) override;
|
||||
@@ -240,7 +240,7 @@ public:
|
||||
SfxrInstrumentView( Instrument * _instrument,
|
||||
QWidget * _parent );
|
||||
|
||||
~SfxrInstrumentView() override {};
|
||||
~SfxrInstrumentView() override = default;
|
||||
|
||||
protected slots:
|
||||
void genPickup();
|
||||
|
||||
@@ -116,11 +116,6 @@ VoiceObject::VoiceObject( Model * _parent, int _idx ) :
|
||||
}
|
||||
|
||||
|
||||
VoiceObject::~VoiceObject()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
SidInstrument::SidInstrument( InstrumentTrack * _instrument_track ) :
|
||||
Instrument( _instrument_track, &sid_plugin_descriptor ),
|
||||
// filter
|
||||
@@ -140,11 +135,6 @@ SidInstrument::SidInstrument( InstrumentTrack * _instrument_track ) :
|
||||
}
|
||||
|
||||
|
||||
SidInstrument::~SidInstrument()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void SidInstrument::saveSettings( QDomDocument & _doc,
|
||||
QDomElement & _this )
|
||||
{
|
||||
@@ -662,10 +652,6 @@ SidInstrumentView::SidInstrumentView( Instrument * _instrument,
|
||||
}
|
||||
|
||||
|
||||
SidInstrumentView::~SidInstrumentView()
|
||||
{
|
||||
}
|
||||
|
||||
void SidInstrumentView::updateKnobHint()
|
||||
{
|
||||
SidInstrument * k = castModel<SidInstrument>();
|
||||
|
||||
@@ -58,7 +58,7 @@ public:
|
||||
NumWaveShapes
|
||||
};
|
||||
VoiceObject( Model * _parent, int _idx );
|
||||
~VoiceObject() override;
|
||||
~VoiceObject() override = default;
|
||||
|
||||
|
||||
private:
|
||||
@@ -97,7 +97,7 @@ public:
|
||||
|
||||
|
||||
SidInstrument( InstrumentTrack * _instrument_track );
|
||||
~SidInstrument() override;
|
||||
~SidInstrument() override = default;
|
||||
|
||||
void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer ) override;
|
||||
@@ -147,7 +147,7 @@ class SidInstrumentView : public InstrumentViewFixedSize
|
||||
Q_OBJECT
|
||||
public:
|
||||
SidInstrumentView( Instrument * _instrument, QWidget * _parent );
|
||||
~SidInstrumentView() override;
|
||||
~SidInstrumentView() override = default;
|
||||
|
||||
private:
|
||||
void modelChanged() override;
|
||||
@@ -181,9 +181,7 @@ private:
|
||||
m_testButton( testb )
|
||||
{
|
||||
}
|
||||
voiceKnobs()
|
||||
{
|
||||
}
|
||||
voiceKnobs() = default;
|
||||
Knob * m_attKnob;
|
||||
Knob * m_decKnob;
|
||||
Knob * m_sustKnob;
|
||||
|
||||
@@ -49,7 +49,7 @@ class SaControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit SaControls(Analyzer* effect);
|
||||
~SaControls() override {}
|
||||
~SaControls() override = default;
|
||||
|
||||
gui::EffectControlDialog* createView() override;
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ class SaControlsDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit SaControlsDialog(SaControls *controls, SaProcessor *processor);
|
||||
~SaControlsDialog() override {}
|
||||
~SaControlsDialog() override = default;
|
||||
|
||||
bool isResizable() const override {return true;}
|
||||
QSize sizeHint() const override;
|
||||
|
||||
@@ -54,7 +54,7 @@ class SaSpectrumView : public QWidget
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit SaSpectrumView(SaControls *controls, SaProcessor *processor, QWidget *_parent = 0);
|
||||
~SaSpectrumView() override {}
|
||||
~SaSpectrumView() override = default;
|
||||
|
||||
QSize sizeHint() const override {return QSize(400, 200);}
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ class SaWaterfallView : public QWidget
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit SaWaterfallView(SaControls *controls, SaProcessor *processor, QWidget *_parent = 0);
|
||||
~SaWaterfallView() override {}
|
||||
~SaWaterfallView() override = default;
|
||||
|
||||
QSize sizeHint() const override {return QSize(400, 350);}
|
||||
|
||||
|
||||
@@ -42,9 +42,7 @@ class StereoEnhancerControlDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
StereoEnhancerControlDialog( StereoEnhancerControls * _controls );
|
||||
~StereoEnhancerControlDialog() override
|
||||
{
|
||||
}
|
||||
~StereoEnhancerControlDialog() override = default;
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -39,9 +39,7 @@ class StereoEnhancerControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
StereoEnhancerControls( StereoEnhancerEffect( * _eff ) );
|
||||
~StereoEnhancerControls() override
|
||||
{
|
||||
}
|
||||
~StereoEnhancerControls() override = default;
|
||||
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
|
||||
@@ -64,12 +64,6 @@ StereoMatrixEffect::StereoMatrixEffect(
|
||||
|
||||
|
||||
|
||||
StereoMatrixEffect::~StereoMatrixEffect()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool StereoMatrixEffect::processAudioBuffer( sampleFrame * _buf,
|
||||
const fpp_t _frames )
|
||||
{
|
||||
|
||||
@@ -38,7 +38,7 @@ class StereoMatrixEffect : public Effect
|
||||
public:
|
||||
StereoMatrixEffect( Model * parent,
|
||||
const Descriptor::SubPluginFeatures::Key * _key );
|
||||
~StereoMatrixEffect() override;
|
||||
~StereoMatrixEffect() override = default;
|
||||
bool processAudioBuffer( sampleFrame * _buf,
|
||||
const fpp_t _frames ) override;
|
||||
|
||||
|
||||
@@ -41,9 +41,7 @@ class StereoMatrixControlDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
StereoMatrixControlDialog( StereoMatrixControls * _controls );
|
||||
~StereoMatrixControlDialog() override
|
||||
{
|
||||
}
|
||||
~StereoMatrixControlDialog() override = default;
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -39,9 +39,7 @@ class StereoMatrixControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
StereoMatrixControls( StereoMatrixEffect( * _eff ) );
|
||||
~StereoMatrixControls() override
|
||||
{
|
||||
}
|
||||
~StereoMatrixControls() override = default;
|
||||
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
|
||||
@@ -130,13 +130,6 @@ MalletsInstrument::MalletsInstrument( InstrumentTrack * _instrument_track ):
|
||||
|
||||
|
||||
|
||||
MalletsInstrument::~MalletsInstrument()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void MalletsInstrument::saveSettings( QDomDocument & _doc, QDomElement & _this )
|
||||
{
|
||||
// ModalBar
|
||||
@@ -435,12 +428,6 @@ MalletsInstrumentView::MalletsInstrumentView( MalletsInstrument * _instrument,
|
||||
|
||||
|
||||
|
||||
MalletsInstrumentView::~MalletsInstrumentView()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
void MalletsInstrumentView::setWidgetBackground( QWidget * _widget, const QString & _pic )
|
||||
{
|
||||
_widget->setAutoFillBackground( true );
|
||||
|
||||
@@ -160,7 +160,7 @@ class MalletsInstrument : public Instrument
|
||||
Q_OBJECT
|
||||
public:
|
||||
MalletsInstrument( InstrumentTrack * _instrument_track );
|
||||
~MalletsInstrument() override;
|
||||
~MalletsInstrument() override = default;
|
||||
|
||||
void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer ) override;
|
||||
@@ -219,7 +219,7 @@ class MalletsInstrumentView: public InstrumentViewFixedSize
|
||||
public:
|
||||
MalletsInstrumentView( MalletsInstrument * _instrument,
|
||||
QWidget * _parent );
|
||||
~MalletsInstrumentView() override;
|
||||
~MalletsInstrumentView() override = default;
|
||||
|
||||
public slots:
|
||||
void changePreset();
|
||||
|
||||
@@ -238,13 +238,6 @@ TripleOscillator::TripleOscillator( InstrumentTrack * _instrument_track ) :
|
||||
|
||||
|
||||
|
||||
TripleOscillator::~TripleOscillator()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void TripleOscillator::saveSettings( QDomDocument & _doc, QDomElement & _this )
|
||||
{
|
||||
for( int i = 0; i < NUM_OF_OSCILLATORS; ++i )
|
||||
@@ -714,13 +707,6 @@ TripleOscillatorView::TripleOscillatorView( Instrument * _instrument,
|
||||
|
||||
|
||||
|
||||
TripleOscillatorView::~TripleOscillatorView()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void TripleOscillatorView::modelChanged()
|
||||
{
|
||||
TripleOscillator * t = castModel<TripleOscillator>();
|
||||
|
||||
@@ -108,7 +108,7 @@ class TripleOscillator : public Instrument
|
||||
Q_OBJECT
|
||||
public:
|
||||
TripleOscillator( InstrumentTrack * _track );
|
||||
~TripleOscillator() override;
|
||||
~TripleOscillator() override = default;
|
||||
|
||||
void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer ) override;
|
||||
@@ -157,7 +157,7 @@ class TripleOscillatorView : public InstrumentViewFixedSize
|
||||
Q_OBJECT
|
||||
public:
|
||||
TripleOscillatorView( Instrument * _instrument, QWidget * _parent );
|
||||
~TripleOscillatorView() override;
|
||||
~TripleOscillatorView() override = default;
|
||||
|
||||
|
||||
private:
|
||||
@@ -191,9 +191,7 @@ private:
|
||||
m_multiBandWaveTableButton( wt )
|
||||
{
|
||||
}
|
||||
OscillatorKnobs()
|
||||
{
|
||||
}
|
||||
OscillatorKnobs() = default;
|
||||
Knob * m_volKnob;
|
||||
Knob * m_panKnob;
|
||||
Knob * m_coarseKnob;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user