summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxitem.h
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-07-30 23:39:53 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-07-30 23:39:53 (GMT)
commit0ce2bedf9b5da9d480b994a9b812c37d1f5caa39 (patch)
tree7e8ef6069f8c669ff6e92e23cf8b46cfad7ed3ee /src/declarative/fx/qfxitem.h
parenta70f8a2b0966420e1911554a117e066592b1822c (diff)
downloadQt-0ce2bedf9b5da9d480b994a9b812c37d1f5caa39.zip
Qt-0ce2bedf9b5da9d480b994a9b812c37d1f5caa39.tar.gz
Qt-0ce2bedf9b5da9d480b994a9b812c37d1f5caa39.tar.bz2
Introduce Loader item.
The Loader item takes the qml/qmlItem functionality from Item and moves it to a specialized subclass.
Diffstat (limited to 'src/declarative/fx/qfxitem.h')
-rw-r--r--src/declarative/fx/qfxitem.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/declarative/fx/qfxitem.h b/src/declarative/fx/qfxitem.h
index c31b8bb..884a6d8 100644
--- a/src/declarative/fx/qfxitem.h
+++ b/src/declarative/fx/qfxitem.h
@@ -127,15 +127,13 @@ class Q_DECLARATIVE_EXPORT QFxItem : public QGraphicsObject, public QmlParserSta
Q_PROPERTY(QmlList<QObject *> *data READ data DESIGNABLE false)
Q_PROPERTY(QmlList<QFxItem *>* children READ children DESIGNABLE false)
Q_PROPERTY(QmlList<QObject *>* resources READ resources DESIGNABLE false)
- Q_PROPERTY(QFxAnchors * anchors READ anchors DESIGNABLE false CONSTANT FINAL)
- Q_PROPERTY(QFxContents * contents READ contents DESIGNABLE false CONSTANT FINAL)
Q_PROPERTY(QmlList<QmlState *>* states READ states DESIGNABLE false)
Q_PROPERTY(QmlList<QmlTransition *>* transitions READ transitions DESIGNABLE false)
Q_PROPERTY(QString state READ state WRITE setState NOTIFY stateChanged)
- Q_PROPERTY(QUrl qml READ qml WRITE setQml NOTIFY qmlChanged) // ### name? Move to own class?
- Q_PROPERTY(QFxItem *qmlItem READ qmlItem NOTIFY qmlChanged) // ### see above
Q_PROPERTY(qreal width READ width WRITE setWidth NOTIFY widthChanged FINAL)
Q_PROPERTY(qreal height READ height WRITE setHeight NOTIFY heightChanged FINAL)
+ Q_PROPERTY(QFxContents * contents READ contents DESIGNABLE false CONSTANT FINAL)
+ Q_PROPERTY(QFxAnchors * anchors READ anchors DESIGNABLE false CONSTANT FINAL)
Q_PROPERTY(QFxAnchorLine left READ left CONSTANT FINAL)
Q_PROPERTY(QFxAnchorLine right READ right CONSTANT FINAL)
Q_PROPERTY(QFxAnchorLine horizontalCenter READ horizontalCenter CONSTANT FINAL)
@@ -187,10 +185,6 @@ public:
QString state() const;
void setState(const QString &);
- QFxItem *qmlItem() const;
- QUrl qml() const;
- void setQml(const QUrl &);
-
qreal baselineOffset() const;
void setBaselineOffset(qreal);
@@ -238,7 +232,6 @@ Q_SIGNALS:
void rotationChanged();
void scaleChanged();
void qmlChanged();
- void newChildCreated(const QString &url, QScriptValue);
protected:
bool isComponentComplete() const;
@@ -261,7 +254,6 @@ protected:
private Q_SLOTS:
void doUpdate();
- void qmlLoaded();
protected:
QFxItem(QFxItemPrivate &dd, QFxItem *parent = 0);