Changeset 846 for trunk/src/gui/kernel/qapplication_p.h
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/kernel/qapplication_p.h
r769 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 85 85 class QWidget; 86 86 class QSocketNotifier; 87 #ifndef QT_NO_GESTURES 87 88 class QGestureManager; 89 #endif 88 90 89 91 extern bool qt_is_gui_used; … … 201 203 typedef BOOL (WINAPI *PtrCloseTouchInputHandle)(HANDLE); 202 204 205 #ifndef QT_NO_GESTURES 203 206 typedef BOOL (WINAPI *PtrGetGestureInfo)(HANDLE, PVOID); 204 207 typedef BOOL (WINAPI *PtrGetGestureExtraArgs)(HANDLE, UINT, PBYTE); … … 264 267 #endif 265 268 269 #endif // QT_NO_GESTURES 270 266 271 #endif // Q_WS_WIN 267 272 … … 414 419 static QGraphicsSystem *graphics_system; 415 420 static QString graphics_system_name; 421 static bool runtime_graphics_system; 416 422 417 423 private: … … 442 448 static bool widgetCount; // Coupled with -widgetcount switch 443 449 static bool load_testability; // Coupled with -testability switch 450 static QString qmljs_debug_arguments; // a string containing arguments for js/qml debugging. 451 static QString qmljsDebugArgumentsString(); // access string from other libraries 452 444 453 #ifdef Q_WS_MAC 445 454 static bool native_modal_dialog_active; … … 461 470 static OSStatus globalAppleEventProcessor(const AppleEvent *, AppleEvent *, long); 462 471 static OSStatus tabletProximityCallback(EventHandlerCallRef, EventRef, void *); 472 #ifdef QT_MAC_USE_COCOA 473 static void qt_initAfterNSAppStarted(); 474 static void setupAppleEvents(); 475 static void updateOverrideCursor(); 476 static void disableUsageOfCursorRects(bool disable); 477 #endif 463 478 static bool qt_mac_apply_settings(); 464 479 #endif … … 509 524 int symbianResourceChange(const QSymbianEvent *symbianEvent); 510 525 511 #endif 512 #if defined(Q_WS_WIN) || defined(Q_WS_X11) || defined (Q_WS_QWS) || defined(Q_WS_PM) 526 void _q_aboutToQuit(); 527 #endif 528 #if defined(Q_WS_WIN) || defined(Q_WS_X11) || defined (Q_WS_QWS) || defined(Q_WS_MAC) || defined(Q_WS_PM) 513 529 void sendSyntheticEnterLeave(QWidget *widget); 514 530 #endif … … 517 533 #endif 518 534 535 #ifndef QT_NO_GESTURES 519 536 QGestureManager *gestureManager; 520 537 QWidget *gestureWidget; 538 #endif 539 #if defined(Q_WS_X11) || defined(Q_WS_WIN) 540 QPixmap *move_cursor; 541 QPixmap *copy_cursor; 542 QPixmap *link_cursor; 543 #endif 544 #if defined(Q_WS_WIN) 545 QPixmap *ignore_cursor; 546 #endif 547 QPixmap getPixmapCursor(Qt::CursorShape cshape); 521 548 522 549 QMap<int, QWeakPointer<QWidget> > widgetForTouchPointId; … … 543 570 bool translateTouchEvent(const MSG &msg); 544 571 572 #ifndef QT_NO_GESTURES 545 573 PtrGetGestureInfo GetGestureInfo; 546 574 PtrGetGestureExtraArgs GetGestureExtraArgs; … … 551 579 PtrUpdatePanningFeedback UpdatePanningFeedback; 552 580 PtrEndPanningFeedback EndPanningFeedback; 581 #endif // QT_NO_GESTURES 553 582 #endif 554 583 … … 583 612 584 613 #ifdef Q_OS_SYMBIAN 585 staticQHash<TInt, TUint> scanCodeCache;614 QHash<TInt, TUint> scanCodeCache; 586 615 #endif 587 616
Note:
See TracChangeset
for help on using the changeset viewer.