#include <QtCore/qobject.h>
#include <QtCore/qpointer.h>
Go to the source code of this file.
◆ Q_EXPORT_PLUGIN
◆ Q_EXPORT_PLUGIN2
#define Q_EXPORT_PLUGIN2 |
( |
|
PLUGIN, |
|
|
|
PLUGINCLASS |
|
) |
| |
Value: Q_EXTERN_C Q_DECL_EXPORT \
{ return qt_plugin_verification_data; } \
Q_PLUGIN_INSTANCE(PLUGINCLASS)
The QObject class is the base class of all Qt objects.
#define Q_DECL_EXPORT
This macro marks a symbol for shared library export (see sharedlibrary.
#define QT_PREPEND_NAMESPACE(name)
This macro qualifies identifier with the full namespace.
#define Q_PLUGIN_VERIFICATION_SECTION
Definition at line 136 of file qplugin.h.
Referenced by AVBackend::availableMimeTypes(), QMeeGoGraphicsSystemPlugin::create(), EGLNullWSScreenPlugin::create(), QCocoaIntegrationPlugin::create(), QUIKitIntegrationPlugin::create(), QAhiScreenPlugin::create(), PvrEglScreenPlugin::create(), DirectFBScreenDriverPlugin::create(), QmlJSDebugger::QDeclarativeInspectorPlugin::deactivate(), QMultiInputContextPlugin::description(), QSQLite2DriverPlugin::keys(), QSQLiteDriverPlugin::keys(), QTcpServerConnection::newConnection(), QmlOstPlugin::readyRead(), and qmlshaderspluginPlugin::registerTypes().
◆ Q_EXPORT_STATIC_PLUGIN
◆ Q_EXPORT_STATIC_PLUGIN2
#define Q_EXPORT_STATIC_PLUGIN2 |
( |
|
PLUGIN, |
|
|
|
PLUGINCLASS |
|
) |
| |
◆ Q_EXTERN_C
#define Q_EXTERN_C extern "C" |
◆ Q_IMPORT_PLUGIN
#define Q_IMPORT_PLUGIN |
( |
|
PLUGIN | ) |
|
Value: class Static##PLUGIN##PluginInstance{ \
public: \
Static##PLUGIN##PluginInstance() { \
qRegisterStaticPluginInstanceFunction(qt_plugin_instance_##PLUGIN); \
} \
}; \
static Static##PLUGIN##PluginInstance static##PLUGIN##Instance;
The QObject class is the base class of all Qt objects.
#define QT_PREPEND_NAMESPACE(name)
This macro qualifies identifier with the full namespace.
Definition at line 66 of file qplugin.h.
◆ Q_PLUGIN_INSTANCE
#define Q_PLUGIN_INSTANCE |
( |
|
IMPLEMENTATION | ) |
|
Value:{ \
if (!_instance) \
_instance = new IMPLEMENTATION; \
return _instance; \
}
The QObject class is the base class of all Qt objects.
The QPointer class is a template class that provides guarded pointers to QObject. ...
#define QT_PREPEND_NAMESPACE(name)
This macro qualifies identifier with the full namespace.
Definition at line 76 of file qplugin.h.
◆ Q_PLUGIN_VERIFICATION_DATA
#define Q_PLUGIN_VERIFICATION_DATA |
Value:static const char qt_plugin_verification_data[] = \
"pattern=QT_PLUGIN_VERIFICATION_DATA\n" \
#define QPLUGIN_DEBUG_STR
#define QT_VERSION_STR
This macro expands to a string that specifies Qt's version number (for example, "4.
Definition at line 116 of file qplugin.h.
◆ Q_PLUGIN_VERIFICATION_SECTION
#define Q_PLUGIN_VERIFICATION_SECTION |
◆ Q_STANDARD_CALL
◆ QPLUGIN_DEBUG_STR
#define QPLUGIN_DEBUG_STR "true" |
◆ QPLUGIN_SECTION_DEBUG_STR
#define QPLUGIN_SECTION_DEBUG_STR ".debug" |
◆ QtPluginInstanceFunction
typedef QObject*(* QtPluginInstanceFunction) () |
◆ qRegisterStaticPluginInstanceFunction()