summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qglobal.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-10-14 12:20:38 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-10-18 13:31:09 +0200
commit40e6fe780150161bb608f5df356bfe4f00861be5 (patch)
tree97749eb338e4365656d65da8bc1168570e9ca96d /src/corelib/global/qglobal.h
parent1f66d914e435e733a7741e6b98abf92594122c01 (diff)
doc: Update and flesh out native interface docs
The namespace and overviews are in the qtdoc repository. Docs for individual interfaces should live with their platform. Change-Id: Iba5fd7e9ebc4f1f634ec9dc3ec125ce88a1312ba Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/corelib/global/qglobal.h')
-rw-r--r--src/corelib/global/qglobal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h
index d9ba41e70a..44f21e2b1b 100644
--- a/src/corelib/global/qglobal.h
+++ b/src/corelib/global/qglobal.h
@@ -1268,8 +1268,8 @@ inline int qIntCast(float f) { return int(f); }
// Declares an accessor for the native interface
#define QT_DECLARE_NATIVE_INTERFACE_ACCESSOR \
- template <typename NativeInterface> \
- NativeInterface *nativeInterface() const;
+ template <typename QNativeInterface> \
+ QNativeInterface *nativeInterface() const;
// Provides a definition for the interface destructor
#define QT_DEFINE_NATIVE_INTERFACE2(Namespace, InterfaceClass) \