Windows QPA: Replace Q_DISABLE_COPY by Q_DISABLE_COPY_MOVE
Fix clang warnings like: warning: class 'QWindowsStaticOpenGLContext' defines a default destructor, a copy constructor and a copy assignment operator but does not define a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions Change-Id: I736d20476ef407100b6ecb654d1112106e545758 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
parent
98f9d4a029
commit
b61d52f98a
|
|
@ -48,7 +48,7 @@ class QWindowsDirect2DWindow;
|
|||
|
||||
class QWindowsDirect2DBackingStore : public QPlatformBackingStore
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsDirect2DBackingStore)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsDirect2DBackingStore)
|
||||
|
||||
public:
|
||||
QWindowsDirect2DBackingStore(QWindow *window);
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ class QColor;
|
|||
class QWindowsDirect2DBitmap
|
||||
{
|
||||
Q_DECLARE_PRIVATE(QWindowsDirect2DBitmap)
|
||||
Q_DISABLE_COPY(QWindowsDirect2DBitmap)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsDirect2DBitmap)
|
||||
public:
|
||||
QWindowsDirect2DBitmap();
|
||||
QWindowsDirect2DBitmap(ID2D1Bitmap1 *bitmap, ID2D1DeviceContext *dc);
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ private:
|
|||
};
|
||||
|
||||
class QWindowsDirect2DDeviceContextSuspender {
|
||||
Q_DISABLE_COPY(QWindowsDirect2DDeviceContextSuspender)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsDirect2DDeviceContextSuspender)
|
||||
|
||||
QWindowsDirect2DDeviceContext *m_dc;
|
||||
public:
|
||||
|
|
|
|||
|
|
@ -1800,7 +1800,7 @@ void QWindowsDirect2DPaintEngine::resume()
|
|||
|
||||
class QWindowsDirect2DPaintEngineSuspenderImpl
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsDirect2DPaintEngineSuspenderImpl)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsDirect2DPaintEngineSuspenderImpl)
|
||||
QWindowsDirect2DPaintEngine *m_engine;
|
||||
bool m_active;
|
||||
public:
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(QWindowsDirect2DPaintEngine::Flags)
|
|||
class QWindowsDirect2DPaintEngineSuspenderPrivate;
|
||||
class QWindowsDirect2DPaintEngineSuspender
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsDirect2DPaintEngineSuspender)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsDirect2DPaintEngineSuspender)
|
||||
Q_DECLARE_PRIVATE(QWindowsDirect2DPaintEngineSuspender)
|
||||
QScopedPointer<QWindowsDirect2DPaintEngineSuspenderPrivate> d_ptr;
|
||||
public:
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ class QWindowsNativeImage;
|
|||
|
||||
class QWindowsBackingStore : public QPlatformBackingStore
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsBackingStore)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsBackingStore)
|
||||
public:
|
||||
QWindowsBackingStore(QWindow *window);
|
||||
~QWindowsBackingStore() override;
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ protected:
|
|||
|
||||
class QWindowsClipboard : public QPlatformClipboard
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsClipboard)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsClipboard)
|
||||
public:
|
||||
QWindowsClipboard();
|
||||
~QWindowsClipboard() override;
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ bool qWindowsComQueryUnknownInterfaceMulti(Derived *d, REFIID id, LPVOID *iface)
|
|||
// Helper base class to provide IUnknown methods for COM classes (single inheritance)
|
||||
template <class ComInterface> class QWindowsComBase : public ComInterface
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsComBase)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsComBase)
|
||||
public:
|
||||
explicit QWindowsComBase(ULONG initialRefCount = 1) : m_ref(initialRefCount) {}
|
||||
virtual ~QWindowsComBase() = default;
|
||||
|
|
|
|||
|
|
@ -155,7 +155,7 @@ struct QWindowsShcoreDLL {
|
|||
|
||||
class QWindowsContext
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsContext)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsContext)
|
||||
public:
|
||||
|
||||
enum SystemInfoFlags
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ inline uint qHash(const QWindowsPixmapCursorCacheKey &k, uint seed) noexcept
|
|||
|
||||
class CursorHandle
|
||||
{
|
||||
Q_DISABLE_COPY(CursorHandle)
|
||||
Q_DISABLE_COPY_MOVE(CursorHandle)
|
||||
public:
|
||||
explicit CursorHandle(HCURSOR hcursor = nullptr) : m_hcursor(hcursor) {}
|
||||
~CursorHandle()
|
||||
|
|
|
|||
|
|
@ -507,7 +507,7 @@ class QWindowsNativeFileDialogBase;
|
|||
|
||||
class QWindowsNativeFileDialogEventHandler : public QWindowsComBase<IFileDialogEvents>
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsNativeFileDialogEventHandler)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsNativeFileDialogEventHandler)
|
||||
public:
|
||||
static IFileDialogEvents *create(QWindowsNativeFileDialogBase *nativeFileDialog);
|
||||
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ namespace QWindowsDialogs
|
|||
template <class BaseClass>
|
||||
class QWindowsDialogHelperBase : public BaseClass
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsDialogHelperBase)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsDialogHelperBase)
|
||||
public:
|
||||
typedef QSharedPointer<QWindowsNativeDialogBase> QWindowsNativeDialogBasePtr;
|
||||
~QWindowsDialogHelperBase() { cleanupThread(); }
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ private:
|
|||
|
||||
class QWindowsEGLStaticContext : public QWindowsStaticOpenGLContext
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsEGLStaticContext)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsEGLStaticContext)
|
||||
|
||||
public:
|
||||
static QWindowsEGLStaticContext *create(QWindowsOpenGLTester::Renderers preferredType);
|
||||
|
|
|
|||
|
|
@ -916,7 +916,7 @@ void QWindowsOpenGLContextFormat::apply(QSurfaceFormat *format) const
|
|||
|
||||
class QOpenGLTemporaryContext
|
||||
{
|
||||
Q_DISABLE_COPY(QOpenGLTemporaryContext)
|
||||
Q_DISABLE_COPY_MOVE(QOpenGLTemporaryContext)
|
||||
public:
|
||||
QOpenGLTemporaryContext();
|
||||
~QOpenGLTemporaryContext();
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@ private:
|
|||
|
||||
class QOpenGLStaticContext : public QWindowsStaticOpenGLContext
|
||||
{
|
||||
Q_DISABLE_COPY(QOpenGLStaticContext)
|
||||
Q_DISABLE_COPY_MOVE(QOpenGLStaticContext)
|
||||
QOpenGLStaticContext();
|
||||
public:
|
||||
enum Extensions
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ class QWindowsWindow;
|
|||
|
||||
class QWindowsInputContext : public QPlatformInputContext
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsInputContext)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsInputContext)
|
||||
Q_OBJECT
|
||||
|
||||
struct CompositionContext
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ QT_BEGIN_NAMESPACE
|
|||
|
||||
struct QWindowsIntegrationPrivate
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsIntegrationPrivate)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsIntegrationPrivate)
|
||||
explicit QWindowsIntegrationPrivate(const QStringList ¶mList);
|
||||
~QWindowsIntegrationPrivate();
|
||||
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ class QWindowsStaticOpenGLContext;
|
|||
|
||||
class QWindowsIntegration : public QPlatformIntegration
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsIntegration)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsIntegration)
|
||||
public:
|
||||
enum Options { // Options to be passed on command line.
|
||||
FontDatabaseFreeType = 0x1,
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ struct KeyboardLayoutItem {
|
|||
|
||||
class QWindowsKeyMapper
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsKeyMapper)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsKeyMapper)
|
||||
public:
|
||||
explicit QWindowsKeyMapper();
|
||||
~QWindowsKeyMapper();
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ class QMimeData;
|
|||
|
||||
class QWindowsMime
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsMime)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsMime)
|
||||
public:
|
||||
QWindowsMime();
|
||||
virtual ~QWindowsMime();
|
||||
|
|
@ -73,7 +73,7 @@ public:
|
|||
|
||||
class QWindowsMimeConverter
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsMimeConverter)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsMimeConverter)
|
||||
public:
|
||||
QWindowsMimeConverter();
|
||||
~QWindowsMimeConverter();
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ class QTouchDevice;
|
|||
|
||||
class QWindowsMouseHandler
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsMouseHandler)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsMouseHandler)
|
||||
public:
|
||||
QWindowsMouseHandler();
|
||||
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ class QWindowsOpenGLContext;
|
|||
|
||||
class QWindowsStaticOpenGLContext
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsStaticOpenGLContext)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsStaticOpenGLContext)
|
||||
public:
|
||||
static QWindowsStaticOpenGLContext *create();
|
||||
virtual ~QWindowsStaticOpenGLContext() = default;
|
||||
|
|
@ -75,7 +75,7 @@ private:
|
|||
|
||||
class QWindowsOpenGLContext : public QPlatformOpenGLContext
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsOpenGLContext)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsOpenGLContext)
|
||||
public:
|
||||
// Returns the native context handle (e.g. HGLRC for WGL, EGLContext for EGL).
|
||||
virtual void *nativeContext() const = 0;
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ static GpuDescription adapterIdentifierToGpuDescription(const D3DADAPTER_IDENTIF
|
|||
class QDirect3D9Handle
|
||||
{
|
||||
public:
|
||||
Q_DISABLE_COPY(QDirect3D9Handle)
|
||||
Q_DISABLE_COPY_MOVE(QDirect3D9Handle)
|
||||
|
||||
QDirect3D9Handle();
|
||||
~QDirect3D9Handle();
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ class QTouchDevice;
|
|||
|
||||
class QWindowsPointerHandler
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsPointerHandler)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsPointerHandler)
|
||||
public:
|
||||
QWindowsPointerHandler() = default;
|
||||
bool translatePointerEvent(QWindow *window, HWND hwnd, QtWindows::WindowsEventType et, MSG msg, LRESULT *result);
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ private:
|
|||
bool m_blockUserInput = false;
|
||||
bool m_canceled = false;
|
||||
|
||||
Q_DISABLE_COPY(QWindowsSessionManager)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsSessionManager)
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ QDebug operator<<(QDebug d, const QWindowsTabletDeviceData &t);
|
|||
|
||||
class QWindowsTabletSupport
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsTabletSupport)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsTabletSupport)
|
||||
|
||||
explicit QWindowsTabletSupport(HWND window, HCTX context);
|
||||
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ class QWindow;
|
|||
|
||||
class QWindowsTheme : public QPlatformTheme
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsTheme)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsTheme)
|
||||
public:
|
||||
QWindowsTheme();
|
||||
~QWindowsTheme() override;
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ QT_BEGIN_NAMESPACE
|
|||
*/
|
||||
class QWindowsThreadPoolRunner
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsThreadPoolRunner)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsThreadPoolRunner)
|
||||
|
||||
#if QT_CONFIG(thread)
|
||||
template <class RunnableFunction> // nested class implementing QRunnable to execute a function.
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ QT_BEGIN_NAMESPACE
|
|||
|
||||
class QWindowsVulkanInstance : public QBasicPlatformVulkanInstance
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsVulkanInstance)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsVulkanInstance)
|
||||
public:
|
||||
QWindowsVulkanInstance(QVulkanInstance *instance);
|
||||
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ struct QWindowsWindowData
|
|||
|
||||
class QWindowsBaseWindow : public QPlatformWindow
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsBaseWindow)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsBaseWindow)
|
||||
public:
|
||||
explicit QWindowsBaseWindow(QWindow *window) : QPlatformWindow(window) {}
|
||||
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ class QAccessibleInterface;
|
|||
class QWindowsUiaBaseProvider : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(QWindowsUiaBaseProvider)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsUiaBaseProvider)
|
||||
public:
|
||||
explicit QWindowsUiaBaseProvider(QAccessible::Id id);
|
||||
virtual ~QWindowsUiaBaseProvider();
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ QT_BEGIN_NAMESPACE
|
|||
class QWindowsUiaGridItemProvider : public QWindowsUiaBaseProvider,
|
||||
public QWindowsComBase<IGridItemProvider>
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsUiaGridItemProvider)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsUiaGridItemProvider)
|
||||
public:
|
||||
explicit QWindowsUiaGridItemProvider(QAccessible::Id id);
|
||||
virtual ~QWindowsUiaGridItemProvider();
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ QT_BEGIN_NAMESPACE
|
|||
class QWindowsUiaGridProvider : public QWindowsUiaBaseProvider,
|
||||
public QWindowsComBase<IGridProvider>
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsUiaGridProvider)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsUiaGridProvider)
|
||||
public:
|
||||
explicit QWindowsUiaGridProvider(QAccessible::Id id);
|
||||
virtual ~QWindowsUiaGridProvider();
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ QT_BEGIN_NAMESPACE
|
|||
class QWindowsUiaInvokeProvider : public QWindowsUiaBaseProvider,
|
||||
public QWindowsComBase<IInvokeProvider>
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsUiaInvokeProvider)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsUiaInvokeProvider)
|
||||
public:
|
||||
explicit QWindowsUiaInvokeProvider(QAccessible::Id id);
|
||||
virtual ~QWindowsUiaInvokeProvider();
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ class QWindowsUiaMainProvider :
|
|||
public IRawElementProviderFragmentRoot
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(QWindowsUiaMainProvider)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsUiaMainProvider)
|
||||
public:
|
||||
static QWindowsUiaMainProvider *providerForAccessible(QAccessibleInterface *accessible);
|
||||
explicit QWindowsUiaMainProvider(QAccessibleInterface *a, int initialRefCount = 1);
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ QT_BEGIN_NAMESPACE
|
|||
class QWindowsUiaRangeValueProvider : public QWindowsUiaBaseProvider,
|
||||
public QWindowsComBase<IRangeValueProvider>
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsUiaRangeValueProvider)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsUiaRangeValueProvider)
|
||||
public:
|
||||
explicit QWindowsUiaRangeValueProvider(QAccessible::Id id);
|
||||
virtual ~QWindowsUiaRangeValueProvider();
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ QT_BEGIN_NAMESPACE
|
|||
class QWindowsUiaSelectionItemProvider : public QWindowsUiaBaseProvider,
|
||||
public QWindowsComBase<ISelectionItemProvider>
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsUiaSelectionItemProvider)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsUiaSelectionItemProvider)
|
||||
public:
|
||||
explicit QWindowsUiaSelectionItemProvider(QAccessible::Id id);
|
||||
virtual ~QWindowsUiaSelectionItemProvider();
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ QT_BEGIN_NAMESPACE
|
|||
class QWindowsUiaSelectionProvider : public QWindowsUiaBaseProvider,
|
||||
public QWindowsComBase<ISelectionProvider>
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsUiaSelectionProvider)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsUiaSelectionProvider)
|
||||
public:
|
||||
explicit QWindowsUiaSelectionProvider(QAccessible::Id id);
|
||||
virtual ~QWindowsUiaSelectionProvider();
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ QT_BEGIN_NAMESPACE
|
|||
class QWindowsUiaTableItemProvider : public QWindowsUiaBaseProvider,
|
||||
public QWindowsComBase<ITableItemProvider>
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsUiaTableItemProvider)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsUiaTableItemProvider)
|
||||
public:
|
||||
explicit QWindowsUiaTableItemProvider(QAccessible::Id id);
|
||||
virtual ~QWindowsUiaTableItemProvider();
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ QT_BEGIN_NAMESPACE
|
|||
class QWindowsUiaTableProvider : public QWindowsUiaBaseProvider,
|
||||
public QWindowsComBase<ITableProvider>
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsUiaTableProvider)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsUiaTableProvider)
|
||||
public:
|
||||
explicit QWindowsUiaTableProvider(QAccessible::Id id);
|
||||
virtual ~QWindowsUiaTableProvider();
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ QT_BEGIN_NAMESPACE
|
|||
class QWindowsUiaTextProvider : public QWindowsUiaBaseProvider,
|
||||
public QWindowsComBase<ITextProvider2>
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsUiaTextProvider)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsUiaTextProvider)
|
||||
public:
|
||||
explicit QWindowsUiaTextProvider(QAccessible::Id id);
|
||||
~QWindowsUiaTextProvider();
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ QT_BEGIN_NAMESPACE
|
|||
class QWindowsUiaTextRangeProvider : public QWindowsUiaBaseProvider,
|
||||
public QWindowsComBase<ITextRangeProvider>
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsUiaTextRangeProvider)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsUiaTextRangeProvider)
|
||||
public:
|
||||
explicit QWindowsUiaTextRangeProvider(QAccessible::Id id, int startOffset, int endOffset);
|
||||
virtual ~QWindowsUiaTextRangeProvider();
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ QT_BEGIN_NAMESPACE
|
|||
class QWindowsUiaToggleProvider : public QWindowsUiaBaseProvider,
|
||||
public QWindowsComBase<IToggleProvider>
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsUiaToggleProvider)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsUiaToggleProvider)
|
||||
public:
|
||||
explicit QWindowsUiaToggleProvider(QAccessible::Id id);
|
||||
virtual ~QWindowsUiaToggleProvider();
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ QT_BEGIN_NAMESPACE
|
|||
class QWindowsUiaValueProvider : public QWindowsUiaBaseProvider,
|
||||
public QWindowsComBase<IValueProvider>
|
||||
{
|
||||
Q_DISABLE_COPY(QWindowsUiaValueProvider)
|
||||
Q_DISABLE_COPY_MOVE(QWindowsUiaValueProvider)
|
||||
public:
|
||||
explicit QWindowsUiaValueProvider(QAccessible::Id id);
|
||||
virtual ~QWindowsUiaValueProvider();
|
||||
|
|
|
|||
Loading…
Reference in New Issue