diff options
| author | Friedemann Kleint <[email protected]> | 2019-01-10 08:46:52 +0100 | 
|---|---|---|
| committer | Friedemann Kleint <[email protected]> | 2019-01-10 22:16:07 +0000 | 
| commit | 3eac688ec005833509bffc7097c378af9c5b515f (patch) | |
| tree | e8c169654e6bb08f6094d35deb5d887a9be51bf3 /src/gui/kernel/qplatformintegration.cpp | |
| parent | 574b56913f3d1ca6ad05617c32bd275807613c6b (diff) | |
Documentation: Add \nullptr macro and use where applicable
Qt for Python users reading the documentation assume that int(0) can
be passed for pointer parameters. Use the newly introduced \nullptr to
disambiguate this.
In a follow-up step, the \nullptr macro can be defined as None
when generating the Qt for Python documentation.
Task-number: PYSIDE-903
Change-Id: I3a45f87175a0668ab5f3f95f0aff409f7e3ef027
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
Reviewed-by: Christian Tismer <[email protected]>
Reviewed-by: Venugopal Shivashankar <[email protected]>
Reviewed-by: Paul Wicking <[email protected]>
Diffstat (limited to 'src/gui/kernel/qplatformintegration.cpp')
| -rw-r--r-- | src/gui/kernel/qplatformintegration.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/gui/kernel/qplatformintegration.cpp b/src/gui/kernel/qplatformintegration.cpp index 6e285a8fa50..7d1fcd4eebb 100644 --- a/src/gui/kernel/qplatformintegration.cpp +++ b/src/gui/kernel/qplatformintegration.cpp @@ -350,7 +350,7 @@ void QPlatformIntegration::destroy()  /*!    Returns the platforms input context. -  The default implementation returns 0, implying no input method support. +  The default implementation returns \nullptr, implying no input method support.  */  QPlatformInputContext *QPlatformIntegration::inputContext() const  { | 
