| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | | - |
| 10 | | - |
| 11 | | - |
| 12 | | - |
| 13 | | - |
| 14 | | - |
| 15 | | - |
| 16 | | - |
| 17 | | - |
| 18 | | - |
| 19 | | - |
| 20 | | - |
| 21 | | - |
| 22 | | - |
| 23 | | - |
| 24 | | - |
| 25 | | - |
| 26 | | - |
| 27 | | - |
| 28 | | - |
| 29 | | - |
| 30 | | - |
| 31 | | - |
| 32 | | - |
| 33 | | - |
| 34 | | - |
| 35 | | - |
| 36 | | - |
| 37 | | - |
| 38 | | - |
| 39 | | - |
| 40 | #ifndef QQUICKLOADER_P_P_H | - |
| 41 | #define QQUICKLOADER_P_P_H | - |
| 42 | | - |
| 43 | | - |
| 44 | | - |
| 45 | | - |
| 46 | | - |
| 47 | | - |
| 48 | | - |
| 49 | | - |
| 50 | | - |
| 51 | | - |
| 52 | | - |
| 53 | | - |
| 54 | #include "qquickloader_p.h" | - |
| 55 | #include "qquickimplicitsizeitem_p_p.h" | - |
| 56 | #include "qquickitemchangelistener_p.h" | - |
| 57 | #include <qqmlincubator.h> | - |
| 58 | | - |
| 59 | #include <private/qv4value_p.h> | - |
| 60 | | - |
| 61 | QT_BEGIN_NAMESPACE | - |
| 62 | | - |
| 63 | | - |
| 64 | class QQuickLoaderPrivate; | - |
| 65 | class QQuickLoaderIncubator : public QQmlIncubator | - |
| 66 | { | - |
| 67 | public: | - |
| 68 | QQuickLoaderIncubator(QQuickLoaderPrivate *l, IncubationMode mode) : QQmlIncubator(mode), loader(l) {}executed 304 times by 14 tests: end of blockExecuted by:- tst_examples
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickrepeater
| 304 |
| 69 | | - |
| 70 | protected: | - |
| 71 | void statusChanged(Status) override; | - |
| 72 | void setInitialState(QObject *) override; | - |
| 73 | | - |
| 74 | private: | - |
| 75 | QQuickLoaderPrivate *loader; | - |
| 76 | }; | - |
| 77 | | - |
| 78 | class QQmlContext; | - |
| 79 | class QQuickLoaderPrivate : public QQuickImplicitSizeItemPrivate, public QQuickItemChangeListener | - |
| 80 | { | - |
| 81 | Q_DECLARE_PUBLIC(QQuickLoader) | - |
| 82 | | - |
| 83 | public: | - |
| 84 | QQuickLoaderPrivate(); | - |
| 85 | ~QQuickLoaderPrivate(); | - |
| 86 | | - |
| 87 | void itemGeometryChanged(QQuickItem *item, QQuickGeometryChange change, const QRectF &oldGeometry) override; | - |
| 88 | void itemImplicitWidthChanged(QQuickItem *) override; | - |
| 89 | void itemImplicitHeightChanged(QQuickItem *) override; | - |
| 90 | void clear(); | - |
| 91 | void initResize(); | - |
| 92 | void load(); | - |
| 93 | | - |
| 94 | void incubatorStateChanged(QQmlIncubator::Status status); | - |
| 95 | void setInitialState(QObject *o); | - |
| 96 | void disposeInitialPropertyValues(); | - |
| 97 | static QUrl resolveSourceUrl(QQmlV4Function *args); | - |
| 98 | QV4::ReturnedValue extractInitialPropertyValues(QQmlV4Function *args, QObject *loader, bool *error); | - |
| 99 | | - |
| 100 | qreal getImplicitWidth() const override; | - |
| 101 | qreal getImplicitHeight() const override; | - |
| 102 | | - |
| 103 | QUrl source; | - |
| 104 | QQuickItem *item; | - |
| 105 | QObject *object; | - |
| 106 | QQmlStrongJSQObjectReference<QQmlComponent> component; | - |
| 107 | QQmlContext *itemContext; | - |
| 108 | QQuickLoaderIncubator *incubator; | - |
| 109 | QV4::PersistentValue initialPropertyValues; | - |
| 110 | QV4::PersistentValue qmlCallingContext; | - |
| 111 | bool updatingSize: 1; | - |
| 112 | bool active : 1; | - |
| 113 | bool loadingFromSource : 1; | - |
| 114 | bool asynchronous : 1; | - |
| 115 | | - |
| 116 | void _q_sourceLoaded(); | - |
| 117 | void _q_updateSize(bool loaderGeometryChanged = true); | - |
| 118 | }; | - |
| 119 | | - |
| 120 | QT_END_NAMESPACE | - |
| 121 | | - |
| 122 | #endif // QQUICKLOADER_P_P_H | - |
| | |