Debugger: Make the BreakHandler a LeveledTreeModel

Change-Id: Idcf61d63318b8a1ab768b298f1b789de13ed91b2
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2016-06-10 17:03:21 +02:00
parent fbeca9b550
commit 6cd4d682b3
3 changed files with 61 additions and 85 deletions

View File

@@ -36,6 +36,7 @@
namespace Debugger {
namespace Internal {
class LocationItem;
class BreakpointItem;
class BreakHandler;
class DebuggerCommand;
@@ -156,7 +157,7 @@ inline uint qHash(const Debugger::Internal::Breakpoint &b) { return b.hash(); }
typedef QList<Breakpoint> Breakpoints;
class BreakHandler : public Utils::TreeModel
class BreakHandler : public Utils::LeveledTreeModel<BreakpointItem, LocationItem>
{
Q_OBJECT