summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/devicesupport/devicemanagermodel.cpp
Commit message (Collapse)AuthorAgeFilesLines
* License updateEike Ziller2014-10-091-7/+8
| | | | | Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* Always pass Core::Id by value.Christian Kandeler2014-07-011-1/+1
| | | | | | | | | | | Currently we pass in some places by value, elsewhere by const ref and for some weird reason also by const value in a lot of places. The latter is particularly annoying, as it is also used in interfaces and therefore forces all implementors to do the same, since leaving the "const" off is causing compiler warnings with MSVC. Change-Id: I65b87dc3cce0986b8a55ff6119cb752361027803 Reviewed-by: hjk <hjk121@nokiamail.com>
* ProjectExplorer: Pass some values by referenceOrgad Shaneh2014-05-201-1/+1
| | | | | Change-Id: I628c317fc86f1f4b33ca453018d54fb86babc1e8 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Incremented year in copyright infoRobert Loehning2014-01-081-1/+1
| | | | | | Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Device support: Rename DeviceManager::deviceListChanged().Christian Kandeler2013-07-191-1/+1
| | | | | | | | | | The name is misleading: A "change" could also mean a device was added or removed, which is not what his signal tracks. The new name is "deviceListReplaced", which should give a better hint. In addition, add an explanatory comment. Change-Id: I0a67c4caf20520df53f2d046905b7ac8da4c2972 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* QNX: Refactored connection handling for BlackBerry devicesTobias Nätterlund2013-03-281-1/+2
| | | | | | | | | | | | | | | | The blackberry-connect connection is now established at Qt Creator startup, and taken down when Qt Creator shuts down. The user also has the ability to disconnect manually in the Device settings widget. The connection status is shown in the Devices settings widget, as well as in the project selector. And it is impossible run or debug an application without having the device connected. Change-Id: I64f2e48a647e6d850851d2f20d0ec7bbd5980ea5 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com> Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com> Reviewed-by: Mehdi Fekari <mfekari@rim.com>
* Clean headers in ProjectExplorer.Friedemann Kleint2013-03-261-2/+0
| | | | | | Change-Id: If61a8a91d2a39c5c97974a5bfcef91892b68d3f1 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Merge remote-tracking branch 'origin/2.6'Oswald Buddenhagen2013-01-311-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/autotoolsprojectmanager/AutotoolsProjectManager.pluginspec.in src/plugins/debugger/qtmessageloghandler.cpp src/plugins/debugger/qtmessagelogwindow.cpp src/plugins/madde/maemodeployconfigurationwidget.cpp src/plugins/qmldesigner/components/integration/designdocumentcontroller.cpp src/plugins/qmldesigner/designercore/include/widgetqueryview.h src/plugins/qmldesigner/designercore/metainfo/metainfoparser.cpp src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.cpp src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.h src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp src/plugins/qnx/bardescriptormagicmatcher.h src/plugins/qt4projectmanager/profilekeywords.cpp src/plugins/remotelinux/deployablefilesperprofile.cpp src/plugins/remotelinux/deployablefilesperprofile.h src/plugins/remotelinux/deploymentinfo.cpp src/plugins/remotelinux/deploymentsettingsassistant.cpp src/plugins/remotelinux/profilesupdatedialog.cpp tests/auto/icheckbuild/ichecklib.cpp tests/auto/icheckbuild/parsemanager.cpp tests/auto/icheckbuild/parsemanager.h Change-Id: Ie465a578446a089e1c502d1cb1096e84ca058104
| * Incremented year in copyright infov2.6.2Robert Loehning2013-01-291-1/+1
| | | | | | | | | | Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* | DeviceSupport: use new Core::Id interfacehjk2013-01-181-3/+1
|/ | | | | Change-Id: I83fb5933e7feca7d402a288122839d34c9d0f709 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* DeviceManagerModel: Allow filtering by device typeTobias Hunger2012-10-151-3/+23
| | | | | Change-Id: Id19437fa64594231e1516ed60c913f77a1923fa2 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Adjust license headershjk2012-10-051-21/+20
| | | | | Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Contact -> qt-project.orgEike Ziller2012-07-191-3/+1
| | | | | Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Profile introductionTobias Hunger2012-06-211-1/+11
| | | | | | | | | | | | | Introduce Profiles to store sets of values that describe a system/device. These profiles are held by a target, getting rid of much of the information stored in the Build-/Run-/DeployConfigurations, greatly simplifying those. This is a squash of the wip/profile branch which has been on gerrit for a while, rebased to current master. Change-Id: I25956c8dd4d1962b2134bfaa8a8076ae3909460f Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* DeviceFactory: Allow for querying supported device typesTobias Hunger2012-05-301-2/+2
| | | | | | | | | | | | 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: Fix bug in DeviceManagerModel.Christian Kandeler2012-05-081-1/+4
| | | | | | | | Yet another instance of using a potentially wrong index. Also check some invariants. Change-Id: I2306fe854481e85f38434ec73cf5e92675110bf1 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Add desktop deviceTobias Hunger2012-05-031-2/+7
| | | | | | | Add a device for the desktop. Change-Id: If9cff404df03ab1d93ca1cb509c60ce59f9d5be0 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
* Device: Decouple DeviceManager and DeviceSettingsWidgetTobias Hunger2012-05-031-5/+39
| | | | | | | | | | | Decouple DeviceSettingsWidget from the DeviceManager by extending the DeviceModel with some methods to query information from there. This allows to add things like filtering to the model. Change-Id: I8ac45d3ae254c31e2fe36556978bd6af5adccd32 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
* Device support: Make "replaced" semantics more sensible.Christian Kandeler2012-04-261-1/+3
| | | | | | | | | | | | | | When adding a device whose id is already in the list, we interpret this as an update. So far, so good. However, the current code implements this rather simplistically by just doing remove+add, which potentially puts the device into a different position in the list and also emits "added" and "removed" signals for the respective id, which is conceptually wrong. The new implementation distinguishes the two cases more carefully. Change-Id: Id2480947141e4515606adfd3e0d84f65fe7b9cc5 Reviewed-by: Jarek Kobus <jaroslaw.kobus@nokia.com> Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Device support: Clean up DeviceManager API.Christian Kandeler2012-04-251-10/+25
| | | | | | | | | | | | | - Remove redirection of setDisplayName() via DeviceManager. This inflated the API (method + signal) only for the settings widget, which can handle this case perfectly well by itself. - Make the public API Id-centric. Indexes were used in a lot of places for historical reasons (the device manager was a model once), but they made the API inconsistent and sometimes even plain stupid (notably the deviceRemoved() signal). Change-Id: I77601ac05726d1cd841ae213397f26048dddc585 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Device Support: Move some functions from IDeviceFactory to IDevice.Christian Kandeler2012-04-101-4/+2
| | | | | | | | | | 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>
* Introduce the concept of an abstract device.Christian Kandeler2012-03-081-0/+114
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>