diff options
author | Daniel Schürmann <daschuer@mixxx.org> | 2019-12-29 10:03:37 +0100 |
---|---|---|
committer | Daniel Schürmann <daschuer@mixxx.org> | 2019-12-29 10:03:37 +0100 |
commit | 9ab7b6fe0b182e87dae69f49824ac4b57a71d0d7 (patch) | |
tree | e734b3887031fc8b01be084a9ab2bd1083143f44 /src/encoder | |
parent | 894312647794c0c44f987e16a6c6afd5f6d16a3a (diff) |
Move inline functions into class definition
Diffstat (limited to 'src/encoder')
-rw-r--r-- | src/encoder/encoderwavesettings.h | 40 |
1 files changed, 19 insertions, 21 deletions
diff --git a/src/encoder/encoderwavesettings.h b/src/encoder/encoderwavesettings.h index e1c6e63912..011797d02f 100644 --- a/src/encoder/encoderwavesettings.h +++ b/src/encoder/encoderwavesettings.h @@ -18,11 +18,19 @@ class EncoderWaveSettings : public EncoderSettings { virtual ~EncoderWaveSettings(); // Indicates that it uses the quality slider section of the preferences - bool usesQualitySlider() const override; + bool usesQualitySlider() const override { + return false; + } + // Indicates that it uses the compression slider section of the preferences - bool usesCompressionSlider() const override; + bool usesCompressionSlider() const override { + return false; + } + // Indicates that it uses the radio button section of the preferences. - bool usesOptionGroups() const override; + bool usesOptionGroups() const override { + return true; + } // Returns the list of radio options to show to the user QList<OptionsGroup> getOptionGroups() const override; @@ -34,7 +42,9 @@ class EncoderWaveSettings : public EncoderSettings { int getSelectedOption(QString groupCode) const override; // Returns the format subtype of this encoder settings. - Encoder::Format getFormat() const; + Encoder::Format getFormat() const { + return m_format; + } static const QString BITS_GROUP; private: @@ -44,22 +54,10 @@ class EncoderWaveSettings : public EncoderSettings { }; -inline bool EncoderWaveSettings::usesQualitySlider() const -{ - return false; -} -inline bool EncoderWaveSettings::usesCompressionSlider() const -{ - return false; -} -inline bool EncoderWaveSettings::usesOptionGroups() const -{ - return true; -} - -inline Encoder::Format EncoderWaveSettings::getFormat() const -{ - return m_format; -} + + + + + #endif // ENCODERWAVESETTINGS_H |