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/qwidget_wince.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)
     
    4747
    4848const QString qt_reg_winclass(QWidget *w);                // defined in qapplication_win.cpp
    49 extern "C" LRESULT CALLBACK QtWndProc(HWND, UINT, WPARAM, LPARAM);
     49extern "C" LRESULT QT_WIN_CALLBACK QtWndProc(HWND, UINT, WPARAM, LPARAM);
    5050
    5151//#define TABLET_DEBUG
     
    6464typedef BOOL    (API *PtrWTQueueSizeSet)(HCTX, int);
    6565
     66#ifndef QT_NO_TABLETEVENT
    6667static void qt_tablet_init_wce();
    6768static void qt_tablet_cleanup_wce();
     
    136137    qt_tablet_widget = 0;
    137138}
     139#endif // QT_NO_TABLETEVENT
    138140
    139141
     
    359361    }
    360362
     363#ifndef QT_NO_TABLETEVENT
    361364    if (q != qt_tablet_widget && QWidgetPrivate::mapper)
    362365        qt_tablet_init_wce();
     366#endif // QT_NO_TABLETEVENT
    363367
    364368    if (q->testAttribute(Qt::WA_DropSiteRegistered))
     
    495499                SetWindowLong(internalWinId(), GWL_STYLE, style);
    496500                SetWindowLong(internalWinId(), GWL_EXSTYLE, GetWindowLong (internalWinId(), GWL_EXSTYLE) & ~ WS_EX_NODRAG);
     501                qt_wince_unmaximize(this);
    497502            }
    498503            if (isVisible() && newstate & Qt::WindowMaximized)
     
    587592
    588593// The procedure does nothing, but is required for mousegrabbing to work
    589 LRESULT CALLBACK qJournalRecordProc(int nCode, WPARAM wParam, LPARAM lParam) {
     594LRESULT QT_WIN_CALLBACK qJournalRecordProc(int nCode, WPARAM wParam, LPARAM lParam) {
    590595    Q_UNUSED(nCode);
    591596    Q_UNUSED(wParam);
Note: See TracChangeset for help on using the changeset viewer.