blob: 26bcc4d05cef5ccb48f1dfff0e94690e12209870 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
Qt Creator 18
=============
This document aims to summarize the API changes in selected libraries and
plugins.
| Before | After |
|------------------------------------------------------------------|--------------------------------------------------------------------------------|
| | |
| **General** | |
| QTextCodec * | Replaced by Utils::TextEncoding |
| | |
| **Layouting** | |
| If (*condition*, { *then-case* }, { *else-case* }) | If (*condition*) >> Then { *then-case* } >> Else { *else-case* } |
| | |
| **Tasking** | |
| CallDoneIf::Success | Renamed to CallDone::OnSuccess |
| CallDoneIf::Error | Renamed to CallDone::OnError |
| CallDoneIf::SuccessOrError | Renamed to CallDone::Always |
| - | Added CallDone::OnCancel |
| MultiBarrier | Renamed to StoredMultiBarrier |
| NetworkOperation | Replaced by QNetworkAccessManager::Operation |
| SharedBarrier | Renamed to StartedBarrier and derived from Barrier |
| SingleBarrier | Renamed to StoredBarrier |
| TaskTreeRunner | Renamed to SingleTaskTreeRunner |
| | |
| **Utils** | |
| makeWritable | FilePath::makeWritable |
| StyleHelper::SpacingTokens | Were renamed and adapted to the new design |
| Text::positionInText | The column parameter is now 0-based |
| toFilePathList | FilePaths::fromStrings |
| **Utils::FilePath** | |
| fromStrings | FilePaths::fromStrings |
| fromSettingsList | FilePaths::fromSettings |
| **Utils::FilePathAspect** | |
| FilePath baseFileName() | Lazy\<FilePath\> baseFileName() |
| **Utils::FilePaths** | |
| alias for QList\<FilePath\> | Custom class derived from QList\<FilePath> |
| **Utils::Link** | |
| targetLine and targetColumn members | Merged into one Text::Position member |
| **Utils::PathChooser** | |
| FilePath baseDirectory() | Lazy\<FilePath\> baseDirectory() |
| **Utils::TextFileFormat** | |
| QStringList-based decode | Removed, use the QString-based method |
| static readFile | Made a member function instead of returning TextFileFormat as output parameter |
| readFile QString(List) and decodingErrorSample output parameters | Removed, part of ReadResult now |
| static void detect | void detectFromData |
| | |
| **ExtensionSystem** | |
| | |
| **Core** | |
| **Core::ExternalToolManager** | |
| readSettings and parseDirectory | Removed |
| **Core::TextDocument** | |
| read QString(List) output parameters | ReadResult includes the read contents |
| | |
| **TextEditor** | |
| **TextEditor::TabSettings** | |
| removeTrailingWhitespace(QTextCursor cursor, QTextBlock &block) | removeTrailingWhitespace(const QTextBlock &block) |
| | |
| **ProjectExplorer** | |
| **ProjectExplorer::BuildConfiguration** | |
| rawBuildDirectory | Removed |
| **ProjectExplorer::DetectionSource** | Has been added and is used for various detectionSource() getters |
| **ProjectExplorer::ITaskHandler** | |
| actionManagerId and createAction | Removed, pass them to the constructor instead |
| **ProjectExplorer::RawProjectPart** | |
| setIncludeFiles | Changed to use Utils::FilePaths |
| **ProjectExplorer::Task** | |
| Members | Are replaced by setters and getters |
|