telepathy-qt: Use nullptr keyword wherever it makes sense
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Jan 25 18:06:00 UTC 2020
Module: telepathy-qt
Branch: master
Commit: b4030784f02c4d94e193e241ba05b87ee4f94124
URL: http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=b4030784f02c4d94e193e241ba05b87ee4f94124
Author: Alexander Akulich <akulichalexander at gmail.com>
Date: Sat Jan 18 19:40:56 2020 +0300
Use nullptr keyword wherever it makes sense
Refactored with clang-tidy
---
TelepathyQt/Farstream/channel.cpp | 14 ++--
TelepathyQt/account-set-internal.h | 2 +-
TelepathyQt/account.cpp | 6 +-
TelepathyQt/avatar.h | 2 +-
TelepathyQt/base-call.h | 2 +-
TelepathyQt/base-channel.cpp | 12 ++--
TelepathyQt/base-channel.h | 2 +-
TelepathyQt/base-connection-manager.h | 2 +-
TelepathyQt/base-connection.cpp | 2 +-
TelepathyQt/base-connection.h | 2 +-
TelepathyQt/base-debug.h | 2 +-
TelepathyQt/call-channel.cpp | 6 +-
TelepathyQt/callbacks.h | 4 +-
TelepathyQt/captcha.h | 2 +-
TelepathyQt/channel-class-spec.cpp | 12 ++--
TelepathyQt/channel-request.cpp | 8 +--
TelepathyQt/channel.cpp | 30 ++++-----
TelepathyQt/channel.h | 2 +-
TelepathyQt/client-registrar-internal.h | 6 +-
TelepathyQt/client-registrar.cpp | 6 +-
TelepathyQt/connection-manager.cpp | 8 +--
TelepathyQt/connection.cpp | 10 +--
TelepathyQt/connection.h | 2 +-
TelepathyQt/contact-factory.cpp | 2 +-
TelepathyQt/contact-manager-roster.cpp | 32 ++++-----
TelepathyQt/contact-manager.cpp | 4 +-
TelepathyQt/contact-messenger.cpp | 2 +-
TelepathyQt/contact-messenger.h | 4 +-
TelepathyQt/contact-search-channel.h | 2 +-
TelepathyQt/contact.h | 2 +-
TelepathyQt/dbus-error.cpp | 2 +-
TelepathyQt/dbus-error.h | 2 +-
TelepathyQt/dbus-object.h | 2 +-
TelepathyQt/dbus-proxy-factory.cpp | 4 +-
TelepathyQt/dbus-proxy.cpp | 2 +-
TelepathyQt/dbus-service.cpp | 2 +-
TelepathyQt/debug-internal.h | 6 +-
TelepathyQt/debug.cpp | 2 +-
TelepathyQt/fake-handler-manager-internal.cpp | 6 +-
TelepathyQt/feature.h | 2 +-
.../file-transfer-channel-creation-properties.cpp | 2 +-
.../file-transfer-channel-creation-properties.h | 2 +-
TelepathyQt/incoming-file-transfer-channel.cpp | 4 +-
TelepathyQt/io-device.h | 2 +-
TelepathyQt/location-info.h | 2 +-
TelepathyQt/manager-file.cpp | 2 +-
TelepathyQt/message-content-part.h | 2 +-
TelepathyQt/message.cpp | 2 +-
TelepathyQt/message.h | 2 +-
TelepathyQt/optional-interface-factory.cpp | 2 +-
TelepathyQt/optional-interface-factory.h | 4 +-
TelepathyQt/outgoing-file-transfer-channel.cpp | 4 +-
.../outgoing-stream-tube-channel-internal.h | 2 +-
TelepathyQt/pending-channel-request.cpp | 6 +-
TelepathyQt/pending-channel.cpp | 10 +--
TelepathyQt/pending-contacts.cpp | 10 +--
TelepathyQt/presence.h | 4 +-
TelepathyQt/protocol-info.cpp | 4 +-
TelepathyQt/protocol-info.h | 2 +-
TelepathyQt/protocol-parameter.h | 2 +-
TelepathyQt/readiness-helper.cpp | 10 +--
TelepathyQt/readiness-helper.h | 8 +--
TelepathyQt/requestable-channel-class-spec.h | 2 +-
TelepathyQt/shared-ptr.h | 22 +++----
TelepathyQt/simple-observer.cpp | 2 +-
TelepathyQt/simple-pending-operations.h | 2 +-
TelepathyQt/simple-stream-tube-handler.cpp | 8 +--
TelepathyQt/simple-stream-tube-handler.h | 2 +-
TelepathyQt/stream-tube-client.cpp | 12 ++--
TelepathyQt/stream-tube-client.h | 4 +-
TelepathyQt/stream-tube-server.cpp | 4 +-
TelepathyQt/stream-tube-server.h | 4 +-
TelepathyQt/test-backdoors.cpp | 2 +-
TelepathyQt/text-channel.cpp | 6 +-
TelepathyQt/text-channel.h | 4 +-
examples/accounts/account-item.h | 2 +-
examples/accounts/accounts-window.h | 2 +-
examples/file-transfer/file-sender.cpp | 4 +-
examples/protocols/cm-wrapper.h | 2 +-
examples/roster/roster-item.h | 2 +-
examples/roster/roster-widget.cpp | 2 +-
examples/roster/roster-widget.h | 2 +-
examples/roster/roster-window.h | 2 +-
examples/stream-tubes/tube-initiator.cpp | 2 +-
tests/capabilities.cpp | 2 +-
tests/channel-class-spec.cpp | 2 +-
tests/dbus/account-connection-factory.cpp | 24 +++----
tests/dbus/base-cm.cpp | 2 +-
tests/dbus/base-filetransfer.cpp | 4 +-
tests/dbus/base-protocol.cpp | 2 +-
tests/dbus/call-channel.cpp | 8 +--
tests/dbus/captcha-authentication.cpp | 10 +--
tests/dbus/chan-basics.cpp | 8 +--
tests/dbus/chan-conference.cpp | 28 ++++----
tests/dbus/chan-group.cpp | 34 +++++-----
tests/dbus/cm-basics.cpp | 18 ++---
tests/dbus/cm-protocol.cpp | 4 +-
tests/dbus/conn-addressing.cpp | 4 +-
tests/dbus/conn-basics.cpp | 20 +++---
tests/dbus/conn-capabilities.cpp | 6 +-
tests/dbus/conn-introspect-cornercases.cpp | 76 +++++++++++-----------
tests/dbus/conn-requests.cpp | 6 +-
tests/dbus/conn-roster-groups.cpp | 24 +++----
tests/dbus/conn-roster-legacy.cpp | 6 +-
tests/dbus/conn-roster.cpp | 6 +-
tests/dbus/contact-factory.cpp | 6 +-
tests/dbus/contact-messenger.cpp | 42 ++++++------
tests/dbus/contact-search-chan.cpp | 16 ++---
tests/dbus/contacts-avatar.cpp | 12 ++--
tests/dbus/contacts-capabilities.cpp | 12 ++--
tests/dbus/contacts-client-types.cpp | 12 ++--
tests/dbus/contacts-info.cpp | 14 ++--
tests/dbus/contacts-location.cpp | 10 +--
tests/dbus/contacts.cpp | 58 ++++++++---------
tests/dbus/dbus-proxy-factory.cpp | 48 +++++++-------
tests/dbus/dbus-tube-chan.cpp | 24 +++----
tests/dbus/handles.cpp | 6 +-
tests/dbus/properties.cpp | 26 ++++----
tests/dbus/simple-observer.cpp | 44 ++++++-------
tests/dbus/stateful-proxy.cpp | 6 +-
tests/dbus/stream-tube-chan.cpp | 48 +++++++-------
tests/dbus/stream-tube-handlers.cpp | 42 ++++++------
tests/dbus/streamed-media-chan.cpp | 6 +-
tests/dbus/text-chan.cpp | 26 ++++----
tests/dbus/types.cpp | 2 +-
tests/features.cpp | 2 +-
tests/lib/glib-helpers/test-conn-helper.cpp | 14 ++--
tests/lib/test.h | 2 +-
tests/manager-file.cpp | 4 +-
tests/presence.cpp | 2 +-
tests/profile.cpp | 2 +-
tests/ptr.cpp | 6 +-
132 files changed, 595 insertions(+), 595 deletions(-)
Diff: http://cgit.freedesktop.org/telepathy/telepathy-qt/diff/?id=b4030784f02c4d94e193e241ba05b87ee4f94124
More information about the telepathy-commits
mailing list