equal
deleted
inserted
replaced
114 #endif |
114 #endif |
115 |
115 |
116 QT_BEGIN_NAMESPACE |
116 QT_BEGIN_NAMESPACE |
117 Qt::MouseButtons qt_mac_get_buttons(int buttons); |
117 Qt::MouseButtons qt_mac_get_buttons(int buttons); |
118 Qt::MouseButton qt_mac_get_button(EventMouseButton button); |
118 Qt::MouseButton qt_mac_get_button(EventMouseButton button); |
119 void macWindowFade(void * /*OSWindowRef*/ window, float durationSeconds = 0); |
119 void macWindowFade(void * /*OSWindowRef*/ window, float durationSeconds = 0.15); |
120 bool macWindowIsTextured(void * /*OSWindowRef*/ window); |
120 bool macWindowIsTextured(void * /*OSWindowRef*/ window); |
121 void macWindowToolbarShow(const QWidget *widget, bool show ); |
121 void macWindowToolbarShow(const QWidget *widget, bool show ); |
122 void macWindowToolbarSet( void * /*OSWindowRef*/ window, void* toolbarRef ); |
122 void macWindowToolbarSet( void * /*OSWindowRef*/ window, void* toolbarRef ); |
123 bool macWindowToolbarIsVisible( void * /*OSWindowRef*/ window ); |
123 bool macWindowToolbarIsVisible( void * /*OSWindowRef*/ window ); |
124 void macWindowSetHasShadow( void * /*OSWindowRef*/ window, bool hasShadow ); |
124 void macWindowSetHasShadow( void * /*OSWindowRef*/ window, bool hasShadow ); |
168 void *qt_mac_QStringListToNSMutableArrayVoid(const QStringList &list); |
168 void *qt_mac_QStringListToNSMutableArrayVoid(const QStringList &list); |
169 |
169 |
170 void qt_syncCocoaTitleBarButtons(OSWindowRef window, QWidget *widgetForWindow); |
170 void qt_syncCocoaTitleBarButtons(OSWindowRef window, QWidget *widgetForWindow); |
171 |
171 |
172 CGFloat qt_mac_get_scalefactor(); |
172 CGFloat qt_mac_get_scalefactor(); |
173 QString qt_mac_get_pasteboardString(); |
173 QString qt_mac_get_pasteboardString(OSPasteboardRef paste); |
174 |
174 |
175 #ifdef __OBJC__ |
175 #ifdef __OBJC__ |
176 inline NSMutableArray *qt_mac_QStringListToNSMutableArray(const QStringList &qstrlist) |
176 inline NSMutableArray *qt_mac_QStringListToNSMutableArray(const QStringList &qstrlist) |
177 { return reinterpret_cast<NSMutableArray *>(qt_mac_QStringListToNSMutableArrayVoid(qstrlist)); } |
177 { return reinterpret_cast<NSMutableArray *>(qt_mac_QStringListToNSMutableArrayVoid(qstrlist)); } |
178 |
178 |