summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDmytro Poplavskiy <dmytro.poplavskiy@nokia.com>2010-03-04 05:47:29 (GMT)
committerDmytro Poplavskiy <dmytro.poplavskiy@nokia.com>2010-03-04 05:47:29 (GMT)
commitf8bbe2b1b848cff3205cdcc2a8519cd98352f933 (patch)
treef3251c995b6a339432ffe47d713a4c3a9b712eae /src
parentc24280aef0962c4a45f9fa6c927b2df3a5f34245 (diff)
parent1cc9c745f09c3399aeccc0f9b8ca07bbbfaf143b (diff)
downloadQt-f8bbe2b1b848cff3205cdcc2a8519cd98352f933.zip
Qt-f8bbe2b1b848cff3205cdcc2a8519cd98352f933.tar.gz
Qt-f8bbe2b1b848cff3205cdcc2a8519cd98352f933.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging into 4.7
Diffstat (limited to 'src')
-rw-r--r--src/corelib/tools/qsimd_p.h7
-rw-r--r--src/gui/kernel/qt_cocoa_helpers_mac.mm2
-rw-r--r--src/plugins/qdeclarativemodules/multimedia/multimedia.cpp3
3 files changed, 6 insertions, 6 deletions
diff --git a/src/corelib/tools/qsimd_p.h b/src/corelib/tools/qsimd_p.h
index 724f3e0..21f308d 100644
--- a/src/corelib/tools/qsimd_p.h
+++ b/src/corelib/tools/qsimd_p.h
@@ -47,9 +47,6 @@
QT_BEGIN_HEADER
-QT_BEGIN_NAMESPACE
-
-QT_MODULE(Core)
#if defined(QT_NO_MAC_XARCH) || (defined(Q_OS_DARWIN) && (defined(__ppc__) || defined(__ppc64__)))
// Disable MMX and SSE on Mac/PPC builds, or if the compiler
@@ -103,6 +100,10 @@ QT_MODULE(Core)
#include <mm3dnow.h>
#endif
+QT_BEGIN_NAMESPACE
+
+QT_MODULE(Core)
+
enum CPUFeatures {
None = 0,
MMX = 0x1,
diff --git a/src/gui/kernel/qt_cocoa_helpers_mac.mm b/src/gui/kernel/qt_cocoa_helpers_mac.mm
index 9560952..c776b2a 100644
--- a/src/gui/kernel/qt_cocoa_helpers_mac.mm
+++ b/src/gui/kernel/qt_cocoa_helpers_mac.mm
@@ -373,7 +373,7 @@ QMacTabletHash *qt_mac_tablet_hash()
// Clears the QWidget pointer that each QCocoaView holds.
void qt_mac_clearCocoaViewQWidgetPointers(QWidget *widget)
{
- QCocoaView *cocoaView = reinterpret_cast<QCocoaView *>(qt_mac_nativeview_for(widget));
+ QT_MANGLE_NAMESPACE(QCocoaView) *cocoaView = reinterpret_cast<QT_MANGLE_NAMESPACE(QCocoaView) *>(qt_mac_nativeview_for(widget));
if (cocoaView && [cocoaView respondsToSelector:@selector(qt_qwidget)]) {
[cocoaView qt_clearQWidget];
}
diff --git a/src/plugins/qdeclarativemodules/multimedia/multimedia.cpp b/src/plugins/qdeclarativemodules/multimedia/multimedia.cpp
index e03d8f3..a2e74f4 100644
--- a/src/plugins/qdeclarativemodules/multimedia/multimedia.cpp
+++ b/src/plugins/qdeclarativemodules/multimedia/multimedia.cpp
@@ -47,11 +47,10 @@
#include "qdeclarativeaudio_p.h"
+QML_DECLARE_TYPE(QSoundEffect)
QT_BEGIN_NAMESPACE
-QML_DECLARE_TYPE(QSoundEffect)
-
class QMultimediaDeclarativeModule : public QDeclarativeExtensionPlugin
{
Q_OBJECT