summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qcoreevent.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2011-06-28 12:17:34 +0200
committerQt by Nokia <qt-info@nokia.com>2011-06-29 15:10:14 +0200
commit118b3d3f8415037a1afddc6b962bd809905527d5 (patch)
tree843b8c725400cc468844d41708f2f0543ef0c283 /src/corelib/kernel/qcoreevent.cpp
parentfa65123a86529bbbdaf2b774d741400a3dbfd593 (diff)
Remove Qt3 support functionality from parts of QtCore
Change-Id: I90f391e9bfc412087bd0401e28d2497571f81aa1 Reviewed-on: http://codereview.qt.nokia.com/825 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Liang Qi <liang.qi@nokia.com>
Diffstat (limited to 'src/corelib/kernel/qcoreevent.cpp')
-rw-r--r--src/corelib/kernel/qcoreevent.cpp59
1 files changed, 0 insertions, 59 deletions
diff --git a/src/corelib/kernel/qcoreevent.cpp b/src/corelib/kernel/qcoreevent.cpp
index fbc935ddde..a355b0ad1a 100644
--- a/src/corelib/kernel/qcoreevent.cpp
+++ b/src/corelib/kernel/qcoreevent.cpp
@@ -504,65 +504,6 @@ QChildEvent::~QChildEvent()
false.
*/
-/*!
- \class QCustomEvent
- \brief The QCustomEvent class provides support for custom events.
-
- \compat
-
- QCustomEvent has a \c{void *} that can be used to store custom
- data.
-
- In Qt 3, QObject::customEvent() took a QCustomEvent pointer. We
- found out that this approach was unsatisfactory, because
- there was often no safe way of deleting the data held in the
- \c{void *}.
-
- In Qt 4, QObject::customEvent() takes a plain QEvent pointer.
- You can add custom data by subclassing.
-
- \sa QObject::customEvent(), QCoreApplication::notify()
-*/
-
-/*!
- \fn QCustomEvent::QCustomEvent(int type, void *data)
-
- Constructs a custom event object with the event \a type and a
- pointer to \a data. The value of \a type must be at least as
- large as QEvent::User. By default, the data pointer is set to 0.
-*/
-#ifdef QT3_SUPPORT
-QCustomEvent::QCustomEvent(int type, void *data)
- : QEvent(static_cast<Type>(type))
-{
- d = reinterpret_cast<QEventPrivate *>(data);
-}
-
-/*! \internal
-*/
-QCustomEvent::~QCustomEvent()
-{
-}
-#endif
-/*!
- \fn void QCustomEvent::setData(void *data)
-
- \compat
-
- Sets the generic data pointer to \a data.
-
- \sa data()
-*/
-
-/*!
- \fn void *QCustomEvent::data() const
-
- \compat
-
- Returns a pointer to the generic event data.
-
- \sa setData()
-*/
/*!
\fn bool QChildEvent::inserted() const