Eugene Popov
efdcea7071
Revert "klipper: Add `testTrimmedText`"
...
This reverts commit fc888e5d2d .
4 years ago
Fushan Wen
6f1da1213e
klipper: Add `testTrimmedText`
...
Test if the text is correctly trimmed, and can still provide the full
text.
(cherry picked from commit fc888e5d2d )
4 years ago
Fushan Wen
f8bd3ed50f
klipper: Replace UserRole with named types
...
This makes the expressions more clear.
(cherry picked from commit e76c838785 )
4 years ago
Alexander Lohnau
d921e3e370
Adjust indentation of license headers
5 years ago
Alexander Lohnau
4df78f841c
Remove unneeded comments in license headers
5 years ago
Alexander Lohnau
c11051955d
Convert license headers to SPDX
5 years ago
Alexander Lohnau
823d2106ec
Run clang-format
...
If you want git blame to ignore formatting revisions run:
git config blame.ignoreRevsFile .git-blame-ignore-revs
5 years ago
Volker Krause
a5f9345e75
Replace old ModelTest copy by QAbstractItemModelTester
6 years ago
Martin Gräßlin
8ec991828f
[klipper] Use QSharedPointer for all HistoryItems
12 years ago
Martin Gräßlin
50aa6d4575
[klipper] Add the type as an element to HistoryModel
...
Idea is to allow an easy way to recognize the type of an element
without need to cast in the model's user.
12 years ago
Martin Gräßlin
2e47d84772
[klipper] Use HistoryModel as backend for History
...
Complete functionality is preserved, but History API needs to be adjusted
to shared pointers.
12 years ago
Martin Gräßlin
55b74b2bfa
[klipper] Introduce a HistoryModel
...
The HistoryModel provides the needed functionality to be hooked into
History. It's not setting up the chaining (that's implicit in a model)
and uses shared pointer. Both needs further adjustments in Klipper.
12 years ago