aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickitem.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2012-06-29 13:08:41 +1000
committerQt by Nokia <qt-info@nokia.com>2012-07-02 01:37:38 +0200
commitf8c455e0335b4b0418dd6dba08bbbc78c7b8eea4 (patch)
treec86bb61015135d7e4db654183e805f11a431afc7 /src/quick/items/qquickitem.cpp
parentdf8a18476a7e402694ad669e500b1e10e020dd73 (diff)
anchors.mirrored should not exist in QtQuick 2
anchors.mirrored was removed from QtQuick 1.1 before release, however QtQuick 2 was branched before it was removed, so it currently exists in QtQuick 2. Task-number: QTBUG-26369 Change-Id: Iab85f66f6c5f0ebadc5962cc6962cec15203d55d Reviewed-by: Bea Lam <bea.lam@nokia.com>
Diffstat (limited to 'src/quick/items/qquickitem.cpp')
-rw-r--r--src/quick/items/qquickitem.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/quick/items/qquickitem.cpp b/src/quick/items/qquickitem.cpp
index 2357c5fdd8..b83328a816 100644
--- a/src/quick/items/qquickitem.cpp
+++ b/src/quick/items/qquickitem.cpp
@@ -1619,7 +1619,6 @@ void QQuickItemPrivate::setLayoutMirror(bool mirror)
anchor_d->fillChanged();
anchor_d->centerInChanged();
anchor_d->updateHorizontalAnchors();
- emit _anchors->mirroredChanged();
}
mirrorChange();
if (extra.isAllocated() && extra->layoutDirectionAttached) {
@@ -2851,7 +2850,6 @@ void QQuickItemPrivate::transform_clear(QQmlListProperty<QQuickTransform> *prop)
\qmlproperty real QtQuick2::Item::anchors.verticalCenterOffset
\qmlproperty real QtQuick2::Item::anchors.baselineOffset
- \qmlproperty bool QtQuick2::Item::anchors.mirrored
\qmlproperty bool QtQuick2::Item::anchors.alignWhenCentered
Anchors provide a way to position an item by specifying its
@@ -2911,8 +2909,6 @@ void QQuickItemPrivate::transform_clear(QQmlListProperty<QQuickTransform> *prop)
To clear an anchor value, set it to \c undefined.
- \c anchors.mirrored returns true it the layout has been \l {LayoutMirroring}{mirrored}.
-
\c anchors.alignWhenCentered (default true) forces centered anchors to align to a
whole pixel, i.e. if the item being centered has an odd width/height the item
will be positioned on a whole pixel rather than being placed on a half-pixel.