aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/userfileaccessor.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/qds/dev'Tim Jenssen2023-09-141-0/+2
|\ | | | | | | Change-Id: Id242ab4ca485527defdcc1555d204e12e50ddb7a
| * cleanup QMessageBox includesTim Jenßen2023-08-221-1/+0
| | | | | | | | | | | | | | Change-Id: I358a216c48b8fbf549af38360a93a073f03e3a98 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* | Utils/ProjectExplorer: More Key and Storehjk2023-08-251-2/+1
| | | | | | | | | | Change-Id: Ic9cc3a36b320c7413c362d1a1cdf024298d25027 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* | ProjectExplorer: And more Key and Storehjk2023-08-241-7/+5
|/ | | | | Change-Id: Id5787890bdb46bfeef8e3f37923e6dc26cb56c31 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* Remove GPL-3.0+ from license identifiersKai Köhne2023-01-061-1/+1
| | | | | | | | | | | | | | | Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0, this applies only to a hypothetical newer version of GPL, that doesn't exist yet. If such a version emerges, we can still decide to relicense... While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only Change was done by running find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \; Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Use SPDX license identifiersLucie Gérard2022-08-261-24/+2
| | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Task-number: QTBUG-67283 Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils: Rename FileName to FilePathhjk2019-05-281-3/+3
| | | | | | | | More in line with QFileInfo terminonlogy which appears to be best-of-breed within Qt. Change-Id: I1d051ff1c8363ebd4ee56376451df45216c4c9ab Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* SettingsAccessor: Extract functionality to merge settingsTobias Hunger2018-02-141-3/+14
| | | | | | | | | | | | | | | | | Move functionality related to merging settings into MergingSettingsAccessor, move code specific to the .user-files into UserFileAccessor. Remove SettingsAccessor class, now that all code has been moved out of it. This patch changes the merge mechanism a bit: It used to upgrade the user and tha shared file to the higher version of these two, merge, and then upgrade the merged result to the newest version. Now it upgrades both the user as well as the shared file to the newest version and only merges afterwards. Change-Id: I2a1605cbe9b9fb1404fcfa9954a9f3410da0abb1 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* SettingsAccessor: Extract handling of backupsTobias Hunger2018-02-131-1/+2
| | | | | | | | | | | Extract the code that handles backups from the SettingsAccessor into a BackingUpSettingsAccessor. Move code up from SettingsAccessor into UserFileAccessor where it belongs. This became possible due to the extraction. Change-Id: Icacaa4e7231b3c0c520154c76f9338227f96a614 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Settingsaccessor: Extract file access and error reportingTobias Hunger2018-01-151-2/+2
| | | | | | | | Move file access and error reporting out of SettingsAccessor and into BasicSettingsAccessor. Change-Id: If6cc9157c1a532f117c48b929c05f55d89a339eb Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* UserFileAccessor: Add testsTobias Hunger2018-01-081-2/+2
| | | | | Change-Id: I310fdd542f0629a2353229be3e479a9f916fec19 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Move SettingsAccessor from ProjectExplorer into UtilsTobias Hunger2017-11-201-3/+2
| | | | | Change-Id: I83e9d7ef81f8c0af7220ce2777723db53ef2e02a Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* ProjectExplorer: Split up settingsaccessor.hTobias Hunger2017-11-171-0/+60
| | | | | | | | | Split up settingsaccessor.h/settingsaccessor.cpp by moving the userfileaccessor code into its own set of files called userfileaccessor.h/userfileaccessor.cpp. Change-Id: I634550b7ebba29a94791b163dcf05aacf61cfdd4 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* ProjectExplorer: Rename userfileacessor.* to settingsacessor.*Leandro Melo2011-09-261-108/+0
| | | | | | | | | | So the file name matches the class names. Continuing the series from the previous commit... Change-Id: I86460f553371bdb09c2b404079f4601b1f25cf42 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com> Reviewed-on: http://codereview.qt-project.org/5082 Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
* ProjectExplorer: Refactor file settings acessorLeandro Melo2011-09-261-25/+51
| | | | | | | | | | | | | | | | | | | | | | This is the first patch of a series. The final goal is to introduce shared settings into Creator. This particular patch shouldn't affect functionality, but it changes a bit the design of the settings acessor and prepares the code for the upcoming commits. In addition it also makes restoring the settings slightly more robust, since it will try to load a compatible "old" file from the quick check before it actually performs the more expensive check. NOTE: Files userfileacessor.* will be renamed in a following commit to settingsacessor.*. It's not done right now because I think it will make the review easier on gerrit. Reviewed-by: Tobias Hunger Change-Id: I950c813936afb6c55c770e0d6f061eb27b37c47b Reviewed-on: http://codereview.qt-project.org/5081 Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
* Fix/add copyright headersTobias Hunger2011-05-061-1/+1
| | | | Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
* Update license.hjk2011-04-131-14/+13
|
* It's 2011 now.con2011-01-121-1/+1
| | | | Reviewed-by: hjk
* License headers.con2010-12-171-7/+11
|
* Move build environment customization down to BuildConfigurationThorbjørn Lindeijer2010-03-121-0/+4
| | | | | | | | | | | | | The functionality was duplicated between the Qt4 and CMake build configurations and their configuration widgets. This change moves it down to BuildConfiguration, in addition also making it available for the Generic Project. Also provides an upgrade path for the configuration. Task-number: QTCREATOR-24 Reviewed-by: dt Reviewed-by: Tobias Hunger
* Long live the king!hjk2010-03-051-1/+1
|
* Add accessor for (versioned) .user-fileTobias Hunger2010-02-011-0/+75
* Add version number to .user-file. * Upgrade it from old versions. Reviewed-by: dt