| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlexpression.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | - | |
| 5 | - | |
| 6 | class QString; | - |
| 7 | class QQmlRefCount; | - |
| 8 | class QQmlEngine; | - |
| 9 | class QQmlContext; | - |
| 10 | class QQmlExpressionPrivate; | - |
| 11 | class QQmlContextData; | - |
| 12 | class __attribute__((visibility("default"))) QQmlExpression : public QObject | - |
| 13 | { | - |
| 14 | public: | - |
| 15 | #pragma GCC diagnostic push | - |
| 16 | - | |
| 17 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
| 18 | 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: | - |
| 19 | #pragma GCC diagnostic ignored "-Wattributes" | - |
| 20 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
| 21 | #pragma GCC diagnostic pop | - |
| 22 | struct QPrivateSignal {}; | - |
| 23 | public: | - |
| 24 | QQmlExpression(); | - |
| 25 | QQmlExpression(QQmlContext *, QObject *, const QString &, QObject * = nullptr); | - |
| 26 | explicit QQmlExpression(const QQmlScriptString &, QQmlContext * = nullptr, QObject * = nullptr, QObject * = nullptr); | - |
| 27 | ~QQmlExpression() override; | - |
| 28 | - | |
| 29 | QQmlEngine *engine() const; | - |
| 30 | QQmlContext *context() const; | - |
| 31 | - | |
| 32 | QString expression() const; | - |
| 33 | void setExpression(const QString &); | - |
| 34 | - | |
| 35 | bool notifyOnValueChanged() const; | - |
| 36 | void setNotifyOnValueChanged(bool); | - |
| 37 | - | |
| 38 | QString sourceFile() const; | - |
| 39 | int lineNumber() const; | - |
| 40 | int columnNumber() const; | - |
| 41 | void setSourceLocation(const QString &fileName, int line, int column = 0); | - |
| 42 | - | |
| 43 | QObject *scopeObject() const; | - |
| 44 | - | |
| 45 | bool hasError() const; | - |
| 46 | void clearError(); | - |
| 47 | QQmlError error() const; | - |
| 48 | - | |
| 49 | QVariant evaluate(bool *valueIsUndefined = nullptr); | - |
| 50 | - | |
| 51 | public : | - |
| 52 | void valueChanged(); | - |
| 53 | - | |
| 54 | private: | - |
| 55 | QQmlExpression(QQmlContextData *, QObject *, const QString &); | - |
| 56 | - | |
| 57 | QQmlExpression(const QQmlExpression &) = delete; QQmlExpression &operator=(const QQmlExpression &) = delete; | - |
| 58 | inline QQmlExpressionPrivate* d_func() { return executed 2261174 times by 22 tests: reinterpret_cast<QQmlExpressionPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQmlExpressionPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 2261174 times by 22 tests: } inline const QQmlExpressionPrivate* d_func() const { returnreturn reinterpret_cast<QQmlExpressionPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 1215316 times by 22 tests: reinterpret_cast<const QQmlExpressionPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQmlExpressionPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 1215316 times by 22 tests: } friend class QQmlExpressionPrivate;return reinterpret_cast<const QQmlExpressionPrivate *>(qGetPtrHelper(d_ptr));Executed by:
| 1215316-2261174 |
| 59 | friend class QQmlDebugger; | - |
| 60 | friend class QQmlContext; | - |
| 61 | }; | - |
| 62 | - | |
| 63 | - | |
| Switch to Source code | Preprocessed file |