summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndy Shaw <qt-info@nokia.com>2009-07-21 14:19:50 +0200
committerAndy Shaw <qt-info@nokia.com>2009-07-21 14:19:50 +0200
commit21556aeb9bbfe86b742af9b75a160c44c914f41c (patch)
tree29c0ff4ef49b70497af9cfee816abf3aec8b33e4 /src
parentc5e9b0238f0bfe0b8e2c415078011c6d6b34fb11 (diff)
Another fix needed to build in a namespace on Mac with -arch ppc
Don't know how this got lost in the original submit since I had added both. Task-number: 257080 Reviewed-by: nrc
Diffstat (limited to 'src')
-rw-r--r--src/gui/kernel/qt_cocoa_helpers_mac_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/kernel/qt_cocoa_helpers_mac_p.h b/src/gui/kernel/qt_cocoa_helpers_mac_p.h
index 5156b9c74f..9cb5398413 100644
--- a/src/gui/kernel/qt_cocoa_helpers_mac_p.h
+++ b/src/gui/kernel/qt_cocoa_helpers_mac_p.h
@@ -105,6 +105,8 @@
#include <qpoint.h>
#include "private/qt_mac_p.h"
+struct HIContentBorderMetrics;
+
#ifdef Q_WS_MAC32
typedef struct _NSPoint NSPoint; // Just redefine here so I don't have to pull in all of Cocoa.
#else
@@ -121,7 +123,6 @@ void macWindowToolbarSet( void * /*OSWindowRef*/ window, void* toolbarRef );
bool macWindowToolbarVisible( void * /*OSWindowRef*/ window );
void macWindowSetHasShadow( void * /*OSWindowRef*/ window, bool hasShadow );
void macWindowFlush(void * /*OSWindowRef*/ window);
-struct HIContentBorderMetrics;
void qt_mac_updateContentBorderMetricts(void * /*OSWindowRef */window, const ::HIContentBorderMetrics &metrics);
void * /*NSImage */qt_mac_create_nsimage(const QPixmap &pm);
void qt_mac_update_mouseTracking(QWidget *widget);