OpenCoverage

qqmldebugconnector_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/debugger/qqmldebugconnector_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4class QQmlDebugService;-
5class __attribute__((visibility("default"))) QQmlDebugConnector : 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); } __attribute__ ((__deprecated__)) 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 {};-
16public:-
17 static void setPluginKey(const QString &key);-
18 static void setServices(const QStringList &services);-
19 static QQmlDebugConnector *instance();-
20 static int dataStreamVersion()-
21 {-
22 return
executed 1770 times by 6 tests: return s_dataStreamVersion;
Executed by:
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlenginedebugservice
  • tst_qqmlprofilerservice
s_dataStreamVersion;
executed 1770 times by 6 tests: return s_dataStreamVersion;
Executed by:
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlenginedebugservice
  • tst_qqmlprofilerservice
1770
23 }-
24-
25 virtual bool blockingMode() const = 0;-
26-
27 virtual QQmlDebugService *service(const QString &name) const = 0;-
28-
29 virtual void addEngine(QJSEngine *engine) = 0;-
30 virtual void removeEngine(QJSEngine *engine) = 0;-
31 virtual bool hasEngine(QJSEngine *engine) const = 0;-
32-
33 virtual bool addService(const QString &name, QQmlDebugService *service) = 0;-
34 virtual bool removeService(const QString &name) = 0;-
35-
36 virtual bool open(const QVariantHash &configuration = QVariantHash()) = 0;-
37-
38 template<class Service>-
39 static Service *service()-
40 {-
41 QQmlDebugConnector *inst = instance();-
42 return
executed 309783 times by 142 tests: return inst ? static_cast<Service *>(inst->service(Service::s_key)) : nullptr;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
inst ? static_cast<Service *>(inst->service(Service::s_key)) : nullptr;
executed 309783 times by 142 tests: return inst ? static_cast<Service *>(inst->service(Service::s_key)) : nullptr;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
309783
43 }-
44-
45protected:-
46 static QString commandLineArguments();-
47 static int s_dataStreamVersion;-
48};-
49-
50class __attribute__((visibility("default"))) QQmlDebugConnectorFactory : public QObject {-
51 public:-
52#pragma GCC diagnostic push-
53 -
54#pragma GCC diagnostic ignored "-Wsuggest-override"-
55 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:-
56#pragma GCC diagnostic ignored "-Wattributes"-
57 __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **);-
58#pragma GCC diagnostic pop-
59 struct QPrivateSignal {};-
60public:-
61 virtual QQmlDebugConnector *create(const QString &key) = 0;-
62 ~QQmlDebugConnectorFactory() override;-
63};-
64-
65-
66-
67-
68-
69-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0