mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-01-17 14:28:24 +01:00
Replace virtual with better fitting override
This commit is contained in:
parent
f35f5d5af0
commit
2b2a770be0
@ -30,9 +30,9 @@ class DLLEXPORT APETag : public Tag
|
||||
public:
|
||||
APETag( TagLib::Tag *, TagLib::APE::Tag * );
|
||||
|
||||
virtual QString albumArtist() const { return m_albumArtist; }
|
||||
virtual QString composer() const { return m_composer; }
|
||||
virtual unsigned int discNumber() const { return m_discNumber; }
|
||||
QString albumArtist() const override { return m_albumArtist; }
|
||||
QString composer() const override { return m_composer; }
|
||||
unsigned int discNumber() const override { return m_discNumber; }
|
||||
|
||||
private:
|
||||
TagLib::APE::Tag *m_apeTag;
|
||||
|
@ -30,9 +30,9 @@ class DLLEXPORT ASFTag : public Tag
|
||||
public:
|
||||
ASFTag( TagLib::Tag *, TagLib::ASF::Tag * );
|
||||
|
||||
virtual QString albumArtist() const { return m_albumArtist; }
|
||||
virtual QString composer() const { return m_composer; }
|
||||
virtual unsigned int discNumber() const { return m_discNumber; }
|
||||
QString albumArtist() const override { return m_albumArtist; }
|
||||
QString composer() const override { return m_composer; }
|
||||
unsigned int discNumber() const override { return m_discNumber; }
|
||||
|
||||
private:
|
||||
TagLib::ASF::Tag *m_asfTag;
|
||||
|
@ -30,9 +30,9 @@ class DLLEXPORT ID3v1Tag : public Tag
|
||||
public:
|
||||
ID3v1Tag( TagLib::Tag * );
|
||||
|
||||
virtual QString albumArtist() const { return QString(); }
|
||||
virtual QString composer() const { return QString(); }
|
||||
virtual unsigned int discNumber() const { return 0; }
|
||||
QString albumArtist() const override { return QString(); }
|
||||
QString composer() const override { return QString(); }
|
||||
unsigned int discNumber() const override { return 0; }
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -30,9 +30,9 @@ class DLLEXPORT ID3v2Tag : public Tag
|
||||
public:
|
||||
ID3v2Tag( TagLib::Tag *, TagLib::ID3v2::Tag * );
|
||||
|
||||
virtual QString albumArtist() const { return m_albumArtist; }
|
||||
virtual QString composer() const { return m_composer; }
|
||||
virtual unsigned int discNumber() const { return m_discNumber; }
|
||||
QString albumArtist() const override { return m_albumArtist; }
|
||||
QString composer() const override { return m_composer; }
|
||||
unsigned int discNumber() const override { return m_discNumber; }
|
||||
|
||||
private:
|
||||
TagLib::ID3v2::Tag *m_id3v2Tag;
|
||||
|
@ -30,9 +30,9 @@ class DLLEXPORT MP4Tag : public Tag
|
||||
public:
|
||||
MP4Tag( TagLib::Tag *, TagLib::MP4::Tag * );
|
||||
|
||||
virtual QString albumArtist() const { return m_albumArtist; }
|
||||
virtual QString composer() const { return m_composer; }
|
||||
virtual unsigned int discNumber() const { return m_discNumber; }
|
||||
QString albumArtist() const override { return m_albumArtist; }
|
||||
QString composer() const override { return m_composer; }
|
||||
unsigned int discNumber() const override { return m_discNumber; }
|
||||
|
||||
private:
|
||||
TagLib::MP4::Tag *m_mp4Tag;
|
||||
|
@ -30,9 +30,9 @@ class DLLEXPORT OggTag : public Tag
|
||||
public:
|
||||
OggTag( TagLib::Tag *, TagLib::Ogg::XiphComment * );
|
||||
|
||||
virtual QString albumArtist() const { return m_albumArtist; }
|
||||
virtual QString composer() const { return m_composer; }
|
||||
virtual unsigned int discNumber() const { return m_discNumber; }
|
||||
QString albumArtist() const override { return m_albumArtist; }
|
||||
QString composer() const override { return m_composer; }
|
||||
unsigned int discNumber() const override { return m_discNumber; }
|
||||
|
||||
private:
|
||||
TagLib::Ogg::XiphComment *m_xiphComment;
|
||||
|
Loading…
x
Reference in New Issue
Block a user