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/qdesktopwidget_win.cpp

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation ([email protected])
     
    4343#include "qt_windows.h"
    4444#include "qapplication_p.h"
    45 #include "qlibrary.h"
     45#include
    4646#include <qvector.h>
    4747#include <limits.h>
     
    7777
    7878    typedef BOOL (WINAPI *InfoFunc)(HMONITOR, MONITORINFO*);
    79     typedef BOOL (CALLBACK *EnumProc)(HMONITOR, HDC, LPRECT, LPARAM);
     79    typedef BOOL (CALLBACK *EnumProc)(HMONITOR, HDC, LPRECT, LPARAM);
    8080    typedef BOOL (WINAPI *EnumFunc)(HDC, LPCRECT, EnumProc, LPARAM);
    8181
     
    108108
    109109
    110 BOOL CALLBACK enumCallback(HMONITOR hMonitor, HDC, LPRECT, LPARAM)
     110BOOL CALLBACK enumCallback(HMONITOR hMonitor, HDC, LPRECT, LPARAM)
    111111{
    112112    QDesktopWidgetPrivate::screenCount++;
     
    156156
    157157#ifndef Q_OS_WINCE
    158     QLibrary user32Lib(QLatin1String("user32"));
     158    QLibrary user32Lib(QLatin1String("user32"));
    159159    if (user32Lib.load()) {
    160160        enumDisplayMonitors = (EnumFunc)user32Lib.resolve("EnumDisplayMonitors");
     
    174174    getMonitorInfo = 0;
    175175#else
    176     QLibrary coreLib(QLatin1String("coredll"));
     176    QLibrary coreLib(QLatin1String("coredll"));
    177177    if (coreLib.load()) {
    178178        // CE >= 4.0 case
Note: See TracChangeset for help on using the changeset viewer.