aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggermanager.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2009-03-18 09:03:47 +0100
committerhjk <[email protected]>2009-03-18 09:03:47 +0100
commitda1492cf28a3a3f3d4ed4828e60ac96fa9cd8886 (patch)
treeff1dde506f4dff0a8a958a597a20d7f1b307f10d /src/plugins/debugger/debuggermanager.cpp
parentcc89dcc75b5bda35c9493c33fb1ab21c4b5ae89f (diff)
debugger: start action handling refactoring
Diffstat (limited to 'src/plugins/debugger/debuggermanager.cpp')
-rw-r--r--src/plugins/debugger/debuggermanager.cpp24
1 files changed, 2 insertions, 22 deletions
diff --git a/src/plugins/debugger/debuggermanager.cpp b/src/plugins/debugger/debuggermanager.cpp
index 2c83c78f373..8dcef6b53a9 100644
--- a/src/plugins/debugger/debuggermanager.cpp
+++ b/src/plugins/debugger/debuggermanager.cpp
@@ -239,8 +239,6 @@ void DebuggerManager::init()
m_breakHandler, SLOT(activateBreakpoint(int)));
connect(breakView, SIGNAL(breakpointDeleted(int)),
m_breakHandler, SLOT(removeBreakpoint(int)));
- connect(breakView, SIGNAL(settingsDialogRequested()),
- this, SIGNAL(settingsDialogRequested()));
connect(breakView, SIGNAL(breakpointSynchronizationRequested()),
this, SLOT(attemptBreakpointSynchronization()));
connect(m_breakHandler, SIGNAL(gotoLocation(QString,int,bool)),
@@ -295,10 +293,6 @@ void DebuggerManager::init()
this, SLOT(assignValueInDebugger(QString,QString)));
connect(localsView, SIGNAL(requestWatchExpression(QString)),
this, SLOT(watchExpression(QString)));
- connect(localsView, SIGNAL(settingsDialogRequested()),
- this, SIGNAL(settingsDialogRequested()));
- connect(localsView, SIGNAL(requestRecheckCustomDumperAvailability()),
- this, SLOT(recheckCustomDumperAvailability()));
// Watchers
QTreeView *watchersView = qobject_cast<QTreeView *>(m_watchersWindow);
@@ -317,10 +311,6 @@ void DebuggerManager::init()
this, SIGNAL(sessionValueRequested(QString,QVariant*)));
connect(m_watchHandler, SIGNAL(setSessionValueRequested(QString,QVariant)),
this, SIGNAL(setSessionValueRequested(QString,QVariant)));
- connect(watchersView, SIGNAL(settingsDialogRequested()),
- this, SIGNAL(settingsDialogRequested()));
- connect(watchersView, SIGNAL(requestRecheckCustomDumperAvailability()),
- this, SLOT(recheckCustomDumperAvailability()));
// Tooltip
QTreeView *tooltipView = qobject_cast<QTreeView *>(m_tooltipWindow);
@@ -480,6 +470,8 @@ void DebuggerManager::init()
connect(action(UseDumpers), SIGNAL(triggered(bool)),
this, SLOT(setUseDumpers(bool)));
+ connect(action(DebugDumpers), SIGNAL(triggered(bool)),
+ this, SLOT(setDebugDumpers(bool)));
}
void DebuggerManager::setDebuggerType(DebuggerType type)
@@ -1311,7 +1303,6 @@ void DebuggerManager::setDebugDumpers(bool on)
{
QTC_ASSERT(m_engine, return);
m_settings.m_debugDumpers = on;
- m_engine->setDebugDumpers(on);
}
void DebuggerManager::setSkipKnownFrames(bool on)
@@ -1426,17 +1417,6 @@ void DebuggerManager::fileOpen(const QString &fileName)
//////////////////////////////////////////////////////////////////////
//
-// Watch specific stuff
-//
-//////////////////////////////////////////////////////////////////////
-
-void DebuggerManager::recheckCustomDumperAvailability()
-{
- m_engine->recheckCustomDumperAvailability();
-}
-
-//////////////////////////////////////////////////////////////////////
-//
// Disassembler specific stuff
//
//////////////////////////////////////////////////////////////////////