aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/history
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/history')
-rw-r--r--src/plugins/General/history/history.cpp2
-rw-r--r--src/plugins/General/history/history.h2
-rw-r--r--src/plugins/General/history/historyfactory.h10
-rw-r--r--src/plugins/General/history/historysettingsdialog.h2
-rw-r--r--src/plugins/General/history/historywindow.cpp2
-rw-r--r--src/plugins/General/history/historywindow.h4
-rw-r--r--src/plugins/General/history/progressbaritemdelegate.h4
7 files changed, 13 insertions, 13 deletions
diff --git a/src/plugins/General/history/history.cpp b/src/plugins/General/history/history.cpp
index 25b4bf8fe..a4a721ea9 100644
--- a/src/plugins/General/history/history.cpp
+++ b/src/plugins/General/history/history.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2017-2018 by Ilya Kotov *
+ * Copyright (C) 2017-2019 by Ilya Kotov *
* forkotov02@ya.ru *
* *
* This program is free software; you can redistribute it and/or modify *
diff --git a/src/plugins/General/history/history.h b/src/plugins/General/history/history.h
index d044bc0ae..1b0ff2163 100644
--- a/src/plugins/General/history/history.h
+++ b/src/plugins/General/history/history.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2017-2018 by Ilya Kotov *
+ * Copyright (C) 2017-2019 by Ilya Kotov *
* forkotov02@ya.ru *
* *
* This program is free software; you can redistribute it and/or modify *
diff --git a/src/plugins/General/history/historyfactory.h b/src/plugins/General/history/historyfactory.h
index 5a5e9ed77..edd6d7e9d 100644
--- a/src/plugins/General/history/historyfactory.h
+++ b/src/plugins/General/history/historyfactory.h
@@ -34,11 +34,11 @@ Q_OBJECT
Q_PLUGIN_METADATA(IID "org.qmmp.qmmp.GeneralFactoryInterface.1.0")
Q_INTERFACES(GeneralFactory)
public:
- GeneralProperties properties() const;
- QObject *create(QObject *parent);
- QDialog *createConfigDialog(QWidget *parent);
- void showAbout(QWidget *parent);
- QString translation() const;
+ GeneralProperties properties() const override;
+ QObject *create(QObject *parent) override;
+ QDialog *createConfigDialog(QWidget *parent) override;
+ void showAbout(QWidget *parent) override;
+ QString translation() const override;
};
#endif // HISTORYFACTORY_H
diff --git a/src/plugins/General/history/historysettingsdialog.h b/src/plugins/General/history/historysettingsdialog.h
index f9efef1b5..7b842b45a 100644
--- a/src/plugins/General/history/historysettingsdialog.h
+++ b/src/plugins/General/history/historysettingsdialog.h
@@ -36,7 +36,7 @@ public:
~HistorySettingsDialog();
public slots:
- void accept();
+ void accept() override;
private slots:
void addTitleString(const QString &str);
diff --git a/src/plugins/General/history/historywindow.cpp b/src/plugins/General/history/historywindow.cpp
index 34de9b5bc..cbba39987 100644
--- a/src/plugins/General/history/historywindow.cpp
+++ b/src/plugins/General/history/historywindow.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2017-2018 by Ilya Kotov *
+ * Copyright (C) 2017-2019 by Ilya Kotov *
* forkotov02@ya.ru *
* *
* This program is free software; you can redistribute it and/or modify *
diff --git a/src/plugins/General/history/historywindow.h b/src/plugins/General/history/historywindow.h
index 88d81e887..c1097884f 100644
--- a/src/plugins/General/history/historywindow.h
+++ b/src/plugins/General/history/historywindow.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2017-2018 by Ilya Kotov *
+ * Copyright (C) 2017-2019 by Ilya Kotov *
* forkotov02@ya.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -53,7 +53,7 @@ private:
void loadTopArtists();
void loadTopGenres();
void readSettings();
- void closeEvent(QCloseEvent *);
+ void closeEvent(QCloseEvent *) override;
Ui::HistoryWindow *m_ui;
QSqlDatabase m_db;
diff --git a/src/plugins/General/history/progressbaritemdelegate.h b/src/plugins/General/history/progressbaritemdelegate.h
index 2eef87b91..526329f2c 100644
--- a/src/plugins/General/history/progressbaritemdelegate.h
+++ b/src/plugins/General/history/progressbaritemdelegate.h
@@ -37,8 +37,8 @@ class ProgressBarItemDelegate : public QStyledItemDelegate
public:
explicit ProgressBarItemDelegate(QObject *parent = nullptr);
- void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
- QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const;
+ void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
+ QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const override;
bool hasProgressBar(const QModelIndex &index) const;
};