OpenCoverage

qqmldebugconnection_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugconnection_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3class QQmlDebugClient;-
4class QQmlDebugConnectionPrivate;-
5class QQmlDebugConnection : public QObject-
6{-
7 public:-
8#pragma GCC diagnostic push-
9 -
10#pragma GCC diagnostic ignored "-Wsuggest-override"-
11 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); } static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private:-
12#pragma GCC diagnostic ignored "-Wattributes"-
13 __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **);-
14#pragma GCC diagnostic pop-
15 struct QPrivateSignal {};-
16 QQmlDebugConnection(const QQmlDebugConnection &) = delete; QQmlDebugConnection &operator=(const QQmlDebugConnection &) = delete;-
17 inline QQmlDebugConnectionPrivate* d_func() { return
executed 18407 times by 11 tests: return reinterpret_cast<QQmlDebugConnectionPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qdebugmessageservice
  • tst_qqmldebugclient
  • tst_qqmldebuggingenabler
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlenginecontrol
  • tst_qqmlenginedebuginspectorintegration
  • tst_qqmlenginedebugservice
  • tst_qqmlinspector
  • tst_qqmlprofilerservice
reinterpret_cast<QQmlDebugConnectionPrivate *>(qGetPtrHelper(d_ptr));
executed 18407 times by 11 tests: return reinterpret_cast<QQmlDebugConnectionPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qdebugmessageservice
  • tst_qqmldebugclient
  • tst_qqmldebuggingenabler
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlenginecontrol
  • tst_qqmlenginedebuginspectorintegration
  • tst_qqmlenginedebugservice
  • tst_qqmlinspector
  • tst_qqmlprofilerservice
} inline const QQmlDebugConnectionPrivate* d_func() const { return
executed 54567 times by 11 tests: return reinterpret_cast<const QQmlDebugConnectionPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qdebugmessageservice
  • tst_qqmldebugclient
  • tst_qqmldebuggingenabler
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlenginecontrol
  • tst_qqmlenginedebuginspectorintegration
  • tst_qqmlenginedebugservice
  • tst_qqmlinspector
  • tst_qqmlprofilerservice
reinterpret_cast<const QQmlDebugConnectionPrivate *>(qGetPtrHelper(d_ptr));
executed 54567 times by 11 tests: return reinterpret_cast<const QQmlDebugConnectionPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qdebugmessageservice
  • tst_qqmldebugclient
  • tst_qqmldebuggingenabler
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlenginecontrol
  • tst_qqmlenginedebuginspectorintegration
  • tst_qqmlenginedebugservice
  • tst_qqmlinspector
  • tst_qqmlprofilerservice
} friend class QQmlDebugConnectionPrivate;
18407-54567
18public:-
19 QQmlDebugConnection(QObject *parent = nullptr);-
20 ~QQmlDebugConnection();-
21-
22 void connectToHost(const QString &hostName, quint16 port);-
23 void startLocalServer(const QString &fileName);-
24-
25 int currentDataStreamVersion() const;-
26 void setMaximumDataStreamVersion(int maximumVersion);-
27-
28 bool isConnected() const;-
29 bool isConnecting() const;-
30-
31 void close();-
32 bool waitForConnected(int msecs = 30000);-
33-
34 QQmlDebugClient *client(const QString &name) const;-
35 bool addClient(const QString &name, QQmlDebugClient *client);-
36 bool removeClient(const QString &name);-
37-
38 float serviceVersion(const QString &serviceName) const;-
39 bool sendMessage(const QString &name, const QByteArray &message);-
40-
41public :-
42 void connected();-
43 void disconnected();-
44 void socketError(QAbstractSocket::SocketError socketError);-
45 void socketStateChanged(QAbstractSocket::SocketState socketState);-
46-
47private:-
48 void newConnection();-
49 void socketConnected();-
50 void socketDisconnected();-
51 void protocolReadyRead();-
52 void handshakeTimeout();-
53};-
54-
55-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0