Q_OBJECT
public:
- CoreSession(UserId, bool restoreState, bool strictIdentEnabled, QObject *parent = 0);
+ CoreSession(UserId, bool restoreState, bool strictIdentEnabled, QObject *parent = nullptr);
QList<BufferInfo> buffers() const;
inline UserId user() const { return _user; }
void disconnectFromCore();
protected:
- virtual void customEvent(QEvent *event);
+ void customEvent(QEvent *event) override;
private slots:
void removeClient(Peer *peer);