qt: Add missing override specifiers where applicable
This commit is contained in:
parent
00a68c5eea
commit
7846295a8f
|
@ -16,7 +16,7 @@ class AboutDialog : public QDialog {
|
|||
|
||||
public:
|
||||
explicit AboutDialog(QWidget* parent);
|
||||
~AboutDialog();
|
||||
~AboutDialog() override;
|
||||
|
||||
private:
|
||||
std::unique_ptr<Ui::AboutDialog> ui;
|
||||
|
|
|
@ -106,7 +106,7 @@ class GRenderWindow : public QWidget, public EmuWindow {
|
|||
|
||||
public:
|
||||
GRenderWindow(QWidget* parent, EmuThread* emu_thread);
|
||||
~GRenderWindow();
|
||||
~GRenderWindow() override;
|
||||
|
||||
// EmuWindow implementation
|
||||
void SwapBuffers() override;
|
||||
|
|
|
@ -22,11 +22,11 @@ class SurfacePicture : public QLabel {
|
|||
public:
|
||||
explicit SurfacePicture(QWidget* parent = nullptr,
|
||||
GraphicsSurfaceWidget* surface_widget = nullptr);
|
||||
~SurfacePicture();
|
||||
~SurfacePicture() override;
|
||||
|
||||
protected slots:
|
||||
virtual void mouseMoveEvent(QMouseEvent* event);
|
||||
virtual void mousePressEvent(QMouseEvent* event);
|
||||
void mouseMoveEvent(QMouseEvent* event) override;
|
||||
void mousePressEvent(QMouseEvent* event) override;
|
||||
|
||||
private:
|
||||
GraphicsSurfaceWidget* surface_widget;
|
||||
|
|
|
@ -25,11 +25,13 @@ class WaitTreeThread;
|
|||
class WaitTreeItem : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
~WaitTreeItem() override;
|
||||
|
||||
virtual bool IsExpandable() const;
|
||||
virtual std::vector<std::unique_ptr<WaitTreeItem>> GetChildren() const;
|
||||
virtual QString GetText() const = 0;
|
||||
virtual QColor GetColor() const;
|
||||
virtual ~WaitTreeItem();
|
||||
|
||||
void Expand();
|
||||
WaitTreeItem* Parent() const;
|
||||
const std::vector<std::unique_ptr<WaitTreeItem>>& Children() const;
|
||||
|
|
|
@ -43,7 +43,7 @@ public:
|
|||
void filterBarSetChecked(bool state);
|
||||
void UpdateUITheme();
|
||||
GMainWindow();
|
||||
~GMainWindow();
|
||||
~GMainWindow() override;
|
||||
|
||||
signals:
|
||||
|
||||
|
|
Loading…
Reference in a new issue