OpenCoverage

qpacketprotocol_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/plugins/qmltooling/packetprotocol/qpacketprotocol_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3class QIODevice;-
4-
5class QPacketProtocolPrivate;-
6class QPacketProtocol : public QObject-
7{-
8 public:-
9#pragma GCC diagnostic push-
10 -
11#pragma GCC diagnostic ignored "-Wsuggest-override"-
12 static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private:-
13#pragma GCC diagnostic ignored "-Wattributes"-
14 __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **);-
15#pragma GCC diagnostic pop-
16 struct QPrivateSignal {};-
17 inline QPacketProtocolPrivate* d_func() { return
executed 26240 times by 12 tests: return reinterpret_cast<QPacketProtocolPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qdebugmessageservice
  • tst_qpacketprotocol
  • tst_qqmldebugclient
  • tst_qqmldebuggingenabler
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlenginecontrol
  • tst_qqmlenginedebuginspectorintegration
  • tst_qqmlenginedebugservice
  • tst_qqmlinspector
  • tst_qqmlprofilerservice
reinterpret_cast<QPacketProtocolPrivate *>(qGetPtrHelper(d_ptr));
executed 26240 times by 12 tests: return reinterpret_cast<QPacketProtocolPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qdebugmessageservice
  • tst_qpacketprotocol
  • tst_qqmldebugclient
  • tst_qqmldebuggingenabler
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlenginecontrol
  • tst_qqmlenginedebuginspectorintegration
  • tst_qqmlenginedebugservice
  • tst_qqmlinspector
  • tst_qqmlprofilerservice
} inline const QPacketProtocolPrivate* d_func() const { return
executed 15350 times by 12 tests: return reinterpret_cast<const QPacketProtocolPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qdebugmessageservice
  • tst_qpacketprotocol
  • tst_qqmldebugclient
  • tst_qqmldebuggingenabler
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlenginecontrol
  • tst_qqmlenginedebuginspectorintegration
  • tst_qqmlenginedebugservice
  • tst_qqmlinspector
  • tst_qqmlprofilerservice
reinterpret_cast<const QPacketProtocolPrivate *>(qGetPtrHelper(d_ptr));
executed 15350 times by 12 tests: return reinterpret_cast<const QPacketProtocolPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qdebugmessageservice
  • tst_qpacketprotocol
  • tst_qqmldebugclient
  • tst_qqmldebuggingenabler
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlenginecontrol
  • tst_qqmlenginedebuginspectorintegration
  • tst_qqmlenginedebugservice
  • tst_qqmlinspector
  • tst_qqmlprofilerservice
} friend class QPacketProtocolPrivate;
15350-26240
18public:-
19 explicit QPacketProtocol(QIODevice *dev, QObject *parent = nullptr);-
20-
21 void send(const QByteArray &data);-
22 qint64 packetsAvailable() const;-
23 QByteArray read();-
24 bool waitForReadyRead(int msecs = 3000);-
25-
26public :-
27 void readyRead();-
28 void error();-
29-
30private:-
31 void aboutToClose();-
32 void bytesWritten(qint64 bytes);-
33 void readyToRead();-
34};-
35-
36-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0