(7b27f46f27cedf651836002878b35d2afdeb43de)
#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 41 of file extension.h.
◆ Q_TYPEID
#define Q_TYPEID |
( |
| IFace | ) |
|
Value:QLatin1StringView(IFace##_iid)
Definition at line 14 of file extension.h.
◆ qt_extension()