diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2009-08-24 04:57:10 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2009-08-24 05:49:13 (GMT) |
commit | 70564bdb1856243640d11611515a83d339bb4f2f (patch) | |
tree | 861809d0bcecb26fd576d9b98b2d613f87776510 /src/declarative/fx/qfxpositioners.h | |
parent | 4ec82624f77d49c2e5f02b04518c8bde1be16145 (diff) | |
parent | 525e6674b002180d691a2d8a787dc512c259ae95 (diff) | |
download | Qt-70564bdb1856243640d11611515a83d339bb4f2f.zip Qt-70564bdb1856243640d11611515a83d339bb4f2f.tar.gz Qt-70564bdb1856243640d11611515a83d339bb4f2f.tar.bz2 |
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/declarative/fx/qfxpositioners.h')
-rw-r--r-- | src/declarative/fx/qfxpositioners.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/declarative/fx/qfxpositioners.h b/src/declarative/fx/qfxpositioners.h index 9560925..9c18452 100644 --- a/src/declarative/fx/qfxpositioners.h +++ b/src/declarative/fx/qfxpositioners.h @@ -111,35 +111,35 @@ private: Q_DECLARE_PRIVATE_D(QGraphicsItem::d_ptr, QFxBasePositioner) }; -class Q_DECLARATIVE_EXPORT QFxVerticalPositioner : public QFxBasePositioner +class Q_DECLARATIVE_EXPORT QFxColumn : public QFxBasePositioner { Q_OBJECT public: - QFxVerticalPositioner(QFxItem *parent=0); + QFxColumn(QFxItem *parent=0); protected Q_SLOTS: virtual void doPositioning(); private: - Q_DISABLE_COPY(QFxVerticalPositioner) + Q_DISABLE_COPY(QFxColumn) }; -class Q_DECLARATIVE_EXPORT QFxHorizontalPositioner: public QFxBasePositioner +class Q_DECLARATIVE_EXPORT QFxRow: public QFxBasePositioner { Q_OBJECT public: - QFxHorizontalPositioner(QFxItem *parent=0); + QFxRow(QFxItem *parent=0); protected Q_SLOTS: virtual void doPositioning(); private: - Q_DISABLE_COPY(QFxHorizontalPositioner) + Q_DISABLE_COPY(QFxRow) }; -class Q_DECLARATIVE_EXPORT QFxGridPositioner : public QFxBasePositioner +class Q_DECLARATIVE_EXPORT QFxGrid : public QFxBasePositioner { Q_OBJECT Q_PROPERTY(int rows READ rows WRITE setRows) Q_PROPERTY(int columns READ columns WRITE setcolumns) public: - QFxGridPositioner(QFxItem *parent=0); + QFxGrid(QFxItem *parent=0); int rows() const {return _rows;} void setRows(const int rows){_rows = rows;} @@ -152,14 +152,14 @@ protected Q_SLOTS: private: int _rows; int _columns; - Q_DISABLE_COPY(QFxGridPositioner) + Q_DISABLE_COPY(QFxGrid) }; QT_END_NAMESPACE -QML_DECLARE_TYPE(QFxVerticalPositioner) -QML_DECLARE_TYPE(QFxHorizontalPositioner) -QML_DECLARE_TYPE(QFxGridPositioner) +QML_DECLARE_TYPE(QFxColumn) +QML_DECLARE_TYPE(QFxRow) +QML_DECLARE_TYPE(QFxGrid) QT_END_HEADER |