diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2010-03-18 06:36:46 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2010-03-18 06:36:46 (GMT) |
commit | fee38b5c766b0285ebd3283df0d1b29a978da316 (patch) | |
tree | 59bb2c071e05762c9b8f036cffca9439c96568fe /src/declarative/graphicsitems | |
parent | b338db7f6091629dcfa4cbde3ea58a76e6fa6733 (diff) | |
download | Qt-fee38b5c766b0285ebd3283df0d1b29a978da316.zip Qt-fee38b5c766b0285ebd3283df0d1b29a978da316.tar.gz Qt-fee38b5c766b0285ebd3283df0d1b29a978da316.tar.bz2 |
Add missing semicolons. moc was confused and positionViewAtIndex not invokable.
Diffstat (limited to 'src/declarative/graphicsitems')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativegridview_p.h | 2 | ||||
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativelistview_p.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativegridview_p.h b/src/declarative/graphicsitems/qdeclarativegridview_p.h index f032240..90f13d2 100644 --- a/src/declarative/graphicsitems/qdeclarativegridview_p.h +++ b/src/declarative/graphicsitems/qdeclarativegridview_p.h @@ -138,7 +138,7 @@ public: void setSnapMode(SnapMode mode); enum PositionMode { Beginning, Center, End, Visible, Contain }; - Q_ENUMS(PositionMode) + Q_ENUMS(PositionMode); Q_INVOKABLE void positionViewAtIndex(int index, int mode); Q_INVOKABLE int indexAt(int x, int y) const; diff --git a/src/declarative/graphicsitems/qdeclarativelistview_p.h b/src/declarative/graphicsitems/qdeclarativelistview_p.h index 1ea0080..3635b39 100644 --- a/src/declarative/graphicsitems/qdeclarativelistview_p.h +++ b/src/declarative/graphicsitems/qdeclarativelistview_p.h @@ -192,7 +192,7 @@ public: static QDeclarativeListViewAttached *qmlAttachedProperties(QObject *); enum PositionMode { Beginning, Center, End, Visible, Contain }; - Q_ENUMS(PositionMode) + Q_ENUMS(PositionMode); Q_INVOKABLE void positionViewAtIndex(int index, int mode); Q_INVOKABLE int indexAt(int x, int y) const; |