GenericLinuxDeviceConfigurationWizard: Rename into SshDeviceWizard

Change-Id: I67baad931c524376de6ae67a361db6866a910317
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2023-07-21 01:22:39 +02:00
parent 82f39892f9
commit d8deb81e3f
4 changed files with 5 additions and 11 deletions

View File

@@ -95,8 +95,7 @@ QnxDeviceFactory::QnxDeviceFactory() : IDeviceFactory(Constants::QNX_QNX_OS_TYPE
setConstructionFunction([] { return IDevice::Ptr(new QnxDevice); }); setConstructionFunction([] { return IDevice::Ptr(new QnxDevice); });
setCreator([]() -> IDevice::Ptr { setCreator([]() -> IDevice::Ptr {
const IDevice::Ptr device = IDevice::Ptr(new QnxDevice); const IDevice::Ptr device = IDevice::Ptr(new QnxDevice);
GenericLinuxDeviceConfigurationWizard wizard( SshDeviceWizard wizard(Tr::tr("New QNX Device Configuration Setup"), device);
Tr::tr("New QNX Device Configuration Setup"), device);
if (wizard.exec() != QDialog::Accepted) if (wizard.exec() != QDialog::Accepted)
return {}; return {};
return device; return device;

View File

@@ -208,8 +208,7 @@ private:
QLabel m_infoLabel; QLabel m_infoLabel;
}; };
GenericLinuxDeviceConfigurationWizard::GenericLinuxDeviceConfigurationWizard( SshDeviceWizard::SshDeviceWizard(const QString &title, const ProjectExplorer::IDevicePtr &device)
const QString &title, const ProjectExplorer::IDevicePtr &device)
: Wizard(Core::ICore::dialogParent()) : Wizard(Core::ICore::dialogParent())
{ {
setWindowTitle(title); setWindowTitle(title);

View File

@@ -10,13 +10,10 @@
namespace RemoteLinux { namespace RemoteLinux {
class REMOTELINUX_EXPORT GenericLinuxDeviceConfigurationWizard : public Utils::Wizard class REMOTELINUX_EXPORT SshDeviceWizard : public Utils::Wizard
{ {
Q_OBJECT
public: public:
GenericLinuxDeviceConfigurationWizard(const QString &title, SshDeviceWizard(const QString &title, const ProjectExplorer::IDevicePtr &device);
const ProjectExplorer::IDevicePtr &device);
}; };
} // namespace RemoteLinux } // namespace RemoteLinux

View File

@@ -1484,8 +1484,7 @@ LinuxDeviceFactory::LinuxDeviceFactory()
setQuickCreationAllowed(true); setQuickCreationAllowed(true);
setCreator([]() -> IDevice::Ptr { setCreator([]() -> IDevice::Ptr {
const IDevice::Ptr device = LinuxDevice::create(); const IDevice::Ptr device = LinuxDevice::create();
GenericLinuxDeviceConfigurationWizard wizard( SshDeviceWizard wizard(Tr::tr("New Remote Linux Device Configuration Setup"), device);
Tr::tr("New Remote Linux Device Configuration Setup"), device);
if (wizard.exec() != QDialog::Accepted) if (wizard.exec() != QDialog::Accepted)
return {}; return {};
return device; return device;