diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2009-08-26 03:31:06 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2009-08-26 03:31:06 (GMT) |
commit | 620a05f762b647ea70a2a42e8e7cf48033cb1381 (patch) | |
tree | bce9e48aef8e488e2ad79a8985b3e2b3c30d2220 /src/declarative | |
parent | 20e9783d0fc3c71b2a569edda407801aa2e3c371 (diff) | |
download | Qt-620a05f762b647ea70a2a42e8e7cf48033cb1381.zip Qt-620a05f762b647ea70a2a42e8e7cf48033cb1381.tar.gz Qt-620a05f762b647ea70a2a42e8e7cf48033cb1381.tar.bz2 |
doc fixes
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/fx/qfxitem.cpp | 26 |
1 files changed, 7 insertions, 19 deletions
diff --git a/src/declarative/fx/qfxitem.cpp b/src/declarative/fx/qfxitem.cpp index d1e21a3..0e781c9 100644 --- a/src/declarative/fx/qfxitem.cpp +++ b/src/declarative/fx/qfxitem.cpp @@ -301,11 +301,11 @@ void QFxContents::setItem(QFxItem *item) /* Key filters can be installed on a QFxItem, but not removed. Currently they - are only used by attached objects (which are only destroyed on Item - destruction), so this isn't a problem. If in future this becomes any form + are only used by attached objects (which are only destroyed on Item + destruction), so this isn't a problem. If in future this becomes any form of public API, they will have to support removal too. -*/ -class QFxItemKeyFilter +*/ +class QFxItemKeyFilter { public: QFxItemKeyFilter(QFxItem * = 0); @@ -321,7 +321,7 @@ private: QFxItemKeyFilter::QFxItemKeyFilter(QFxItem *item) : m_next(0) { - QFxItemPrivate *p = + QFxItemPrivate *p = item?static_cast<QFxItemPrivate *>(QGraphicsItemPrivate::get(item)):0; if (p) { m_next = p->keyHandler; @@ -346,7 +346,7 @@ void QFxItemKeyFilter::keyReleased(QKeyEvent *event) class QFxKeyNavigationAttachedPrivate : public QObjectPrivate { public: - QFxKeyNavigationAttachedPrivate() + QFxKeyNavigationAttachedPrivate() : QObjectPrivate(), left(0), right(0), up(0), down(0) {} QFxItem *left; @@ -965,7 +965,7 @@ bool QFxKeysAttachedPrivate::isConnected(const char *signalName) } QFxKeysAttached::QFxKeysAttached(QObject *parent) -: QObject(*(new QFxKeysAttachedPrivate), parent), +: QObject(*(new QFxKeysAttachedPrivate), parent), QFxItemKeyFilter(qobject_cast<QFxItem*>(parent)) { } @@ -1076,18 +1076,6 @@ QFxKeysAttached *QFxKeysAttached::qmlAttachedProperties(QObject *obj) */ /*! - \fn void QFxItem::xChanged() - - This signal is emitted when the x coordinate of the item changes. -*/ - -/*! - \fn void QFxItem::yChanged() - - This signal is emitted when the y coordinate of the item changes. -*/ - -/*! \fn void QFxItem::widthChanged() This signal is emitted when the width of the item changes. |