summaryrefslogtreecommitdiffstats
path: root/examples/network/secureudpclient/association.h
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@qt.io>2018-08-06 12:05:26 +0200
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2018-08-09 03:52:13 +0000
commit5b8d5c7493259544f853eb2732cca2829c0f67ca (patch)
treeba8a06551d7241869f8255d8a3a7cdf33cc87721 /examples/network/secureudpclient/association.h
parent4c089601d7982bb45080d57b3399ed0653f69dd1 (diff)
Document DTLS examples
Task-number: QTBUG-68070 Change-Id: I2b08322049005b02f1ed680bee21992ade16813a Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'examples/network/secureudpclient/association.h')
-rw-r--r--examples/network/secureudpclient/association.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/network/secureudpclient/association.h b/examples/network/secureudpclient/association.h
index 157882f23d..be89ce695e 100644
--- a/examples/network/secureudpclient/association.h
+++ b/examples/network/secureudpclient/association.h
@@ -55,19 +55,18 @@
QT_BEGIN_NAMESPACE
+//! [0]
class DtlsAssociation : public QObject
{
Q_OBJECT
public:
-
DtlsAssociation(const QHostAddress &address, quint16 port,
const QString &connectionName);
~DtlsAssociation();
void startHandshake();
signals:
-
void errorMessage(const QString &message);
void warningMessage(const QString &message);
void infoMessage(const QString &message);
@@ -75,7 +74,6 @@ signals:
const QByteArray &plainText);
private slots:
-
void udpSocketConnected();
void readyRead();
void handshakeTimeout();
@@ -83,7 +81,6 @@ private slots:
void pingTimeout();
private:
-
QString name;
QUdpSocket socket;
QDtls crypto;
@@ -93,6 +90,7 @@ private:
Q_DISABLE_COPY(DtlsAssociation)
};
+//! [0]
QT_END_NAMESPACE