Changeset 846 for trunk/src/gui/kernel/qdesktopwidget_win.cpp
- 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/qdesktopwidget_win.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 43 43 #include "qt_windows.h" 44 44 #include "qapplication_p.h" 45 #include "qlibrary.h"45 #include 46 46 #include <qvector.h> 47 47 #include <limits.h> … … 77 77 78 78 typedef BOOL (WINAPI *InfoFunc)(HMONITOR, MONITORINFO*); 79 typedef BOOL ( CALLBACK *EnumProc)(HMONITOR, HDC, LPRECT, LPARAM);79 typedef BOOL (CALLBACK *EnumProc)(HMONITOR, HDC, LPRECT, LPARAM); 80 80 typedef BOOL (WINAPI *EnumFunc)(HDC, LPCRECT, EnumProc, LPARAM); 81 81 … … 108 108 109 109 110 BOOL CALLBACK enumCallback(HMONITOR hMonitor, HDC, LPRECT, LPARAM)110 BOOL CALLBACK enumCallback(HMONITOR hMonitor, HDC, LPRECT, LPARAM) 111 111 { 112 112 QDesktopWidgetPrivate::screenCount++; … … 156 156 157 157 #ifndef Q_OS_WINCE 158 Q Library user32Lib(QLatin1String("user32"));158 QLibrary user32Lib(QLatin1String("user32")); 159 159 if (user32Lib.load()) { 160 160 enumDisplayMonitors = (EnumFunc)user32Lib.resolve("EnumDisplayMonitors"); … … 174 174 getMonitorInfo = 0; 175 175 #else 176 Q Library coreLib(QLatin1String("coredll"));176 QLibrary coreLib(QLatin1String("coredll")); 177 177 if (coreLib.load()) { 178 178 // CE >= 4.0 case
Note:
See TracChangeset
for help on using the changeset viewer.