mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Branch Watch Tool: Add Rule Of 5 And Remove Unnecessary Include
This commit is contained in:
parent
ecce8e81c8
commit
4a2ec86a9a
@ -57,6 +57,12 @@ public:
|
||||
: QSortFilterProxyModel(parent), m_branch_watch(branch_watch)
|
||||
{
|
||||
}
|
||||
~BranchWatchProxyModel() override = default;
|
||||
|
||||
BranchWatchProxyModel(const BranchWatchProxyModel&) = delete;
|
||||
BranchWatchProxyModel(BranchWatchProxyModel&&) = delete;
|
||||
BranchWatchProxyModel& operator=(const BranchWatchProxyModel&) = delete;
|
||||
BranchWatchProxyModel& operator=(BranchWatchProxyModel&&) = delete;
|
||||
|
||||
BranchWatchTableModel* sourceModel() const
|
||||
{
|
||||
|
@ -9,12 +9,11 @@
|
||||
#include <QDialog>
|
||||
#include <QModelIndexList>
|
||||
|
||||
#include "Core/Core.h"
|
||||
|
||||
namespace Core
|
||||
{
|
||||
class BranchWatch;
|
||||
class CPUThreadGuard;
|
||||
enum class State;
|
||||
class System;
|
||||
} // namespace Core
|
||||
class PPCSymbolDB;
|
||||
@ -54,6 +53,11 @@ public:
|
||||
QWidget* parent = nullptr);
|
||||
~BranchWatchDialog() override;
|
||||
|
||||
BranchWatchDialog(const BranchWatchDialog&) = delete;
|
||||
BranchWatchDialog(BranchWatchDialog&&) = delete;
|
||||
BranchWatchDialog& operator=(const BranchWatchDialog&) = delete;
|
||||
BranchWatchDialog& operator=(BranchWatchDialog&&) = delete;
|
||||
|
||||
protected:
|
||||
void hideEvent(QHideEvent* event) override;
|
||||
void showEvent(QShowEvent* event) override;
|
||||
|
@ -75,6 +75,13 @@ public:
|
||||
m_ppc_symbol_db(ppc_symbol_db)
|
||||
{
|
||||
}
|
||||
~BranchWatchTableModel() override = default;
|
||||
|
||||
BranchWatchTableModel(const BranchWatchTableModel&) = delete;
|
||||
BranchWatchTableModel(BranchWatchTableModel&&) = delete;
|
||||
BranchWatchTableModel& operator=(const BranchWatchTableModel&) = delete;
|
||||
BranchWatchTableModel& operator=(BranchWatchTableModel&&) = delete;
|
||||
|
||||
QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override;
|
||||
QVariant headerData(int section, Qt::Orientation orientation,
|
||||
int role = Qt::DisplayRole) const override;
|
||||
|
Loading…
Reference in New Issue
Block a user