(50c3238aed664f75f332b50cfc1facd7ba403326)
#include <QtDesigner/extension_global.h>
#include <QtCore/qstring.h>
#include <QtCore/qobject.h>
Go to the source code of this file.
◆ Q_DECLARE_EXTENSION_INTERFACE
| #define Q_DECLARE_EXTENSION_INTERFACE |
( |
| IFace, |
|
|
| IId ) |
Value:const char * const IFace##_iid = IId; \
Q_DECLARE_INTERFACE(IFace, IId) \
{
QObject *extension =
manager->extension(
object,
Q_TYPEID(IFace));
return extension ?
static_cast<IFace *
>(extension->qt_metacast(IFace##_iid)) : static_cast<IFace *>(
nullptr); }
The QAbstractExtensionManager class provides an interface for extension managers in \QD.
T qt_extension(QAbstractExtensionManager *, QObject *)
QNetworkAccessManager manager
[0]
Definition at line 42 of file extension.h.
◆ Q_TYPEID
| #define Q_TYPEID |
( |
| IFace | ) |
|
Value:QLatin1StringView(IFace##_iid)
Definition at line 15 of file extension.h.
◆ qt_extension()