| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugclient_p.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | class QQmlDebugConnection; | - |
| 4 | class QQmlDebugClientPrivate; | - |
| 5 | class QQmlDebugClient : 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 | QQmlDebugClient(const QQmlDebugClient &) = delete; QQmlDebugClient &operator=(const QQmlDebugClient &) = delete; | - |
| 17 | inline QQmlDebugClientPrivate* d_func() { return executed 8302 times by 11 tests: reinterpret_cast<QQmlDebugClientPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQmlDebugClientPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 8302 times by 11 tests: } inline const QQmlDebugClientPrivate* d_func() const { returnreturn reinterpret_cast<QQmlDebugClientPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 22748 times by 11 tests: reinterpret_cast<const QQmlDebugClientPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQmlDebugClientPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 22748 times by 11 tests: } friend class QQmlDebugClientPrivate;return reinterpret_cast<const QQmlDebugClientPrivate *>(qGetPtrHelper(d_ptr));Executed by:
| 8302-22748 |
| 18 | - | |
| 19 | public: | - |
| 20 | enum State { NotConnected, Unavailable, Enabled }; | - |
| 21 | - | |
| 22 | QQmlDebugClient(const QString &name, QQmlDebugConnection *parent); | - |
| 23 | ~QQmlDebugClient(); | - |
| 24 | - | |
| 25 | QString name() const; | - |
| 26 | float serviceVersion() const; | - |
| 27 | State state() const; | - |
| 28 | void sendMessage(const QByteArray &message); | - |
| 29 | - | |
| 30 | QQmlDebugConnection *connection() const; | - |
| 31 | - | |
| 32 | public : | - |
| 33 | void stateChanged(State state); | - |
| 34 | - | |
| 35 | protected: | - |
| 36 | QQmlDebugClient(QQmlDebugClientPrivate &dd); | - |
| 37 | - | |
| 38 | private: | - |
| 39 | friend class QQmlDebugConnection; | - |
| 40 | virtual void messageReceived(const QByteArray &message); | - |
| 41 | }; | - |
| 42 | - | |
| 43 | - | |
| Switch to Source code | Preprocessed file |