aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/gme
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2019-01-06 19:27:03 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2019-01-06 19:27:03 +0000
commit8a6f982632b4f4710576685a5647a771384ab29a (patch)
tree9ca763e18279d42aa4c7b29530612768db1bbf01 /src/plugins/Input/gme
parent1b0fef3d25ed94518f4f6b1914a7d7e71aae80c5 (diff)
downloadqmmp-8a6f982632b4f4710576685a5647a771384ab29a.tar.gz
qmmp-8a6f982632b4f4710576685a5647a771384ab29a.tar.bz2
qmmp-8a6f982632b4f4710576685a5647a771384ab29a.zip
using override keyword
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8591 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/gme')
-rw-r--r--src/plugins/Input/gme/decoder_gme.cpp2
-rw-r--r--src/plugins/Input/gme/decoder_gme.h12
-rw-r--r--src/plugins/Input/gme/decodergmefactory.cpp2
-rw-r--r--src/plugins/Input/gme/decodergmefactory.h18
-rw-r--r--src/plugins/Input/gme/gmehelper.cpp2
-rw-r--r--src/plugins/Input/gme/gmehelper.h2
-rw-r--r--src/plugins/Input/gme/settingsdialog.h2
7 files changed, 20 insertions, 20 deletions
diff --git a/src/plugins/Input/gme/decoder_gme.cpp b/src/plugins/Input/gme/decoder_gme.cpp
index 4de43f802..73d18bd68 100644
--- a/src/plugins/Input/gme/decoder_gme.cpp
+++ b/src/plugins/Input/gme/decoder_gme.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2010-2018 by Ilya Kotov *
+ * Copyright (C) 2010-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/gme/decoder_gme.h b/src/plugins/Input/gme/decoder_gme.h
index 730ec3c17..f6a3f2ff5 100644
--- a/src/plugins/Input/gme/decoder_gme.h
+++ b/src/plugins/Input/gme/decoder_gme.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2010-2018 by Ilya Kotov *
+ * Copyright (C) 2010-2019 by Ilya Kotov *
* forkotov02@ya.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -36,11 +36,11 @@ public:
virtual ~DecoderGme();
// Standard Decoder API
- bool initialize();
- qint64 totalTime() const;
- int bitrate() const;
- qint64 read(unsigned char *data, qint64 size);
- void seek(qint64);
+ bool initialize() override;
+ qint64 totalTime() const override;
+ int bitrate() const override;
+ qint64 read(unsigned char *data, qint64 size) override;
+ void seek(qint64) override;
private:
GmeHelper m_helper;
diff --git a/src/plugins/Input/gme/decodergmefactory.cpp b/src/plugins/Input/gme/decodergmefactory.cpp
index 50fee26a1..855650488 100644
--- a/src/plugins/Input/gme/decodergmefactory.cpp
+++ b/src/plugins/Input/gme/decodergmefactory.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2010-2018 by Ilya Kotov *
+ * Copyright (C) 2010-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/gme/decodergmefactory.h b/src/plugins/Input/gme/decodergmefactory.h
index e02b504b9..1d364c792 100644
--- a/src/plugins/Input/gme/decodergmefactory.h
+++ b/src/plugins/Input/gme/decodergmefactory.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2010-2018 by Ilya Kotov *
+ * Copyright (C) 2010-2019 by Ilya Kotov *
* forkotov02@ya.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -32,14 +32,14 @@ class DecoderGmeFactory : public QObject, DecoderFactory
Q_INTERFACES(DecoderFactory)
public:
- bool canDecode(QIODevice *input) const;
- DecoderProperties properties() const;
- Decoder *create(const QString &path, QIODevice *input);
- QList<TrackInfo *> createPlayList(const QString &path, TrackInfo::Parts parts, QStringList *ignoredFiles);
- 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 &path, QIODevice *input) override;
+ QList<TrackInfo *> createPlayList(const QString &path, TrackInfo::Parts parts, QStringList *ignoredFiles) override;
+ MetaDataModel* createMetaDataModel(const QString &path, bool readOnly) override;
+ void showSettings(QWidget *parent) override;
+ void showAbout(QWidget *parent) override;
+ QString translation() const override;
};
#endif
diff --git a/src/plugins/Input/gme/gmehelper.cpp b/src/plugins/Input/gme/gmehelper.cpp
index fad5274f5..223dfb1ad 100644
--- a/src/plugins/Input/gme/gmehelper.cpp
+++ b/src/plugins/Input/gme/gmehelper.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2010-2018 by Ilya Kotov *
+ * Copyright (C) 2010-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/gme/gmehelper.h b/src/plugins/Input/gme/gmehelper.h
index 2908308e4..79ba57499 100644
--- a/src/plugins/Input/gme/gmehelper.h
+++ b/src/plugins/Input/gme/gmehelper.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2010-2018 by Ilya Kotov *
+ * Copyright (C) 2010-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/gme/settingsdialog.h b/src/plugins/Input/gme/settingsdialog.h
index 5b4df41da..a84b955a1 100644
--- a/src/plugins/Input/gme/settingsdialog.h
+++ b/src/plugins/Input/gme/settingsdialog.h
@@ -36,7 +36,7 @@ public:
~SettingsDialog();
public slots:
- void accept();
+ void accept() override;
private:
Ui::SettingsDialog *m_ui;