diff options
author | Christian Kandeler <christian.kandeler@nokia.com> | 2012-08-29 15:52:47 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@nokia.com> | 2012-08-29 16:51:15 +0200 |
commit | 42c965d17d07c7cbb9de5b4cbf414afb8c504572 (patch) | |
tree | f30ba5aaf6bf373260b7aac8767435462e13cd8f /src/plugins/remotelinux | |
parent | a92694596e804b2fc551d82f62d4ab5ab797130b (diff) | |
download | qt-creator-42c965d17d07c7cbb9de5b4cbf414afb8c504572.tar.gz |
ProjectExplorer: Add signal to inform about deployment data changes.
Also one for changes to the application target list.
This re-enables the RemoteLinux plugin's ability to react to changes in
project files, which has been broken by the removal of the
buildSystemEvaluated() signal from the Project class in
I50249b186917cd3a4f399f187f09ac8428ab6f9e.
Change-Id: I380db69c9396b99423ff305096d4b9f4f17d3075
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Diffstat (limited to 'src/plugins/remotelinux')
3 files changed, 4 insertions, 5 deletions
diff --git a/src/plugins/remotelinux/abstractpackagingstep.cpp b/src/plugins/remotelinux/abstractpackagingstep.cpp index f002f6988b..8dcb4f7353 100644 --- a/src/plugins/remotelinux/abstractpackagingstep.cpp +++ b/src/plugins/remotelinux/abstractpackagingstep.cpp @@ -78,7 +78,7 @@ void AbstractPackagingStep::ctor() SLOT(handleBuildConfigurationChanged())); handleBuildConfigurationChanged(); - connect(project(), SIGNAL(buildSystemEvaluated()), SLOT(setDeploymentDataModified())); + connect(target(), SIGNAL(deploymentDataChanged()), SLOT(setDeploymentDataModified())); setDeploymentDataModified(); connect(this, SIGNAL(unmodifyDeploymentData()), this, SLOT(setDeploymentDataUnmodified())); diff --git a/src/plugins/remotelinux/remotelinuxdeployconfigurationwidget.cpp b/src/plugins/remotelinux/remotelinuxdeployconfigurationwidget.cpp index d5c951c529..dfaa1caf5c 100644 --- a/src/plugins/remotelinux/remotelinuxdeployconfigurationwidget.cpp +++ b/src/plugins/remotelinux/remotelinuxdeployconfigurationwidget.cpp @@ -73,8 +73,7 @@ void RemoteLinuxDeployConfigurationWidget::init(DeployConfiguration *dc) d->deployConfiguration = qobject_cast<RemoteLinuxDeployConfiguration *>(dc); QTC_ASSERT(d->deployConfiguration, return); - connect(dc->target()->project(), SIGNAL(buildSystemEvaluated()), - SLOT(updateDeploymentDataModel())); + connect(dc->target(), SIGNAL(deploymentDataChanged()), SLOT(updateDeploymentDataModel())); updateDeploymentDataModel(); } diff --git a/src/plugins/remotelinux/remotelinuxrunconfiguration.cpp b/src/plugins/remotelinux/remotelinuxrunconfiguration.cpp index 07650bfc0e..eb02382723 100644 --- a/src/plugins/remotelinux/remotelinuxrunconfiguration.cpp +++ b/src/plugins/remotelinux/remotelinuxrunconfiguration.cpp @@ -126,8 +126,8 @@ void RemoteLinuxRunConfiguration::init() setDefaultDisplayName(defaultDisplayName()); debuggerAspect()->suppressQmlDebuggingSpinbox(); - Project *pro = target()->project(); - connect(pro, SIGNAL(buildSystemEvaluated()), SLOT(handleBuildSystemDataUpdated())); + connect(target(), SIGNAL(deploymentDataChanged()), SLOT(handleBuildSystemDataUpdated())); + connect(target(), SIGNAL(applicationTargetsChanged()), SLOT(handleBuildSystemDataUpdated())); connect(target(), SIGNAL(profileChanged()), this, SLOT(handleBuildSystemDataUpdated())); // Handles device changes, etc. } |