diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-03-16 15:04:13 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-05-11 14:51:37 (GMT) |
commit | a72e6d351f136e0cd5e0f9c178e5f09eb70ca2db (patch) | |
tree | fc69eb6f0d84d8504fe91e2b196a482796763d7e /src/gui/kernel/qevent.h | |
parent | 2e91de4a0046c17ff41f4ed533542a5fc3858087 (diff) | |
download | Qt-a72e6d351f136e0cd5e0f9c178e5f09eb70ca2db.zip Qt-a72e6d351f136e0cd5e0f9c178e5f09eb70ca2db.tar.gz Qt-a72e6d351f136e0cd5e0f9c178e5f09eb70ca2db.tar.bz2 |
Removed the use of QSharedPointer from gesture api - since QGesture
are QObject now everything is much simplier.
Diffstat (limited to 'src/gui/kernel/qevent.h')
-rw-r--r-- | src/gui/kernel/qevent.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h index 41005d8..280ca79 100644 --- a/src/gui/kernel/qevent.h +++ b/src/gui/kernel/qevent.h @@ -54,7 +54,6 @@ #include <QtCore/qvariant.h> #include <QtCore/qmap.h> #include <QtCore/qset.h> -#include <QtCore/qsharedpointer.h> #include <QtGui/qgesture.h> QT_BEGIN_HEADER @@ -728,12 +727,12 @@ public: const QGesture* gesture(Qt::GestureType type) const; const QGesture* gesture(const QString &type) const; - QList<QSharedPointer<QGesture> > gestures() const; + QList<QGesture*> gestures() const; QSet<QString> cancelledGestures() const; protected: - QHash<QString, QSharedPointer<QGesture> > m_gestures; + QHash<QString, QGesture*> m_gestures; QSet<QString> m_cancelledGestures; friend class QApplication; |