kwin/scripting
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 Cleanup style in CMakeLists.txt files 2019-09-17 16:03:05 +03:00
dbuscall.cpp
dbuscall.h Use nullptr everywhere 2019-09-19 17:48:21 +03:00
documentation-effect-global.xml
documentation-global.xml
genericscriptedconfig.cpp
genericscriptedconfig.h Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00
genericscriptedconfig.json
kwinscript.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2019-07-13 05:18:09 +02:00
Messages.sh
meta.cpp Use more traditional doxygen style 2019-07-29 22:06:19 +03:00
meta.h Use more traditional doxygen style 2019-07-29 22:06:19 +03:00
screenedgeitem.cpp
screenedgeitem.h Use nullptr everywhere 2019-09-19 17:48:21 +03:00
scriptedeffect.cpp [scripting] Introduce complete function 2018-11-17 13:44:20 +02:00
scriptedeffect.h Use more traditional doxygen style 2019-07-29 22:06:19 +03:00
scripting.cpp Port away from deprecated qVariantFromValue 2019-09-18 16:20:06 +03:00
scripting.h Use more traditional doxygen style 2019-07-29 22:06:19 +03:00
scripting_logging.cpp
scripting_logging.h
scripting_model.cpp Port away from deprecated qVariantFromValue 2019-09-18 16:20:06 +03:00
scripting_model.h Use more traditional doxygen style 2019-07-29 22:06:19 +03:00
scriptingutils.cpp
scriptingutils.h Use more traditional doxygen style 2019-07-29 22:06:19 +03:00
timer.cpp
workspace_wrapper.cpp Use nullptr everywhere 2019-09-19 17:48:21 +03:00
workspace_wrapper.h Use more traditional doxygen style 2019-07-29 22:06:19 +03:00