summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qevent.h
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-03-16 15:04:13 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-05-11 14:51:37 (GMT)
commita72e6d351f136e0cd5e0f9c178e5f09eb70ca2db (patch)
treefc69eb6f0d84d8504fe91e2b196a482796763d7e /src/gui/kernel/qevent.h
parent2e91de4a0046c17ff41f4ed533542a5fc3858087 (diff)
downloadQt-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.h5
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;