Debugger: More interface streamlining

This makes WatchModel practically a WatchHandlerPrivate.

Change-Id: Iaf3435711012af5e233a7dfc0dc0caf9c8c3ab24
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2015-03-20 13:18:36 +01:00
parent 2c8e0c34e7
commit dba12a1eab
2 changed files with 46 additions and 81 deletions

View File

@@ -187,7 +187,6 @@ public:
void fetchMore(const QByteArray &iname) const;
WatchItem *findItem(const QByteArray &iname) const;
const WatchItem *findCppLocalVariable(const QString &name) const;
bool hasItem(const QByteArray &iname) const;
void loadSessionData();
void saveSessionData();
@@ -231,19 +230,7 @@ public:
void purgeOutdatedItems(const QSet<QByteArray> &inames);
private:
friend class WatchModel;
void saveWatchers();
static void loadFormats();
static void saveFormats();
void setFormat(const QByteArray &type, int format);
WatchModel *m_model; // Owned.
DebuggerEngine *m_engine; // Not owned.
bool m_contentsValid;
bool m_resetLocationScheduled;
};
} // namespace Internal