QGenericPluginFactory Class

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

头文件: #include <QGenericPluginFactory>
qmake: QT += gui

静态公有成员

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

详细描述

The QGenericPluginFactory class creates plugin drivers.

参见 QGenericPlugin.

成员函数

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

Creates the driver specified by key, using the given 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().