summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qcocoapanel_mac_p.h
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>2010-12-09 13:10:57 (GMT)
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>2011-01-17 13:35:51 (GMT)
commit72aa2eb43b0cf5a6eef940da05ac58f605794ffb (patch)
treee71eca54cfa309286b5203601c7ed2f3461a26ad /src/gui/kernel/qcocoapanel_mac_p.h
parent09656c9b57af5bb383d029c62396b536899b28e7 (diff)
downloadQt-72aa2eb43b0cf5a6eef940da05ac58f605794ffb.zip
Qt-72aa2eb43b0cf5a6eef940da05ac58f605794ffb.tar.gz
Qt-72aa2eb43b0cf5a6eef940da05ac58f605794ffb.tar.bz2
Alien implementation for the Cocoa port
Give Alien on Cocoa a warm welcome.
Diffstat (limited to 'src/gui/kernel/qcocoapanel_mac_p.h')
-rw-r--r--src/gui/kernel/qcocoapanel_mac_p.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gui/kernel/qcocoapanel_mac_p.h b/src/gui/kernel/qcocoapanel_mac_p.h
index 3678f81..3accc1b 100644
--- a/src/gui/kernel/qcocoapanel_mac_p.h
+++ b/src/gui/kernel/qcocoapanel_mac_p.h
@@ -50,20 +50,27 @@
// We mean it.
//
+#ifndef QCOCOAPANEL_MAC_P
+#define QCOCOAPANEL_MAC_P
+
#include "qmacdefines_mac.h"
#ifdef QT_MAC_USE_COCOA
#import <Cocoa/Cocoa.h>
QT_FORWARD_DECLARE_CLASS(QStringList);
+QT_FORWARD_DECLARE_CLASS(QCocoaDropData);
@interface QT_MANGLE_NAMESPACE(QCocoaPanel) : NSPanel {
- bool leftButtonIsRightButton;
QStringList *currentCustomDragTypes;
+ QCocoaDropData *dropData;
+ NSInteger dragEnterSequence;
}
+ (Class)frameViewClassForStyleMask:(NSUInteger)styleMask;
- (void)registerDragTypes;
+- (void)drawRectOriginal:(NSRect)rect;
@end
#endif
+#endif