~timo-jyrinki/ubuntu/saucy/qtcreator/add_workaround_back

« back to all changes in this revision

Viewing changes to src/plugins/analyzerbase/analyzerruncontrol.cpp

  • Committer: Package Import Robot
  • Author(s): Felix Geyer
  • Date: 2011-11-18 16:18:49 UTC
  • mfrom: (1.1.16)
  • Revision ID: package-import@ubuntu.com-20111118161849-5t8jugl6egvs4iev
Tags: 2.4.0~rc-0ubuntu1
* New upstream release candidate.
* Drop 04_fix_ftbfs_arm_qreal.diff, merged upstream.
* Refresh 01_fix_installation_paths.diff.
* Compress binary packages with xz.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
**
7
7
** Author: Andreas Hartmetz, KDAB (andreas.hartmetz@kdab.com)
8
8
**
9
 
** Contact: Nokia Corporation (info@qt.nokia.com)
 
9
** Contact: Nokia Corporation (qt-info@nokia.com)
10
10
**
11
11
**
12
12
** GNU Lesser General Public License Usage
28
28
** conditions contained in a signed written agreement between you and Nokia.
29
29
**
30
30
** If you have questions regarding the use of this file, please contact
31
 
** Nokia at info@qt.nokia.com.
 
31
** Nokia at qt-info@nokia.com.
32
32
**
33
33
**************************************************************************/
34
34
 
94
94
            SLOT(addTask(ProjectExplorer::Task::TaskType,QString,QString,int)));
95
95
    connect(d->m_engine, SIGNAL(finished()),
96
96
            SLOT(engineFinished()));
97
 
    connect(this, SIGNAL(finished()), SLOT(runControlFinished()), Qt::QueuedConnection);
98
97
}
99
98
 
100
99
AnalyzerRunControl::~AnalyzerRunControl()
114
113
        return;
115
114
    }
116
115
 
 
116
    AnalyzerManager::handleToolStarted();
 
117
 
117
118
    // clear about-to-be-outdated tasks
118
119
    ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance();
119
120
    TaskHub *hub = pm->getObject<TaskHub>();
145
146
void AnalyzerRunControl::engineFinished()
146
147
{
147
148
    d->m_isRunning = false;
 
149
    AnalyzerManager::handleToolFinished();
148
150
    emit finished();
149
151
}
150
152
 
151
 
void AnalyzerRunControl::runControlFinished()
152
 
{
153
 
    AnalyzerManager::handleToolFinished();
154
 
}
155
 
 
156
153
bool AnalyzerRunControl::isRunning() const
157
154
{
158
155
    return d->m_isRunning;