_states()->setState(state);
}
+QString QSGItem::state() const
+{
+ Q_D(const QSGItem);
+ return d->state();
+}
+
+void QSGItem::setState(const QString &state)
+{
+ Q_D(QSGItem);
+ d->setState(state);
+}
+
QDeclarativeListProperty<QSGTransform> QSGItem::transform()
{
Q_D(QSGItem);
Q_PRIVATE_PROPERTY(QSGItem::d_func(), QDeclarativeListProperty<QDeclarativeState> states READ states DESIGNABLE false)
Q_PRIVATE_PROPERTY(QSGItem::d_func(), QDeclarativeListProperty<QDeclarativeTransition> transitions READ transitions DESIGNABLE false)
- Q_PRIVATE_PROPERTY(QSGItem::d_func(), QString state READ state WRITE setState NOTIFY stateChanged)
+ Q_PROPERTY(QString state READ state WRITE setState NOTIFY stateChanged)
Q_PROPERTY(QRectF childrenRect READ childrenRect NOTIFY childrenRectChanged DESIGNABLE false FINAL)
Q_PRIVATE_PROPERTY(QSGItem::d_func(), QSGAnchors * anchors READ anchors DESIGNABLE false CONSTANT FINAL)
Q_PRIVATE_PROPERTY(QSGItem::d_func(), QSGAnchorLine left READ left CONSTANT FINAL)
bool clip() const;
void setClip(bool);
+ QString state() const;
+ void setState(const QString &);
+
qreal baselineOffset() const;
void setBaselineOffset(qreal);