summaryrefslogtreecommitdiff
path: root/src/plugins/remotelinux/remotelinuxrunconfiguration.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@nokia.com>2011-06-01 10:41:00 +0200
committerChristian Kandeler <christian.kandeler@nokia.com>2011-06-01 10:45:26 +0200
commite00c24eb68c6cbe646144d9cc78218b88bbdbb43 (patch)
tree522c42667eb0d773e459176512aca715091b82e0 /src/plugins/remotelinux/remotelinuxrunconfiguration.h
parent4b393e70864a99dfd4871b32863d250b7fbae10a (diff)
downloadqt-creator-e00c24eb68c6cbe646144d9cc78218b88bbdbb43.tar.gz
RemoteLinux: Refactor the way the enabled state is updated.
Until now, the widget had some of the knowledge and passed it on to the run configuration. Now the flow of information is strictly the other way around. Change-Id: I7489910d8c48ad8aa63921ec861e429ea0d2949f Reviewed-on: http://codereview.qt.nokia.com/294 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
Diffstat (limited to 'src/plugins/remotelinux/remotelinuxrunconfiguration.h')
-rw-r--r--src/plugins/remotelinux/remotelinuxrunconfiguration.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/remotelinux/remotelinuxrunconfiguration.h b/src/plugins/remotelinux/remotelinuxrunconfiguration.h
index ba50b85091..a747fdffa6 100644
--- a/src/plugins/remotelinux/remotelinuxrunconfiguration.h
+++ b/src/plugins/remotelinux/remotelinuxrunconfiguration.h
@@ -101,7 +101,6 @@ public:
QSharedPointer<const LinuxDeviceConfiguration> deviceConfig() const;
PortList freePorts() const;
bool useRemoteGdb() const;
- void updateFactoryState() { emit isEnabledChanged(isEnabled()); }
DebuggingType debuggingType() const;
QString gdbCmd() const;
@@ -124,10 +123,12 @@ public:
signals:
void deviceConfigurationChanged(ProjectExplorer::Target *target);
+ void deploySpecsChanged();
void targetInformationChanged() const;
void baseEnvironmentChanged();
void systemEnvironmentChanged();
void userEnvironmentChangesChanged(const QList<Utils::EnvironmentItem> &diff);
+ void remoteMountsChanged();
protected:
RemoteLinuxRunConfiguration(Qt4ProjectManager::Qt4BaseTarget *parent,
@@ -140,6 +141,9 @@ private slots:
void proFileInvalidated(Qt4ProjectManager::Qt4ProFileNode *pro);
void updateDeviceConfigurations();
void handleDeployConfigChanged();
+ void handleDeployablesUpdated();
+ void handleRemoteMountsChanged();
+ void updateEnabledState() { emit isEnabledChanged(isEnabled()); }
private:
void init();