diff options
author | Christian Kandeler <christian.kandeler@nokia.com> | 2012-03-06 12:31:42 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@nokia.com> | 2012-03-08 14:07:19 +0100 |
commit | 9a34b156c155fb5c6605dccb4c7b2d7e66f633fb (patch) | |
tree | f1ff8d4d98f2920d7026c36d9ad7b98427876f81 /src/plugins/remotelinux/remotelinuxrunconfigurationwidget.cpp | |
parent | 933592e6a795968d1b8f82fdce67d54a89beda8b (diff) | |
download | qt-creator-9a34b156c155fb5c6605dccb4c7b2d7e66f633fb.tar.gz |
Introduce the concept of an abstract device.
The idea is that all kinds of devices inherit from one abstract
base class and that they are all managed by one device manager,
who does not know about their specifics.
For now, the only concrete subclass is the LinuxDeviceConguration.
Change-Id: I31ff5586a0fdd6bcf8dcc0554bb2b91fe65b2f3f
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Diffstat (limited to 'src/plugins/remotelinux/remotelinuxrunconfigurationwidget.cpp')
-rw-r--r-- | src/plugins/remotelinux/remotelinuxrunconfigurationwidget.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/remotelinux/remotelinuxrunconfigurationwidget.cpp b/src/plugins/remotelinux/remotelinuxrunconfigurationwidget.cpp index 10bc98e890..375d7004be 100644 --- a/src/plugins/remotelinux/remotelinuxrunconfigurationwidget.cpp +++ b/src/plugins/remotelinux/remotelinuxrunconfigurationwidget.cpp @@ -34,12 +34,12 @@ #include "linuxdeviceconfiguration.h" #include "remotelinuxrunconfiguration.h" #include "remotelinuxenvironmentreader.h" -#include "remotelinuxsettingspages.h" #include "remotelinuxutils.h" #include <coreplugin/coreconstants.h> #include <coreplugin/icore.h> #include <projectexplorer/environmentwidget.h> +#include <projectexplorer/projectexplorerconstants.h> #include <qt4projectmanager/qt4buildconfiguration.h> #include <qt4projectmanager/qt4target.h> #include <utils/detailswidget.h> @@ -289,8 +289,9 @@ void RemoteLinuxRunConfigurationWidget::handleWorkingDirectoryChanged() void RemoteLinuxRunConfigurationWidget::showDeviceConfigurationsDialog(const QString &link) { if (link == QLatin1String("deviceconfig")) { - Core::ICore::showOptionsDialog(LinuxDeviceConfigurationsSettingsPage::pageCategory(), - LinuxDeviceConfigurationsSettingsPage::pageId()); + Core::ICore::showOptionsDialog( + QLatin1String(ProjectExplorer::Constants::DEVICE_SETTINGS_CATEGORY), + QLatin1String(ProjectExplorer::Constants::DEVICE_SETTINGS_PAGE_ID)); } else if (link == QLatin1String("debugger")) { Core::ICore::showOptionsDialog(QLatin1String("O.Debugger"), QLatin1String("M.Gdb")); |