summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qmlgraphicsitem.h
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-11-17 06:40:29 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-11-17 06:40:29 (GMT)
commit00ba769bd417ff005a5e9854bfcc5dbd0acd9848 (patch)
treeac0d7116d50c0251f8d2551401bb16c6001b8e2d /src/declarative/graphicsitems/qmlgraphicsitem.h
parentd4f2c30ba3ab70a3f40fb7699a6924c1155c83d3 (diff)
downloadQt-00ba769bd417ff005a5e9854bfcc5dbd0acd9848.zip
Qt-00ba769bd417ff005a5e9854bfcc5dbd0acd9848.tar.gz
Qt-00ba769bd417ff005a5e9854bfcc5dbd0acd9848.tar.bz2
AnchorChanges autotests
Diffstat (limited to 'src/declarative/graphicsitems/qmlgraphicsitem.h')
-rw-r--r--src/declarative/graphicsitems/qmlgraphicsitem.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicsitem.h b/src/declarative/graphicsitems/qmlgraphicsitem.h
index 11d6e2e..d092896 100644
--- a/src/declarative/graphicsitems/qmlgraphicsitem.h
+++ b/src/declarative/graphicsitems/qmlgraphicsitem.h
@@ -157,6 +157,14 @@ public:
bool keepMouseGrab() const;
void setKeepMouseGrab(bool);
+ QmlGraphicsAnchorLine left() const;
+ QmlGraphicsAnchorLine right() const;
+ QmlGraphicsAnchorLine horizontalCenter() const;
+ QmlGraphicsAnchorLine top() const;
+ QmlGraphicsAnchorLine bottom() const;
+ QmlGraphicsAnchorLine verticalCenter() const;
+ QmlGraphicsAnchorLine baseline() const;
+
Q_SIGNALS:
void widthChanged();
void heightChanged();
@@ -193,15 +201,6 @@ protected:
QmlGraphicsItem(QmlGraphicsItemPrivate &dd, QmlGraphicsItem *parent = 0);
private:
- // ### public?
- QmlGraphicsAnchorLine left() const;
- QmlGraphicsAnchorLine right() const;
- QmlGraphicsAnchorLine horizontalCenter() const;
- QmlGraphicsAnchorLine top() const;
- QmlGraphicsAnchorLine bottom() const;
- QmlGraphicsAnchorLine verticalCenter() const;
- QmlGraphicsAnchorLine baseline() const;
-
friend class QmlStatePrivate;
friend class QmlGraphicsAnchors;
Q_DISABLE_COPY(QmlGraphicsItem)