forked from qt-creator/qt-creator
Debugger: Move session load/restore handling
... to breakpoint and watchhandler. More modular this way. Change-Id: I4a45481fcc2bfde67b164bd7274fb7b2a12cb7ac Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -234,9 +234,6 @@ public:
|
||||
QAbstractItemModel *model() { return this; }
|
||||
const Breakpoints breakpoints() const;
|
||||
|
||||
void loadSessionData();
|
||||
void saveSessionData();
|
||||
|
||||
bool tryClaimBreakpoint(const GlobalBreakpoint &gbp);
|
||||
void releaseAllBreakpoints();
|
||||
|
||||
@@ -297,9 +294,6 @@ public:
|
||||
static QAbstractItemModel *model();
|
||||
|
||||
static const GlobalBreakpoints globalBreakpoints();
|
||||
static void loadSessionData();
|
||||
static void saveSessionData();
|
||||
static void aboutToUnloadSession();
|
||||
|
||||
static GlobalBreakpoint createBreakpoint(const BreakpointParameters &data);
|
||||
|
||||
@@ -325,6 +319,10 @@ private:
|
||||
QVariant data(const QModelIndex &idx, int role) const final;
|
||||
bool setData(const QModelIndex &idx, const QVariant &value, int role) final;
|
||||
|
||||
void loadSessionData();
|
||||
void saveSessionData();
|
||||
void aboutToUnloadSession();
|
||||
|
||||
bool contextMenuEvent(const Utils::ItemViewEvent &ev);
|
||||
void gotoLocation(const GlobalBreakpoint &gbp) const;
|
||||
void editBreakpoints(const GlobalBreakpoints &gbps, QWidget *parent);
|
||||
|
||||
Reference in New Issue
Block a user