- static RemotePeer *createPeer(const ProtoDescriptor &protocol, AuthHandler *authHandler, QTcpSocket *socket, Compressor::CompressionLevel level, QObject *parent = 0);
- static RemotePeer *createPeer(const ProtoList &protocols, AuthHandler *authHandler, QTcpSocket *socket, Compressor::CompressionLevel level, QObject *parent = 0);
-
+ static RemotePeer* createPeer(const ProtoDescriptor& protocol,
+ AuthHandler* authHandler,
+ QTcpSocket* socket,
+ Compressor::CompressionLevel level,
+ QObject* parent = nullptr);
+ static RemotePeer* createPeer(const ProtoList& protocols,
+ AuthHandler* authHandler,
+ QTcpSocket* socket,
+ Compressor::CompressionLevel level,
+ QObject* parent = nullptr);