diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-09-10 19:50:08 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-09-10 19:50:08 (GMT) |
commit | 31cc0b1820c0c8fdfdbc3d5b804f2dba2051c96f (patch) | |
tree | 957b84d8f1792f9e5a43c879274469c4f07168ea /src/gui/dialogs | |
parent | e0ef11578048620b3f107b7a357fed3aade0d21e (diff) | |
parent | b3981fd1f7b82742857c613af6dfbe41b5493577 (diff) | |
download | Qt-31cc0b1820c0c8fdfdbc3d5b804f2dba2051c96f.zip Qt-31cc0b1820c0c8fdfdbc3d5b804f2dba2051c96f.tar.gz Qt-31cc0b1820c0c8fdfdbc3d5b804f2dba2051c96f.tar.bz2 |
Merge branch 'qt-master-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration into master-integration
* 'qt-master-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration: (284 commits)
Fixed crash in input methods when using symbols menu and numbers only
Fixed crash in input methods when using symbols menu and numbers only
Read the data when the stream passed in is of type CArchiveStream
Autotest for QTBUG-13454.
Changing the Image 'source' should not go through the 'Loading' state if the image is cached.
Make sure we blit to the correct FBO in the GL window surface.
Some optimizations to the GL pixmap data.
QList::toVector()/QVector::toStdVector()/QVector::fromStdVector(): use reserve()
When a move is completed, report the source and destination correctly.
Fixed the scrolling of text in QLineEdit with right alignment
Editable QComboBox popup immediately closes itself after a click
Change RLibrary handle in QS60PluginResolver to be process wide
Cursor is misplaced in the editors text area
Update running animations if a SmoothedAnimation is changed
Removing Q_ENUMS declaration in QTransform
QSslSocketPrivate::systemCaCertificates() hangs sometimes on Symbian
Fix SmoothedAnimation test and docs
Fix qdeclarativeimageprovider autotest compilation on Symbian
Fix reversingModes of QDeclarativeSmoothedAnimation
Re-add quit button to declarative Twitter demo
...
Diffstat (limited to 'src/gui/dialogs')
-rw-r--r-- | src/gui/dialogs/qfiledialog_win.cpp | 12 | ||||
-rw-r--r-- | src/gui/dialogs/qwizard_win.cpp | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/dialogs/qfiledialog_win.cpp b/src/gui/dialogs/qfiledialog_win.cpp index 258707c..5b192b4 100644 --- a/src/gui/dialogs/qfiledialog_win.cpp +++ b/src/gui/dialogs/qfiledialog_win.cpp @@ -52,7 +52,7 @@ #include <qbuffer.h> #include <qdir.h> #include <qstringlist.h> -#include <qlibrary.h> +#include <private/qsystemlibrary_p.h> #include "qfiledialog_win_p.h" #ifndef QT_NO_THREAD @@ -100,10 +100,10 @@ static void qt_win_resolve_libs() triedResolve = true; #if !defined(Q_WS_WINCE) - QLibrary lib(QLatin1String("shell32")); - ptrSHBrowseForFolder = (PtrSHBrowseForFolder) lib.resolve("SHBrowseForFolderW"); - ptrSHGetPathFromIDList = (PtrSHGetPathFromIDList) lib.resolve("SHGetPathFromIDListW"); - ptrSHGetMalloc = (PtrSHGetMalloc) lib.resolve("SHGetMalloc"); + QSystemLibrary lib(L"shell32"); + ptrSHBrowseForFolder = (PtrSHBrowseForFolder)lib.resolve("SHBrowseForFolderW"); + ptrSHGetPathFromIDList = (PtrSHGetPathFromIDList)lib.resolve("SHGetPathFromIDListW"); + ptrSHGetMalloc = (PtrSHGetMalloc)lib.resolve("SHGetMalloc"); #else // CE stores them in a different lib and does not use unicode version HINSTANCE handle = LoadLibrary(L"Ceshell"); @@ -409,7 +409,7 @@ static bool qt_win_set_IFileDialogOptions(IFileDialog *pfd, { if (!pSHCreateItemFromParsingName) { // This function is available only in Vista & above. - QLibrary shellLib(QLatin1String("Shell32")); + QSystemLibrary shellLib(QLatin1String("Shell32")); pSHCreateItemFromParsingName = (PtrSHCreateItemFromParsingName) shellLib.resolve("SHCreateItemFromParsingName"); if (!pSHCreateItemFromParsingName) diff --git a/src/gui/dialogs/qwizard_win.cpp b/src/gui/dialogs/qwizard_win.cpp index ad8801a..5fca8f2 100644 --- a/src/gui/dialogs/qwizard_win.cpp +++ b/src/gui/dialogs/qwizard_win.cpp @@ -43,7 +43,7 @@ #ifndef QT_NO_STYLE_WINDOWSVISTA #include "qwizard_win_p.h" -#include "qlibrary.h" +#include <private/qsystemlibrary_p.h> #include "qwizard.h" #include "qpaintengine.h" #include "qapplication.h" @@ -706,7 +706,7 @@ bool QVistaHelper::resolveSymbols() static bool tried = false; if (!tried) { tried = true; - QLibrary dwmLib(QString::fromAscii("dwmapi")); + QSystemLibrary dwmLib(L"dwmapi"); pDwmIsCompositionEnabled = (PtrDwmIsCompositionEnabled)dwmLib.resolve("DwmIsCompositionEnabled"); if (pDwmIsCompositionEnabled) { @@ -714,7 +714,7 @@ bool QVistaHelper::resolveSymbols() pDwmExtendFrameIntoClientArea = (PtrDwmExtendFrameIntoClientArea)dwmLib.resolve("DwmExtendFrameIntoClientArea"); } - QLibrary themeLib(QString::fromAscii("uxtheme")); + QSystemLibrary themeLib(L"uxtheme"); pIsAppThemed = (PtrIsAppThemed)themeLib.resolve("IsAppThemed"); if (pIsAppThemed) { pDrawThemeBackground = (PtrDrawThemeBackground)themeLib.resolve("DrawThemeBackground"); |