forked from qt-creator/qt-creator
Debugger: Remove an unnecessary #include
... and sprinkle some 'final'. Change-Id: I11abcd647bff9ac2bab235216f1da5cc1c1b34ab Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -3,11 +3,8 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "debuggerconstants.h"
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QPoint>
|
#include <QPoint>
|
||||||
#include <QPointer>
|
|
||||||
#include <QColor>
|
#include <QColor>
|
||||||
|
|
||||||
namespace BinEditor { class EditorService; }
|
namespace BinEditor { class EditorService; }
|
||||||
@@ -16,7 +13,7 @@ namespace Debugger::Internal {
|
|||||||
|
|
||||||
class DebuggerEngine;
|
class DebuggerEngine;
|
||||||
|
|
||||||
class MemoryMarkup
|
class MemoryMarkup final
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
MemoryMarkup() = default;
|
MemoryMarkup() = default;
|
||||||
@@ -30,7 +27,7 @@ public:
|
|||||||
QString toolTip;
|
QString toolTip;
|
||||||
};
|
};
|
||||||
|
|
||||||
class MemoryViewSetupData
|
class MemoryViewSetupData final
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
MemoryViewSetupData() = default;
|
MemoryViewSetupData() = default;
|
||||||
@@ -45,11 +42,11 @@ public:
|
|||||||
bool trackRegisters = false; // Address parameter is register number to track
|
bool trackRegisters = false; // Address parameter is register number to track
|
||||||
};
|
};
|
||||||
|
|
||||||
class MemoryAgent : public QObject
|
class MemoryAgent final : public QObject
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
MemoryAgent(const MemoryViewSetupData &data, DebuggerEngine *engine);
|
MemoryAgent(const MemoryViewSetupData &data, DebuggerEngine *engine);
|
||||||
~MemoryAgent() override;
|
~MemoryAgent() final;
|
||||||
|
|
||||||
void updateContents();
|
void updateContents();
|
||||||
void addData(quint64 address, const QByteArray &data);
|
void addData(quint64 address, const QByteArray &data);
|
||||||
|
Reference in New Issue
Block a user