diff options
author | Pavel Dubsky <pavel.dubsky@qt.io> | 2024-02-06 13:39:16 +0100 |
---|---|---|
committer | Pavel Dubsky <pavel.dubsky@qt.io> | 2024-02-27 22:26:02 +0100 |
commit | 4a705f5f29aa5ffce8db87fe54f7e70c08124d80 (patch) | |
tree | 1f2e5772dd940cd257394a6266d69b03cd6623e0 /src/plugins/platforms/windows/qwindowsdrag.cpp | |
parent | 2de8ad284e57a87490ec6df8a2af605a6f0a6e8f (diff) |
Replace QWindowsComBase with QComObject
Currently with have two base classes for COM-objects that implement
basic IUnknown functionality and the idea is to remove duplication and
keep just one. Since QComObject supports more features than
QWindowsComBase, such as multiple inheritance and intermediate interface
querying, we should switch to the former one.
Change-Id: Ief6567496de9f547b936de91d634c6998ba59a75
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsdrag.cpp')
-rw-r--r-- | src/plugins/platforms/windows/qwindowsdrag.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/platforms/windows/qwindowsdrag.cpp b/src/plugins/platforms/windows/qwindowsdrag.cpp index e8ec8d24a2..c6f55c3509 100644 --- a/src/plugins/platforms/windows/qwindowsdrag.cpp +++ b/src/plugins/platforms/windows/qwindowsdrag.cpp @@ -29,6 +29,7 @@ #include <QtCore/qbuffer.h> #include <QtCore/qpoint.h> #include <QtCore/qpointer.h> +#include <QtCore/private/qcomobject_p.h> #include <shlobj.h> @@ -168,7 +169,7 @@ static Qt::MouseButtons lastButtons = Qt::NoButton; \internal */ -class QWindowsOleDropSource : public QWindowsComBase<IDropSource> +class QWindowsOleDropSource : public QComObject<IDropSource> { public: enum Mode { |