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 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);
|
||||
|
||||
Reference in New Issue
Block a user