diff options
author | hjk <hjk@qt.io> | 2018-08-23 16:39:23 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2018-08-29 09:38:38 +0000 |
commit | a68e8c5b699e2d40fbdb35f7e7a577a48db06b8b (patch) | |
tree | 7b751884b28af97f8842fc03509b163d2c05e6ac /src/plugins/debugger/breakhandler.h | |
parent | 37dbc7ba85621303655020906ef3a2befcf2c6a8 (diff) |
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>
Diffstat (limited to 'src/plugins/debugger/breakhandler.h')
-rw-r--r-- | src/plugins/debugger/breakhandler.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/plugins/debugger/breakhandler.h b/src/plugins/debugger/breakhandler.h index fdf3a0326d..bdbf4586ce 100644 --- a/src/plugins/debugger/breakhandler.h +++ b/src/plugins/debugger/breakhandler.h @@ -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); |