forked from qt-creator/qt-creator
Device: Add create method to IDeviceFactory
Add a create method to the IDeviceFactory and make it replace the createWizard method. The create method may or may not pop up a wizard. Remove IDeviceWizard as suggested by Christian. This patch also adds a canCreate() method to check whether a factory should be asked to create something or not. Change-Id: Iaf16aa407530022e8f3804093b58dc3f120f7599 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
@@ -60,7 +60,7 @@ public:
|
||||
} // namespace Internal
|
||||
|
||||
GenericLinuxDeviceConfigurationWizard::GenericLinuxDeviceConfigurationWizard(QWidget *parent)
|
||||
: IDeviceWizard(parent),
|
||||
: QWizard(parent),
|
||||
d(new Internal::GenericLinuxDeviceConfigurationWizardPrivate(this))
|
||||
{
|
||||
setWindowTitle(tr("New Generic Linux Device Configuration Setup"));
|
||||
|
||||
Reference in New Issue
Block a user