forked from qt-creator/qt-creator
GenericLinuxDeviceConfigurationWizard: Rename into SshDeviceWizard
Change-Id: I67baad931c524376de6ae67a361db6866a910317 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -95,8 +95,7 @@ QnxDeviceFactory::QnxDeviceFactory() : IDeviceFactory(Constants::QNX_QNX_OS_TYPE
|
||||
setConstructionFunction([] { return IDevice::Ptr(new QnxDevice); });
|
||||
setCreator([]() -> IDevice::Ptr {
|
||||
const IDevice::Ptr device = IDevice::Ptr(new QnxDevice);
|
||||
GenericLinuxDeviceConfigurationWizard wizard(
|
||||
Tr::tr("New QNX Device Configuration Setup"), device);
|
||||
SshDeviceWizard wizard(Tr::tr("New QNX Device Configuration Setup"), device);
|
||||
if (wizard.exec() != QDialog::Accepted)
|
||||
return {};
|
||||
return device;
|
||||
|
@@ -208,8 +208,7 @@ private:
|
||||
QLabel m_infoLabel;
|
||||
};
|
||||
|
||||
GenericLinuxDeviceConfigurationWizard::GenericLinuxDeviceConfigurationWizard(
|
||||
const QString &title, const ProjectExplorer::IDevicePtr &device)
|
||||
SshDeviceWizard::SshDeviceWizard(const QString &title, const ProjectExplorer::IDevicePtr &device)
|
||||
: Wizard(Core::ICore::dialogParent())
|
||||
{
|
||||
setWindowTitle(title);
|
||||
|
@@ -10,13 +10,10 @@
|
||||
|
||||
namespace RemoteLinux {
|
||||
|
||||
class REMOTELINUX_EXPORT GenericLinuxDeviceConfigurationWizard : public Utils::Wizard
|
||||
class REMOTELINUX_EXPORT SshDeviceWizard : public Utils::Wizard
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
GenericLinuxDeviceConfigurationWizard(const QString &title,
|
||||
const ProjectExplorer::IDevicePtr &device);
|
||||
SshDeviceWizard(const QString &title, const ProjectExplorer::IDevicePtr &device);
|
||||
};
|
||||
|
||||
} // namespace RemoteLinux
|
||||
|
@@ -1484,8 +1484,7 @@ LinuxDeviceFactory::LinuxDeviceFactory()
|
||||
setQuickCreationAllowed(true);
|
||||
setCreator([]() -> IDevice::Ptr {
|
||||
const IDevice::Ptr device = LinuxDevice::create();
|
||||
GenericLinuxDeviceConfigurationWizard wizard(
|
||||
Tr::tr("New Remote Linux Device Configuration Setup"), device);
|
||||
SshDeviceWizard wizard(Tr::tr("New Remote Linux Device Configuration Setup"), device);
|
||||
if (wizard.exec() != QDialog::Accepted)
|
||||
return {};
|
||||
return device;
|
||||
|
Reference in New Issue
Block a user