remotelinux: rename LinuxDeviceConfiguration to LinuxDevice

Change-Id: I7e8a99d3339d2040a23e4e78816b13b57197dcdb
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
hjk
2012-07-27 13:31:13 +02:00
committed by Christian Kandeler
parent c80af2a40c
commit 6460254931
41 changed files with 124 additions and 136 deletions

View File

@@ -26,13 +26,15 @@
**
**
**************************************************************************/
#include "genericlinuxdeviceconfigurationwizard.h"
#include "genericlinuxdeviceconfigurationwizardpages.h"
#include "linuxdeviceconfiguration.h"
#include "linuxdevice.h"
#include "linuxdevicetestdialog.h"
#include "linuxdevicetester.h"
#include "remotelinux_constants.h"
#include <utils/portlist.h>
using namespace ProjectExplorer;
@@ -84,13 +86,13 @@ IDevice::Ptr GenericLinuxDeviceConfigurationWizard::device()
sshParams.password = d->setupPage.password();
else
sshParams.privateKeyFile = d->setupPage.privateKeyFilePath();
IDevice::Ptr devConf = LinuxDeviceConfiguration::create(d->setupPage.configurationName(),
IDevice::Ptr device = LinuxDevice::create(d->setupPage.configurationName(),
Core::Id(Constants::GenericLinuxOsType), IDevice::Hardware);
devConf->setFreePorts(Utils::PortList::fromString(QLatin1String("10000-10100")));
devConf->setSshParameters(sshParams);
LinuxDeviceTestDialog dlg(devConf, new GenericLinuxDeviceTester(this), this);
device->setFreePorts(Utils::PortList::fromString(QLatin1String("10000-10100")));
device->setSshParameters(sshParams);
LinuxDeviceTestDialog dlg(device, new GenericLinuxDeviceTester(this), this);
dlg.exec();
return devConf;
return device;
}
} // namespace RemoteLinux