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/uiautomation/qwindowsuiatableprovider.h | |
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/uiautomation/qwindowsuiatableprovider.h')
-rw-r--r-- | src/plugins/platforms/windows/uiautomation/qwindowsuiatableprovider.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/platforms/windows/uiautomation/qwindowsuiatableprovider.h b/src/plugins/platforms/windows/uiautomation/qwindowsuiatableprovider.h index 6454bb9441..8beb11decf 100644 --- a/src/plugins/platforms/windows/uiautomation/qwindowsuiatableprovider.h +++ b/src/plugins/platforms/windows/uiautomation/qwindowsuiatableprovider.h @@ -12,8 +12,7 @@ QT_BEGIN_NAMESPACE // Implements the Table control pattern provider. Used by tables/trees. -class QWindowsUiaTableProvider : public QWindowsUiaBaseProvider, - public QWindowsComBase<ITableProvider> +class QWindowsUiaTableProvider : public QWindowsUiaBaseProvider, public QComObject<ITableProvider> { Q_DISABLE_COPY_MOVE(QWindowsUiaTableProvider) public: |