diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-08-05 01:56:44 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-08-05 01:56:44 (GMT) |
commit | b8d8ae2dc5be1a90b65faeb94ca188beda46dc1e (patch) | |
tree | a5dc4434e03787a99ff441c829598cd17d3464ce /src/declarative/fx/qfxanchors_p.h | |
parent | dcb3dc40abc18cedfa0c984a9a6fe693c6b5789c (diff) | |
download | Qt-b8d8ae2dc5be1a90b65faeb94ca188beda46dc1e.zip Qt-b8d8ae2dc5be1a90b65faeb94ca188beda46dc1e.tar.gz Qt-b8d8ae2dc5be1a90b65faeb94ca188beda46dc1e.tar.bz2 |
Make QFxAnchorLine private and internal
Diffstat (limited to 'src/declarative/fx/qfxanchors_p.h')
-rw-r--r-- | src/declarative/fx/qfxanchors_p.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/declarative/fx/qfxanchors_p.h b/src/declarative/fx/qfxanchors_p.h index ca42966..9b1bc18 100644 --- a/src/declarative/fx/qfxanchors_p.h +++ b/src/declarative/fx/qfxanchors_p.h @@ -58,6 +58,31 @@ QT_BEGIN_NAMESPACE +class QFxAnchorLine +{ +public: + QFxAnchorLine() : item(0), anchorLine(Invalid) + { + } + + enum AnchorLine { + Invalid = 0x0, + Left = 0x01, + Right = 0x02, + Top = 0x04, + Bottom = 0x08, + HCenter = 0x10, + VCenter = 0x20, + Baseline = 0x40, + Horizontal_Mask = Left | Right | HCenter, + Vertical_Mask = Top | Bottom | VCenter | Baseline + }; + + QFxItem *item; + AnchorLine anchorLine; +}; +Q_DECLARE_METATYPE(QFxAnchorLine) + class QFxAnchorsPrivate : public QObjectPrivate { Q_DECLARE_PUBLIC(QFxAnchors) |