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:
15 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/activeqt/container/container.pro

    r561 r846  
    2020LIBS    += -lole32 -loleaut32
    2121!wince*:LIBS    += -luser32 -lgdi32 -ladvapi32
    22 win32-g++:LIBS += -luuid
     22win32-g++*:LIBS += -luuid
    2323
    2424HEADERS =   ../control/qaxaggregated.h \
  • trunk/src/activeqt/container/qaxbase.cpp

    r651 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)
     
    13541354
    13551355// There seams to be a naming problem in mingw headers
    1356 #ifdef Q_CC_GNU
    1357 #ifndef COAUTHIDENTITY
     1356#if defined(Q_CC_GNU) && !defined(COAUTHIDENTITY) && !defined(__MINGW64_VERSION_MAJOR)
    13581357#define COAUTHIDENTITY AUTH_IDENTITY
    1359 #endif
    13601358#endif
    13611359
     
    16741672        switch(vartype) {
    16751673        case QVariant::Invalid:
     1674        case QVariant::UserType:
    16761675            if (prop.type == "QVariant") {
    16771676                prop.typeId |= 0xff << 24;
    16781677                break;
    16791678            }
    1680             // fall through
    1681         case QVariant::UserType:
    16821679            if (QMetaType::type(prop.type) == -1)
    16831680                qWarning("QAxBase: Unsupported property type: %s", prop.type.data());
     
    25442541            }
    25452542            if (funcdesc->invkind == INVOKE_PROPERTYPUT) {
     2543                // remove the typename guessed for property setters
     2544                // its done only for setter's with more than one parameter.
     2545                if (funcdesc->cParams - funcdesc->cParamsOpt > 1) {
     2546                    type.clear();
     2547                }
    25462548                QByteArray set;
    25472549                if (isupper(prototype.at(0))) {
  • trunk/src/activeqt/container/qaxbase.h

    r651 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)
  • trunk/src/activeqt/container/qaxdump.cpp

    r651 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)
  • trunk/src/activeqt/container/qaxobject.cpp

    r651 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)
  • trunk/src/activeqt/container/qaxobject.h

    r651 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)
  • trunk/src/activeqt/container/qaxscript.cpp

    r651 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)
  • trunk/src/activeqt/container/qaxscript.h

    r651 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)
  • trunk/src/activeqt/container/qaxscriptwrapper.cpp

    r651 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)
  • trunk/src/activeqt/container/qaxselect.cpp

    r651 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)
  • trunk/src/activeqt/container/qaxselect.h

    r651 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)
  • trunk/src/activeqt/container/qaxselect.ui

    r651 r846  
    33  <comment>*********************************************************************
    44**
    5 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     5** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    66** All rights reserved.
    77** Contact: Nokia Corporation (qt-info@nokia.com)
  • trunk/src/activeqt/container/qaxwidget.cpp

    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)
     
    7878
    7979// missing interface from win32api
    80 #if defined(Q_CC_GNU)
    81 #   if !defined(IOleInPlaceObjectWindowless)
    82 #       undef INTERFACE
    83 #       define INTERFACE IOleInPlaceObjectWindowless
    84         DECLARE_INTERFACE_(IOleInPlaceObjectWindowless,IOleInPlaceObject)
    85         {
    86            STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
    87            STDMETHOD_(ULONG,AddRef)(THIS) PURE;
    88            STDMETHOD_(ULONG,Release)(THIS) PURE;
    89            STDMETHOD(GetWindow)(THIS_ HWND*) PURE;
    90            STDMETHOD(ContextSensitiveHelp)(THIS_ BOOL) PURE;
    91            STDMETHOD(InPlaceDeactivate)(THIS) PURE;
    92            STDMETHOD(UIDeactivate)(THIS) PURE;
    93            STDMETHOD(SetObjectRects)(THIS_ LPCRECT,LPCRECT) PURE;
    94            STDMETHOD(ReactivateAndUndo)(THIS) PURE;
    95            STDMETHOD(OnWindowMessage)(THIS_ UINT, WPARAM, LPARAM, LRESULT*) PURE;
    96            STDMETHOD(GetDropTarget)(THIS_ IDropTarget**) PURE;
    97         };
    98 #   endif
     80#if defined(Q_CC_GNU) && !defined(__MINGW64_VERSION_MAJOR)
     81    DECLARE_INTERFACE_(IOleInPlaceObjectWindowless,IOleInPlaceObject)
     82    {
     83       STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
     84       STDMETHOD_(ULONG,AddRef)(THIS) PURE;
     85       STDMETHOD_(ULONG,Release)(THIS) PURE;
     86       STDMETHOD(GetWindow)(THIS_ HWND*) PURE;
     87       STDMETHOD(ContextSensitiveHelp)(THIS_ BOOL) PURE;
     88       STDMETHOD(InPlaceDeactivate)(THIS) PURE;
     89       STDMETHOD(UIDeactivate)(THIS) PURE;
     90       STDMETHOD(SetObjectRects)(THIS_ LPCRECT,LPCRECT) PURE;
     91       STDMETHOD(ReactivateAndUndo)(THIS) PURE;
     92       STDMETHOD(OnWindowMessage)(THIS_ UINT, WPARAM, LPARAM, LRESULT*) PURE;
     93       STDMETHOD(GetDropTarget)(THIS_ IDropTarget**) PURE;
     94    };
    9995#endif
    10096
     
    10131009    }
    10141010    // ActiveQt based in-processes-servers will handle the event properly, so
    1015     // we dont need to send this key event to the host.
     1011    // we don't need to send this key event to the host.
    10161012    return S_OK;
    10171013}
  • trunk/src/activeqt/container/qaxwidget.h

    r651 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)
Note: See TracChangeset for help on using the changeset viewer.