kwin/plugins/kglobalaccel
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
..
CMakeLists.txt [autotests] Support new way to run the tests without need to install 2017-11-21 20:34:52 +01:00
kglobalaccel_plugin.cpp [globalaccel] Ensure we don't call into deleted InputRedirection on shutdown 2015-10-05 14:47:15 +02:00
kglobalaccel_plugin.h Use nullptr everywhere 2019-09-19 17:48:21 +03:00
kwin.json Change supported platforms of kglobalaccel plugin to "org.kde.kwin" 2015-07-07 13:36:27 +02:00