Debugger: Remove more unused WatchData members

Change-Id: I95d2f533e1dcaec70aaa08181246f32066b8fdb1
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
hjk
2015-03-25 17:12:02 +01:00
parent c8b261fc8a
commit 99356db30f
2 changed files with 1 additions and 24 deletions

View File

@@ -131,28 +131,10 @@ WatchData::WatchData() :
wantsChildren(false), wantsChildren(false),
valueEnabled(true), valueEnabled(true),
valueEditable(true), valueEditable(true),
sortId(0), sortId(0)
source(0)
{ {
} }
bool WatchData::isEqual(const WatchData &other) const
{
return iname == other.iname
&& exp == other.exp
&& name == other.name
&& value == other.value
&& editvalue == other.editvalue
&& type == other.type
&& displayedType == other.displayedType
&& address == other.address
&& size == other.size
&& elided == other.elided
&& wantsChildren == other.wantsChildren
&& valueEnabled == other.valueEnabled
&& valueEditable == other.valueEditable;
}
bool WatchData::isAncestorOf(const QByteArray &childIName) const bool WatchData::isAncestorOf(const QByteArray &childIName) const
{ {
if (iname.size() >= childIName.size()) if (iname.size() >= childIName.size())

View File

@@ -82,7 +82,6 @@ public:
bool isValid() const { return !iname.isEmpty(); } bool isValid() const { return !iname.isEmpty(); }
bool isVTablePointer() const; bool isVTablePointer() const;
bool isEqual(const WatchData &other) const;
bool isAncestorOf(const QByteArray &childIName) const; bool isAncestorOf(const QByteArray &childIName) const;
void setError(const QString &); void setError(const QString &);
@@ -128,10 +127,6 @@ public:
qint32 sortId; qint32 sortId;
Q_DECLARE_TR_FUNCTIONS(Debugger::Internal::WatchHandler) Q_DECLARE_TR_FUNCTIONS(Debugger::Internal::WatchHandler)
public:
// FIXME: this is engine specific data that should be mapped internally
qint32 source; // Originated from dumper or symbol evaluation? (CDB only)
}; };
void decodeArrayData(std::function<void(const WatchData &)> itemHandler, void decodeArrayData(std::function<void(const WatchData &)> itemHandler,