kwin/plugins
Vlad Zahorodnii 62a7db7028 Use nullptr everywhere
Summary:
Because KWin is a very old project, we use three kinds of null pointer
literals: 0, NULL, and nullptr. Since C++11, it's recommended to use
nullptr keyword.

This change converts all usages of 0 and NULL literal to nullptr. Even
though it breaks git history, we need to do it in order to have consistent
code as well to ease code reviews (it's very tempting for some people to
add unrelated changes to their patches, e.g. converting NULL to nullptr).

Test Plan: Compiles.

Reviewers: #kwin, davidedmundson, romangg

Reviewed By: #kwin, davidedmundson, romangg

Subscribers: romangg, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D23618
2019-09-19 17:48:21 +03:00
..
idletime Use nullptr everywhere 2019-09-19 17:48:21 +03:00
kdecorations Cleanup style in CMakeLists.txt files 2019-09-17 16:03:05 +03:00
kglobalaccel Use nullptr everywhere 2019-09-19 17:48:21 +03:00
kpackage SVN_SILENT made messages (.desktop file) - always resolve ours 2019-08-30 05:26:49 +02:00
platforms Use nullptr everywhere 2019-09-19 17:48:21 +03:00
qpa Fix a link error when building kwin. 2019-09-18 11:45:23 +02:00
scenes Use nullptr everywhere 2019-09-19 17:48:21 +03:00
windowsystem Cleanup style in CMakeLists.txt files 2019-09-17 16:03:05 +03:00
CMakeLists.txt Cleanup style in CMakeLists.txt files 2019-09-17 16:03:05 +03:00