forked from qt-creator/qt-creator
debugger: code cosmetics
This commit is contained in:
@@ -239,7 +239,6 @@ public:
|
|||||||
virtual QAbstractItemModel *localsModel() const;
|
virtual QAbstractItemModel *localsModel() const;
|
||||||
virtual QAbstractItemModel *watchersModel() const;
|
virtual QAbstractItemModel *watchersModel() const;
|
||||||
virtual QAbstractItemModel *returnModel() const;
|
virtual QAbstractItemModel *returnModel() const;
|
||||||
//QAbstractItemModel *snapshotModel() const;
|
|
||||||
virtual QAbstractItemModel *sourceFilesModel() const;
|
virtual QAbstractItemModel *sourceFilesModel() const;
|
||||||
|
|
||||||
void progressPing();
|
void progressPing();
|
||||||
|
|||||||
@@ -1560,35 +1560,31 @@ bool DebuggerPluginPrivate::initialize(const QStringList &arguments, QString *er
|
|||||||
m_reverseToolButton = 0;
|
m_reverseToolButton = 0;
|
||||||
|
|
||||||
// Handling of external applications.
|
// Handling of external applications.
|
||||||
m_startExternalAction = new QAction(this);
|
act = m_startExternalAction = new QAction(this);
|
||||||
m_startExternalAction->setText(tr("Start and Debug External Application..."));
|
act->setText(tr("Start and Debug External Application..."));
|
||||||
connect(m_startExternalAction, SIGNAL(triggered()),
|
connect(act, SIGNAL(triggered()), SLOT(startExternalApplication()));
|
||||||
SLOT(startExternalApplication()));
|
|
||||||
|
|
||||||
m_attachExternalAction = new QAction(this);
|
act = m_attachExternalAction = new QAction(this);
|
||||||
m_attachExternalAction->setText(tr("Attach to Running External Application..."));
|
act->setText(tr("Attach to Running External Application..."));
|
||||||
connect(m_attachExternalAction, SIGNAL(triggered()),
|
connect(act, SIGNAL(triggered()), SLOT(attachExternalApplication()));
|
||||||
SLOT(attachExternalApplication()));
|
|
||||||
|
|
||||||
m_attachCoreAction = new QAction(this);
|
act = m_attachCoreAction = new QAction(this);
|
||||||
m_attachCoreAction->setText(tr("Attach to Core..."));
|
act->setText(tr("Attach to Core..."));
|
||||||
connect(m_attachCoreAction, SIGNAL(triggered()), SLOT(attachCore()));
|
connect(act, SIGNAL(triggered()), SLOT(attachCore()));
|
||||||
|
|
||||||
m_attachTcfAction = new QAction(this);
|
act = m_attachTcfAction = new QAction(this);
|
||||||
m_attachTcfAction->setText(tr("Attach to Running Tcf Agent..."));
|
act->setText(tr("Attach to Running Tcf Agent..."));
|
||||||
m_attachTcfAction->setToolTip(tr("This attaches to a running "
|
act->setToolTip(tr("This attaches to a running "
|
||||||
"'Target Communication Framework' agent."));
|
"'Target Communication Framework' agent."));
|
||||||
connect(m_attachTcfAction, SIGNAL(triggered()), SLOT(attachRemoteTcf()));
|
connect(act, SIGNAL(triggered()), SLOT(attachRemoteTcf()));
|
||||||
|
|
||||||
m_startRemoteAction = new QAction(this);
|
act = m_startRemoteAction = new QAction(this);
|
||||||
m_startRemoteAction->setText(tr("Start and Attach to Remote Application..."));
|
act->setText(tr("Start and Attach to Remote Application..."));
|
||||||
connect(m_startRemoteAction, SIGNAL(triggered()),
|
connect(act, SIGNAL(triggered()), SLOT(startRemoteApplication()));
|
||||||
SLOT(startRemoteApplication()));
|
|
||||||
|
|
||||||
m_detachAction = new QAction(this);
|
act = m_detachAction = new QAction(this);
|
||||||
m_detachAction->setText(tr("Detach Debugger"));
|
act->setText(tr("Detach Debugger"));
|
||||||
connect(m_detachAction, SIGNAL(triggered()),
|
connect(act, SIGNAL(triggered()), SLOT(handleExecDetach()));
|
||||||
SLOT(handleExecDetach()));
|
|
||||||
|
|
||||||
|
|
||||||
Core::Command *cmd = 0;
|
Core::Command *cmd = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user