diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-09-28 20:30:25 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-09-29 08:54:06 +0200 |
commit | e9ccc40c28d11d7d17e6c79a627590f730b7c120 (patch) | |
tree | 1d3ddac7217c7d0145e9b6f273d7213b5b60ac23 /src/gui/kernel/qevent.h | |
parent | 95cebd34ebc5b4d39b11dc91610309a35e488663 (diff) |
Get rid of the last traces of QMimeSource
The class has been deprecated since Qt 4.0, but
couldn't be removed as QDropEvent inherited from
it.
Change-Id: I9caa19b30977a319e79255900dee8b2425783f46
Reviewed-on: http://codereview.qt-project.org/5754
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Diffstat (limited to 'src/gui/kernel/qevent.h')
-rw-r--r-- | src/gui/kernel/qevent.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h index faa80d5c7d..7e9ca97051 100644 --- a/src/gui/kernel/qevent.h +++ b/src/gui/kernel/qevent.h @@ -49,7 +49,6 @@ #include <QtCore/qstring.h> #include <QtGui/qkeysequence.h> #include <QtCore/qcoreevent.h> -#include <QtGui/qmime.h> #include <QtCore/qvariant.h> #include <QtCore/qmap.h> #include <QtCore/qvector.h> @@ -475,9 +474,6 @@ private: class QMimeData; class Q_GUI_EXPORT QDropEvent : public QEvent -// QT3_SUPPORT - , public QMimeSource -// END QT3_SUPPORT { public: QDropEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData *data, @@ -498,13 +494,6 @@ public: QObject* source() const; inline const QMimeData *mimeData() const { return mdata; } -// QT3_SUPPORT - const char* format(int n = 0) const; - QByteArray encodedData(const char*) const; - bool provides(const char*) const; -// END QT3_SUPPORT - - protected: friend class QApplication; QPoint p; @@ -514,7 +503,6 @@ protected: Qt::DropAction drop_action; Qt::DropAction default_action; const QMimeData *mdata; - mutable QList<QByteArray> fmts; // only used for QT3_SUPPORT }; |