Heart
1.4.918.d927d9c
Heart is base back end library for your c++ Qt projects.
Toggle main menu visibility
Loading...
Searching...
No Matches
sslsocket.cpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2021-2025 QuasarApp.
3
* Distributed under the lgplv3 software license, see the accompanying
4
* Everyone is permitted to copy and distribute verbatim copies
5
* of this license document, but changing it is not allowed.
6
*/
7
8
#include "
sslsocket.h
"
9
10
#ifdef USE_HEART_SSL
11
12
namespace
QH
{
13
14
SslSocket::SslSocket(QObject *parent):
15
QSslSocket(parent) {
16
17
connect(
this
, QOverload<
const
QList<QSslError> &>::of(&QSslSocket::sslErrors),
18
this
, [
this
](
const
QList<QSslError> & errors){
19
emit sslErrorsOcurred(
this
, errors);
20
}, Qt::DirectConnection);
21
}
22
23
SslSocket::~SslSocket() {
24
handleDisckonnetFromHost();
25
}
26
27
void
SslSocket::handleDisckonnetFromHost() {
28
disconnectFromHost();
29
}
30
31
}
32
#endif
QH
The QH namespace - QuasarApp Heart namespace. This namespace contains all classes of the Heart librar...
Definition
heart.cpp:13
sslsocket.h
src
private
sslsocket.cpp
Generated by
1.18.0