Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/kernel/qapplication_p.h

    r769 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    8585class QWidget;
    8686class QSocketNotifier;
     87#ifndef QT_NO_GESTURES
    8788class QGestureManager;
     89#endif
    8890
    8991extern bool qt_is_gui_used;
     
    201203typedef BOOL (WINAPI *PtrCloseTouchInputHandle)(HANDLE);
    202204
     205#ifndef QT_NO_GESTURES
    203206typedef BOOL (WINAPI *PtrGetGestureInfo)(HANDLE, PVOID);
    204207typedef BOOL (WINAPI *PtrGetGestureExtraArgs)(HANDLE, UINT, PBYTE);
     
    264267#endif
    265268
     269#endif // QT_NO_GESTURES
     270
    266271#endif // Q_WS_WIN
    267272
     
    414419    static QGraphicsSystem *graphics_system;
    415420    static QString graphics_system_name;
     421    static bool runtime_graphics_system;
    416422
    417423private:
     
    442448    static bool widgetCount; // Coupled with -widgetcount switch
    443449    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
    444453#ifdef Q_WS_MAC
    445454    static bool native_modal_dialog_active;
     
    461470    static OSStatus globalAppleEventProcessor(const AppleEvent *, AppleEvent *, long);
    462471    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
    463478    static bool qt_mac_apply_settings();
    464479#endif
     
    509524    int symbianResourceChange(const QSymbianEvent *symbianEvent);
    510525
    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)
    513529    void sendSyntheticEnterLeave(QWidget *widget);
    514530#endif
     
    517533#endif
    518534
     535#ifndef QT_NO_GESTURES
    519536    QGestureManager *gestureManager;
    520537    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);
    521548
    522549    QMap<int, QWeakPointer<QWidget> > widgetForTouchPointId;
     
    543570    bool translateTouchEvent(const MSG &msg);
    544571
     572#ifndef QT_NO_GESTURES
    545573    PtrGetGestureInfo GetGestureInfo;
    546574    PtrGetGestureExtraArgs GetGestureExtraArgs;
     
    551579    PtrUpdatePanningFeedback UpdatePanningFeedback;
    552580    PtrEndPanningFeedback EndPanningFeedback;
     581#endif // QT_NO_GESTURES
    553582#endif
    554583
     
    583612
    584613#ifdef Q_OS_SYMBIAN
    585     static QHash<TInt, TUint> scanCodeCache;
     614    QHash<TInt, TUint> scanCodeCache;
    586615#endif
    587616
Note: See TracChangeset for help on using the changeset viewer.