Commit Graph

10 Commits

Author SHA1 Message Date
Christian Kandeler
753c62d75e Device support: Introduce IDevice helper classes.
These are for configuration of process and ports gathering activities,
respectively.
This couples related functionality more tightly, while keeping
the number of IDevice methods at a reasonable level.
For ports gathering, the patch also adds the ability to configure
both the command and the parsing function; the latter used to be
hardcoded in the PortsGatherer class.

Change-Id: I1b8940397a51efa7ddc05dd15cf861777d118c1a
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-02 10:36:04 +02:00
hjk
5c94f8114f projectexplorer: move kill/list to IDevice
Change-Id: Ic4cbf62a61f7d0bf72e700a77c08788850cde85b
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2012-07-27 14:18:21 +02:00
hjk
ba6bd10312 device handling: move LinuxDeviceConfiguration::MachineType to IDevice
Change-Id: I1619f8ca7751acfe3379b6486949b65c1f9b42fd
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2012-07-26 08:33:25 +02:00
Eike Ziller
e0e8cf3ada Contact -> qt-project.org
Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2012-07-19 13:23:21 +02:00
Nikolai Kosjar
d406b3cd1a IDevice: Introduce state 'device ready to use'.
A connected device might not be ready to use, so introduce another
state for this. The device settings widget is adapted to not only show
the icon, but also the state as string (the icon alone might not be
expressive enough).

Change-Id: I98d351b47a358ea59199e690e4b60f8030578ec6
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-06-01 12:55:42 +02:00
Christian Kandeler
09e1e87050 Device support: Make IDevice::executeAction() const again.
It was a mistake to remove the const modifier: While the action can
conceptually do anything it wants to the device, it must not directly
modify the actual object.

Change-Id: Iae39aec6332c381983062afc71365ecfcb854c3c
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-05-07 10:34:48 +02:00
Christian Kandeler
d9b36a1b50 Device support: Make device actions a little more flexible.
We give the implementors of the IDevice subclasses a litte more freedom
by not assuming a modal dialog.

Change-Id: I629a3ab7fc50a73229e6439af53f1bae0cf0259e
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-05-02 16:52:57 +02:00
Christian Kandeler
aefb7d061c Device support: Use Core::Id for device actions.
Change-Id: Ic313e73e9fa83596e18bf2884bc310a1a7d8a744
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-05-02 11:05:34 +02:00
Tobias Hunger
bafd3f0b14 IDevice: Make id creation (a bit) less magic
Change-Id: Icf5743a5b5a6305d18860cf6f87d70079c3effbc
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2012-04-18 19:18:07 +02:00
Tobias Hunger
5a01a0c157 Add SymbianIDevice
Change-Id: I0332e6a5e8db6e25a87804c647e920cab537eafe
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-04-17 12:35:37 +02:00