forked from qt-creator/qt-creator
ProjectExplorer: Fully qualify signals of run control.
To be able to connect to them in the debugger namespace. Reviewed-by: dt Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
@@ -93,11 +93,11 @@ public slots:
|
|||||||
void projectRemoved();
|
void projectRemoved();
|
||||||
void coreAboutToClose();
|
void coreAboutToClose();
|
||||||
|
|
||||||
void appendApplicationOutput(RunControl *rc, const QString &out,
|
void appendApplicationOutput(ProjectExplorer::RunControl *rc, const QString &out,
|
||||||
bool onStdErr);
|
bool onStdErr);
|
||||||
void appendApplicationOutputInline(RunControl *rc, const QString &out,
|
void appendApplicationOutputInline(ProjectExplorer::RunControl *rc, const QString &out,
|
||||||
bool onStdErr);
|
bool onStdErr);
|
||||||
void appendMessage(RunControl *rc, const QString &out, bool isError);
|
void appendMessage(ProjectExplorer::RunControl *rc, const QString &out, bool isError);
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void reRunRunControl();
|
void reRunRunControl();
|
||||||
|
|||||||
@@ -1264,12 +1264,12 @@ void ProjectExplorerPlugin::startRunControl(RunControl *runControl, const QStrin
|
|||||||
if (projectExplorerSettings().cleanOldAppOutput)
|
if (projectExplorerSettings().cleanOldAppOutput)
|
||||||
d->m_outputPane->clearContents();
|
d->m_outputPane->clearContents();
|
||||||
|
|
||||||
connect(runControl, SIGNAL(addToOutputWindow(RunControl *, const QString &, bool)),
|
connect(runControl, SIGNAL(addToOutputWindow(ProjectExplorer::RunControl*,QString,bool)),
|
||||||
d->m_outputPane, SLOT(appendApplicationOutput(RunControl*,const QString &, bool)));
|
d->m_outputPane, SLOT(appendApplicationOutput(ProjectExplorer::RunControl*,QString, bool)));
|
||||||
connect(runControl, SIGNAL(addToOutputWindowInline(RunControl *, const QString &, bool)),
|
connect(runControl, SIGNAL(addToOutputWindowInline(ProjectExplorer::RunControl*,QString,bool)),
|
||||||
d->m_outputPane, SLOT(appendApplicationOutputInline(RunControl*,const QString &, bool)));
|
d->m_outputPane, SLOT(appendApplicationOutputInline(ProjectExplorer::RunControl*,QString,bool)));
|
||||||
connect(runControl, SIGNAL(appendMessage(RunControl*,QString,bool)),
|
connect(runControl, SIGNAL(appendMessage(ProjectExplorer::RunControl*,QString,bool)),
|
||||||
d->m_outputPane, SLOT(appendMessage(RunControl *, const QString &, bool)));
|
d->m_outputPane, SLOT(appendMessage(ProjectExplorer::RunControl*,QString,bool)));
|
||||||
|
|
||||||
connect(runControl, SIGNAL(finished()),
|
connect(runControl, SIGNAL(finished()),
|
||||||
this, SLOT(runControlFinished()));
|
this, SLOT(runControlFinished()));
|
||||||
|
|||||||
@@ -173,9 +173,9 @@ public:
|
|||||||
QString runMode() const;
|
QString runMode() const;
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void addToOutputWindow(RunControl *, const QString &line, bool onStdErr);
|
void addToOutputWindow(ProjectExplorer::RunControl *, const QString &line, bool onStdErr);
|
||||||
void addToOutputWindowInline(RunControl *, const QString &line, bool onStdErr);
|
void addToOutputWindowInline(ProjectExplorer::RunControl *, const QString &line, bool onStdErr);
|
||||||
void appendMessage(RunControl *, const QString &error, bool isError);
|
void appendMessage(ProjectExplorer::RunControl *, const QString &error, bool isError);
|
||||||
void started();
|
void started();
|
||||||
void finished();
|
void finished();
|
||||||
|
|
||||||
|
|||||||
@@ -457,8 +457,8 @@ MaemoDebugRunControl::MaemoDebugRunControl(RunConfiguration *runConfiguration)
|
|||||||
|
|
||||||
MaemoDebugRunControl::~MaemoDebugRunControl()
|
MaemoDebugRunControl::~MaemoDebugRunControl()
|
||||||
{
|
{
|
||||||
disconnect(SIGNAL(addToOutputWindow(RunControl*,QString, bool)));
|
disconnect(SIGNAL(addToOutputWindow(ProjectExplorer::RunControl*,QString, bool)));
|
||||||
disconnect(SIGNAL(addToOutputWindowInline(RunControl*,QString, bool)));
|
disconnect(SIGNAL(addToOutputWindowInline(ProjectExplorer::RunControl*,QString, bool)));
|
||||||
stop();
|
stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -947,8 +947,8 @@ void S60DeviceDebugRunControl::handleLauncherFinished()
|
|||||||
SLOT(debuggingFinished()),
|
SLOT(debuggingFinished()),
|
||||||
Qt::QueuedConnection);
|
Qt::QueuedConnection);
|
||||||
connect(m_debuggerRunControl,
|
connect(m_debuggerRunControl,
|
||||||
SIGNAL(addToOutputWindowInline(ProjectExplorer::RunControl,QString,bool)),
|
SIGNAL(addToOutputWindowInline(ProjectExplorer::RunControl*,QString,bool)),
|
||||||
SIGNAL(addToOutputWindowInline(ProjectExplorer::RunControl,QString,bool)),
|
SIGNAL(addToOutputWindowInline(ProjectExplorer::RunControl*,QString,bool)),
|
||||||
Qt::QueuedConnection);
|
Qt::QueuedConnection);
|
||||||
|
|
||||||
DebuggerPlugin::startDebugger(m_debuggerRunControl);
|
DebuggerPlugin::startDebugger(m_debuggerRunControl);
|
||||||
|
|||||||
Reference in New Issue
Block a user