kwin/xwl
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
..
clipboard.cpp [xwl] Fix coding style issues 2019-07-03 00:54:55 +03:00
clipboard.h Use more traditional doxygen style 2019-07-29 22:06:19 +03:00
databridge.cpp [xwl] Fix coding style issues 2019-07-03 00:54:55 +03:00
databridge.h Use more traditional doxygen style 2019-07-29 22:06:19 +03:00
dnd.cpp [xwl] Fix coding style issues 2019-07-03 00:54:55 +03:00
dnd.h Use more traditional doxygen style 2019-07-29 22:06:19 +03:00
drag.cpp [xwl] Fix coding style issues 2019-07-03 00:54:55 +03:00
drag.h Use more traditional doxygen style 2019-07-29 22:06:19 +03:00
drag_wl.cpp [xwl] Fix coding style issues 2019-07-03 00:54:55 +03:00
drag_wl.h [xwl] Fix coding style issues 2019-07-03 00:54:55 +03:00
drag_x.cpp Use nullptr everywhere 2019-09-19 17:48:21 +03:00
drag_x.h Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00
selection.cpp [xwl] Fix coding style issues 2019-07-03 00:54:55 +03:00
selection.h Use more traditional doxygen style 2019-07-29 22:06:19 +03:00
selection_source.cpp [xwl] Fix coding style issues 2019-07-03 00:54:55 +03:00
selection_source.h Use more traditional doxygen style 2019-07-29 22:06:19 +03:00
transfer.cpp Use nullptr everywhere 2019-09-19 17:48:21 +03:00
transfer.h Use more traditional doxygen style 2019-07-29 22:06:19 +03:00
xwayland.cpp Revert "wayland: Terminate client connections before Workspace is destroyed" 2019-08-07 11:21:30 +03:00
xwayland.h Revert "wayland: Terminate client connections before Workspace is destroyed" 2019-08-07 11:21:30 +03:00
xwayland_interface.cpp [xwl] Fix coding style issues 2019-07-03 00:54:55 +03:00
xwayland_interface.h Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00