Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qversionedpacket_p.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#ifndef QVERSIONEDPACKET_P_H
5
#define QVERSIONEDPACKET_P_H
6
7
#include "
qpacket_p.h
"
8
9
//
10
// W A R N I N G
11
// -------------
12
//
13
// This file is not part of the Qt API. It exists purely as an
14
// implementation detail. This header file may change from version to
15
// version without notice, or even be removed.
16
//
17
// We mean it.
18
//
19
20
QT_BEGIN_NAMESPACE
21
22
// QPacket with a fixed data stream version, centrally set by some Connector
23
template
<
class
Connector>
24
class
QVersionedPacket
:
public
QPacket
25
{
26
public
:
27
QVersionedPacket
(
const
QByteArray
&
ba
) :
QPacket
(Connector::dataStreamVersion(),
ba
) {}
28
QVersionedPacket
() :
QPacket
(Connector::dataStreamVersion()) {}
29
};
30
31
QT_END_NAMESPACE
32
33
#endif
// QVERSIONEDPACKET_P_H
QByteArray
\inmodule QtCore
Definition
qbytearray.h:57
QPacket
The QPacket class encapsulates an unfragmentable packet of data to be transmitted by QPacketProtocol.
Definition
qpacket_p.h:24
QVersionedPacket
Definition
qversionedpacket_p.h:25
QVersionedPacket::QVersionedPacket
QVersionedPacket()
Definition
qversionedpacket_p.h:28
QVersionedPacket::QVersionedPacket
QVersionedPacket(const QByteArray &ba)
Definition
qversionedpacket_p.h:27
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
qpacket_p.h
ba
QByteArray ba
[0]
Definition
src_corelib_io_qdebug.cpp:31
qtdeclarative
src
plugins
qmltooling
packetprotocol
qversionedpacket_p.h
Generated by
1.10.0