aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/remotelinux/genericlinuxdeviceconfigurationwizard.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2012-03-26 14:01:58 +0200
committerTobias Hunger <tobias.hunger@nokia.com>2012-04-12 15:35:23 +0200
commit1f4caf53994fa57c8756d809a0b8468139a7b5b0 (patch)
treea5fb4a429af24cf5677ef028e457c03d5032ec16 /src/plugins/remotelinux/genericlinuxdeviceconfigurationwizard.h
parent866cc421542e4ea746526e7a04f3795784db8b43 (diff)
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>
Diffstat (limited to 'src/plugins/remotelinux/genericlinuxdeviceconfigurationwizard.h')
-rw-r--r--src/plugins/remotelinux/genericlinuxdeviceconfigurationwizard.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/remotelinux/genericlinuxdeviceconfigurationwizard.h b/src/plugins/remotelinux/genericlinuxdeviceconfigurationwizard.h
index a599f5edb2..7a9772c8a8 100644
--- a/src/plugins/remotelinux/genericlinuxdeviceconfigurationwizard.h
+++ b/src/plugins/remotelinux/genericlinuxdeviceconfigurationwizard.h
@@ -33,15 +33,16 @@
#include "remotelinux_export.h"
-#include <projectexplorer/devicesupport/idevicewizard.h>
+#include <projectexplorer/devicesupport/idevice.h>
+
+#include <QWizard>
namespace RemoteLinux {
namespace Internal {
class GenericLinuxDeviceConfigurationWizardPrivate;
} // namespace Internal
-class REMOTELINUX_EXPORT GenericLinuxDeviceConfigurationWizard
- : public ProjectExplorer::IDeviceWizard
+class REMOTELINUX_EXPORT GenericLinuxDeviceConfigurationWizard : public QWizard
{
Q_OBJECT