Q_OBJECT
public:
- SslServer(QObject *parent = 0);
+ SslServer(QObject *parent = nullptr);
bool hasPendingConnections() const override { return !_pendingConnections.isEmpty(); }
QTcpSocket *nextPendingConnection() override;
bool reloadCerts();
protected:
-#if QT_VERSION >= 0x050000
void incomingConnection(qintptr socketDescriptor) override;
-#else
- void incomingConnection(int socketDescriptor) override;
-#endif
bool setCertificate(const QString &path, const QString &keyPath);