diff options
author | Frans Englich <frans.englich@nokia.com> | 2009-10-07 12:34:25 (GMT) |
---|---|---|
committer | Frans Englich <frans.englich@nokia.com> | 2009-10-07 12:34:25 (GMT) |
commit | 5695b50d2f21e94e8c284148367d2656d1158722 (patch) | |
tree | d29f2194a812a27d78f143bde046ae577d6c61ff /src/3rdparty/phonon | |
parent | 350f97874544396a99cf82b47eb9a6e50838a88a (diff) | |
parent | 75b41faff44a1488d88eca6e910d4b617cb42221 (diff) | |
download | Qt-5695b50d2f21e94e8c284148367d2656d1158722.zip Qt-5695b50d2f21e94e8c284148367d2656d1158722.tar.gz Qt-5695b50d2f21e94e8c284148367d2656d1158722.tar.bz2 |
Merge commit 'qt/4.6' into mmfphonon
Diffstat (limited to 'src/3rdparty/phonon')
-rw-r--r-- | src/3rdparty/phonon/phonon/objectdescriptionmodel.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/3rdparty/phonon/phonon/objectdescriptionmodel.h b/src/3rdparty/phonon/phonon/objectdescriptionmodel.h index ba3cb42..9af2615 100644 --- a/src/3rdparty/phonon/phonon/objectdescriptionmodel.h +++ b/src/3rdparty/phonon/phonon/objectdescriptionmodel.h @@ -175,26 +175,18 @@ namespace Phonon * \author Matthias Kretz <kretz@kde.org> */ template<ObjectDescriptionType type> - class ObjectDescriptionModel : public QAbstractListModel + class PHONON_EXPORT ObjectDescriptionModel : public QAbstractListModel { public: Q_OBJECT_CHECK -/* MinGW 3.4.x gives an ICE when trying to instantiate one of the - ObjectDescriptionModel<foo> classes because it can't handle - half exported classes correct. gcc 4.3.x has a fix for this but - we currently there's no official gcc 4.3 on windows available. - Because of this we need this little hack - */ -#if !defined(Q_CC_MINGW) || __MINGW32_MAJOR_VERSION >= 4 /** \internal */ - static PHONON_EXPORT const QMetaObject staticMetaObject; + static const QMetaObject staticMetaObject; /** \internal */ - PHONON_EXPORT const QMetaObject *metaObject() const; + const QMetaObject *metaObject() const; /** \internal */ - PHONON_EXPORT void *qt_metacast(const char *_clname); + void *qt_metacast(const char *_clname); //int qt_metacall(QMetaObject::Call _c, int _id, void **_a); -#endif /** * Returns the number of rows in the model. This value corresponds |