summaryrefslogtreecommitdiff
path: root/src/plugins/madde/maddedeviceconfigurationfactory.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Incremented year in copyright infov2.6.2Robert Loehning2013-01-291-1/+1
| | | | | Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Adjust license headershjk2012-10-051-21/+20
| | | | | Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* use new id comparison operators to reduce line noise and save cycleshjk2012-08-061-1/+1
| | | | | Change-Id: I2e7d81a4efb75877901d29964df4f71314e951b4 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Madde: Remove support for generic MeeGo.Christian Kandeler2012-08-011-3/+2
| | | | | | | | | Platform is dead, no known users, not tested in ages (and no resources to do so). Change-Id: I6f4f913d9379010a3d4abc2728d9ab4425a32bc3 Reviewed-by: Robin Burchell <robin+qt@viroteck.net> Reviewed-by: hjk <qthjk@ovi.com>
* Contact -> qt-project.orgEike Ziller2012-07-191-3/+1
| | | | | Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* DeviceFactory: Allow for querying supported device typesTobias Hunger2012-05-301-6/+6
| | | | | | | | | | | | Allow to query the DeviceFactory for device types it can create as well as the display names to use for those types. Also allow to create any of the supported device types. The MaddeDeviceFactory makes use of the information to set the correct type in the wizard. Change-Id: I8c05ecd467e5bb1b151a84a8d62ef98a57849605 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
* Device support: Use Core::Id for device type.Christian Kandeler2012-05-161-3/+3
| | | | | Change-Id: Ic51f6239a34ad752064d7ee6b6f48a9851311135 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Device Support: Add canRestore() to device factory.Christian Kandeler2012-04-181-8/+9
| | | | | | | | | | | | | Also get rid of supportsDeviceType(), which is no longer needed now that most services live in IDevice itself. The new approach is more flexible as well, allowing factories to refuse loading a device even if they know its type (e.g. because it is no longer relevant). We also rename loadDevice() to restore(), because that is more exact and is also the name that is being used elsewhere in QtCreator. Change-Id: I51f57c118a048c1a781a55a94966d554d7aed7a2 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Device Support: Fix memory leaks.Christian Kandeler2012-04-131-3/+3
| | | | | | | Introduced by refactoring in Iaf16aa407530022e8f3804093b58dc3f120f7599. Change-Id: I98e45048aba1a8046158ca465fbc2724700edd39 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Device: Add create method to IDeviceFactoryTobias Hunger2012-04-121-2/+10
| | | | | | | | | | | | | 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>
* Device Support: Move some functions from IDeviceFactory to IDevice.Christian Kandeler2012-04-101-64/+0
| | | | | | | | | | Now that we have a polymorphic device class, we don't need to attach all the virtual functions to the factory anymore. In addition, the isUserEditable() function is gone, because it is no longer needed in the presence of device-specific widgets. Change-Id: Ie8f0be95653cb83e1618885b08cdd2aacf5dda59 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Madde: Introduce new class MaddeDevice.Christian Kandeler2012-04-051-3/+3
| | | | | | | | This is needed for an upcoming change that will move a number of virtual functions from IDeviceFactory to IDevice. Change-Id: I3658c057583853359b3f0e901f5db78502e1a993 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Introduce the concept of an abstract device.Christian Kandeler2012-03-081-10/+22
| | | | | | | | | | The idea is that all kinds of devices inherit from one abstract base class and that they are all managed by one device manager, who does not know about their specifics. For now, the only concrete subclass is the LinuxDeviceConguration. Change-Id: I31ff5586a0fdd6bcf8dcc0554bb2b91fe65b2f3f Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* RemoteLinux: More preparations for introducing an abstract device class.Christian Kandeler2012-03-071-7/+7
| | | | | | | | | | | | | - Introduce clone() method. - Rename "osType" to "type" and "deviceType" to "machineType". - Move machine type display out of generic settings widget. - Put only immutable attributes into the device constructor and set the others via setters. As part of this, also give the SshConnectionParameters a default proxy type. The necessity to give one to the constructor explicitly was for historical reasons. Change-Id: I84757b1b2d6371544b9ab1f3290973e5498176ce Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* Extract the device specific settings for linux device.Nicolas Arnaud-Cormos2012-02-201-0/+8
| | | | | | | | The LinuxConfigFactory has now a new pure virtual method to create the widget for the device specific settings. It allows new device to create their own settings page. Change-Id: Ie14df043fdef088b0e6e3b1e08b5d0d1863f76e5 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
* Long live the king!hjk2012-01-261-1/+1
| | | | | Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* Revert "Remote Linux: Rework device testing"Christian Kandeler2011-12-211-23/+6
| | | | | | | | | This reverts commit 934c067ddf365c6f12b1e4a1e431f27610b32f7d, because it breaks running remote Linux applications due to buggy refactoring of the remote ports gatherer. Change-Id: I15fd8d4f3e76452a8c5c735316991bd00900444f Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
* Remote Linux: Rework device testingTobias Hunger2011-12-211-6/+23
| | | | | | | | | | | | Allow for a set of tests to be defined. This simplifies the code for the individual test to run and allows for a more flexible approach to device testing. MaddeDeviceTester is no longer needed due to that. Change-Id: I77fd2d53246dec2d8c6b584d0c73cc1134d7f47d Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com> Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* RemoteLinux: Fix visual glitch when canceling key deployment.Christian Kandeler2011-11-291-1/+1
| | | | | | | Task-number: QTCREATORBUG-6568 Change-Id: I62da4b5e6ebed90fa51ed02107cfc083218802a4 Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
* Further string fixesRobert Loehning2011-11-031-2/+2
| | | | | Change-Id: I08661ec25eb898ff1344c82ca6fdc2465f8e3460 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
* all: s/info@qt.nokia.com/qt-info@nokia.com/hjk2011-11-031-2/+2
| | | | | Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Introduce new "Madde" plugin.Christian Kandeler2011-09-221-0/+120
The new plugin contains everything specific to Maemo and MeeGo as supported by the MADDE framework. This leaves the RemoteLinux plugin with abstract base classes and generic implementations. Change-Id: I6068caa758214cf26a27fe9893e0817b7834b580 Reviewed-on: http://codereview.qt-project.org/5230 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>