kwin/src/colors
Xaver Hugl 4874066423 port many Qt shared pointers to standard smart pointers
There are a few benefits to using smart pointers from the standard library:
- std::unique_ptr has move semantics. With move semantics, transfer of ownership
can be properly expressed
- std::shared_ptr is more efficient than QSharedPointer
- more developers are used to them, making contributions for newcomers easier

We're also already using a mix of both; because Qt shared pointers provide
no benefits, porting to standard smart pointers improves consistency in
the code base. Because of that, this commit ports most of the uses of QSharedPointer
to std::shared_ptr, and some uses of QScopedPointer to std::unique_ptr
2022-06-04 16:57:29 +00:00
..
colordevice.cpp port many Qt shared pointers to standard smart pointers 2022-06-04 16:57:29 +00:00
colordevice.h
colorlut.cpp port many Qt shared pointers to standard smart pointers 2022-06-04 16:57:29 +00:00
colorlut.h port many Qt shared pointers to standard smart pointers 2022-06-04 16:57:29 +00:00
colormanager.cpp
colormanager.h
colorpipelinestage.cpp
colorpipelinestage.h
colortransformation.cpp colors/colortransformation: add license header 2022-04-26 20:39:36 +02:00
colortransformation.h port many Qt shared pointers to standard smart pointers 2022-06-04 16:57:29 +00:00