From 8a6f982632b4f4710576685a5647a771384ab29a Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 6 Jan 2019 19:27:03 +0000 Subject: using override keyword git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8591 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/sndfile/decoder_sndfile.h | 10 +++++----- src/plugins/Input/sndfile/decodersndfilefactory.cpp | 2 +- src/plugins/Input/sndfile/decodersndfilefactory.h | 18 +++++++++--------- 3 files changed, 15 insertions(+), 15 deletions(-) (limited to 'src/plugins/Input/sndfile') diff --git a/src/plugins/Input/sndfile/decoder_sndfile.h b/src/plugins/Input/sndfile/decoder_sndfile.h index ce53b74ae..d202ad546 100644 --- a/src/plugins/Input/sndfile/decoder_sndfile.h +++ b/src/plugins/Input/sndfile/decoder_sndfile.h @@ -36,11 +36,11 @@ public: virtual ~DecoderSndFile(); // Standard Decoder API - bool initialize(); - qint64 totalTime() const; - int bitrate() const; - qint64 read(unsigned char *audio, qint64 maxSize); - void seek(qint64 time); + bool initialize() override; + qint64 totalTime() const override; + int bitrate() const override; + qint64 read(unsigned char *audio, qint64 maxSize) override; + void seek(qint64 time) override; private: diff --git a/src/plugins/Input/sndfile/decodersndfilefactory.cpp b/src/plugins/Input/sndfile/decodersndfilefactory.cpp index 23084bb63..f6d2f221f 100644 --- a/src/plugins/Input/sndfile/decodersndfilefactory.cpp +++ b/src/plugins/Input/sndfile/decodersndfilefactory.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2007-2018 by Ilya Kotov * + * Copyright (C) 2007-2019 by Ilya Kotov * * forkotov02@ya.ru * * * * This program is free software; you can redistribute it and/or modify * diff --git a/src/plugins/Input/sndfile/decodersndfilefactory.h b/src/plugins/Input/sndfile/decodersndfilefactory.h index 205e0d668..0d6c2c3d7 100644 --- a/src/plugins/Input/sndfile/decodersndfilefactory.h +++ b/src/plugins/Input/sndfile/decodersndfilefactory.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2007-2018 by Ilya Kotov * + * Copyright (C) 2007-2019 by Ilya Kotov * * forkotov02@ya.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -30,14 +30,14 @@ Q_PLUGIN_METADATA(IID "org.qmmp.qmmp.DecoderFactoryInterface.1.0") Q_INTERFACES(DecoderFactory) public: - bool canDecode(QIODevice *input) const; - DecoderProperties properties() const; - Decoder *create(const QString &, QIODevice *); - QList createPlayList(const QString &path, TrackInfo::Parts parts, QStringList *); - MetaDataModel* createMetaDataModel(const QString &path, bool readOnly); - void showSettings(QWidget *parent); - void showAbout(QWidget *parent); - QString translation() const; + bool canDecode(QIODevice *input) const override; + DecoderProperties properties() const override; + Decoder *create(const QString &, QIODevice *) override; + QList createPlayList(const QString &path, TrackInfo::Parts parts, QStringList *) override; + MetaDataModel* createMetaDataModel(const QString &path, bool readOnly) override; + void showSettings(QWidget *parent) override; + void showAbout(QWidget *parent) override; + QString translation() const override; }; #endif -- cgit v1.2.3-13-gbd6f