OpenCoverage

qqmlexpression.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlexpression.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6class QString;-
7class QQmlRefCount;-
8class QQmlEngine;-
9class QQmlContext;-
10class QQmlExpressionPrivate;-
11class QQmlContextData;-
12class __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 {};-
23public:-
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-
51public :-
52 void valueChanged();-
53-
54private:-
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: return reinterpret_cast<QQmlExpressionPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlstatemachine
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_scenegraph
reinterpret_cast<QQmlExpressionPrivate *>(qGetPtrHelper(d_ptr));
executed 2261174 times by 22 tests: return reinterpret_cast<QQmlExpressionPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlstatemachine
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_scenegraph
} inline const QQmlExpressionPrivate* d_func() const { return
executed 1215316 times by 22 tests: return reinterpret_cast<const QQmlExpressionPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlstatemachine
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_scenegraph
reinterpret_cast<const QQmlExpressionPrivate *>(qGetPtrHelper(d_ptr));
executed 1215316 times by 22 tests: return reinterpret_cast<const QQmlExpressionPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlstatemachine
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_scenegraph
} friend class QQmlExpressionPrivate;
1215316-2261174
59 friend class QQmlDebugger;-
60 friend class QQmlContext;-
61};-
62-
63-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0