QGenericPluginFactory Class

The QGenericPluginFactory class creates plugin drivers. 更多...

头: #include <QGenericPluginFactory>
CMake: find_package(Qt6 COMPONENTS Gui REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui

静态公共成员

QObject * create (const QString & key , const QString & specification )
QStringList keys ()

详细描述

另请参阅 QGenericPlugin .

成员函数文档编制

[static] QObject *QGenericPluginFactory:: create (const QString & key , const QString & specification )

Creates the driver specified by key ,使用给定 specification .

Note that the keys are case-insensitive.

另请参阅 keys ().

[static] QStringList QGenericPluginFactory:: keys ()

Returns the list of valid keys, i.e. the available mouse drivers.

另请参阅 create ().