Commit 4c655cdd authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

ProjectExplorer: Fully qualify signals of run control.



To be able to connect to them in the debugger namespace.
Reviewed-by: dt
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@nokia.com>
parent bc0d5e38
......@@ -93,11 +93,11 @@ public slots:
void projectRemoved();
void coreAboutToClose();
void appendApplicationOutput(RunControl *rc, const QString &out,
void appendApplicationOutput(ProjectExplorer::RunControl *rc, const QString &out,
bool onStdErr);
void appendApplicationOutputInline(RunControl *rc, const QString &out,
void appendApplicationOutputInline(ProjectExplorer::RunControl *rc, const QString &out,
bool onStdErr);
void appendMessage(RunControl *rc, const QString &out, bool isError);
void appendMessage(ProjectExplorer::RunControl *rc, const QString &out, bool isError);
private slots:
void reRunRunControl();
......
......@@ -1264,12 +1264,12 @@ void ProjectExplorerPlugin::startRunControl(RunControl *runControl, const QStrin
if (projectExplorerSettings().cleanOldAppOutput)
d->m_outputPane->clearContents();
connect(runControl, SIGNAL(addToOutputWindow(RunControl *, const QString &, bool)),
d->m_outputPane, SLOT(appendApplicationOutput(RunControl*,const QString &, bool)));
connect(runControl, SIGNAL(addToOutputWindowInline(RunControl *, const QString &, bool)),
d->m_outputPane, SLOT(appendApplicationOutputInline(RunControl*,const QString &, bool)));
connect(runControl, SIGNAL(appendMessage(RunControl*,QString,bool)),
d->m_outputPane, SLOT(appendMessage(RunControl *, const QString &, bool)));
connect(runControl, SIGNAL(addToOutputWindow(ProjectExplorer::RunControl*,QString,bool)),
d->m_outputPane, SLOT(appendApplicationOutput(ProjectExplorer::RunControl*,QString, bool)));
connect(runControl, SIGNAL(addToOutputWindowInline(ProjectExplorer::RunControl*,QString,bool)),
d->m_outputPane, SLOT(appendApplicationOutputInline(ProjectExplorer::RunControl*,QString,bool)));
connect(runControl, SIGNAL(appendMessage(ProjectExplorer::RunControl*,QString,bool)),
d->m_outputPane, SLOT(appendMessage(ProjectExplorer::RunControl*,QString,bool)));
connect(runControl, SIGNAL(finished()),
this, SLOT(runControlFinished()));
......
......@@ -173,9 +173,9 @@ public:
QString runMode() const;
signals:
void addToOutputWindow(RunControl *, const QString &line, bool onStdErr);
void addToOutputWindowInline(RunControl *, const QString &line, bool onStdErr);
void appendMessage(RunControl *, const QString &error, bool isError);
void addToOutputWindow(ProjectExplorer::RunControl *, const QString &line, bool onStdErr);
void addToOutputWindowInline(ProjectExplorer::RunControl *, const QString &line, bool onStdErr);
void appendMessage(ProjectExplorer::RunControl *, const QString &error, bool isError);
void started();
void finished();
......
......@@ -457,8 +457,8 @@ MaemoDebugRunControl::MaemoDebugRunControl(RunConfiguration *runConfiguration)
MaemoDebugRunControl::~MaemoDebugRunControl()
{
disconnect(SIGNAL(addToOutputWindow(RunControl*,QString, bool)));
disconnect(SIGNAL(addToOutputWindowInline(RunControl*,QString, bool)));
disconnect(SIGNAL(addToOutputWindow(ProjectExplorer::RunControl*,QString, bool)));
disconnect(SIGNAL(addToOutputWindowInline(ProjectExplorer::RunControl*,QString, bool)));
stop();
}
......
......@@ -947,8 +947,8 @@ void S60DeviceDebugRunControl::handleLauncherFinished()
SLOT(debuggingFinished()),
Qt::QueuedConnection);
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);
DebuggerPlugin::startDebugger(m_debuggerRunControl);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment