summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qgenericplugin_qpa.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qgenericplugin_qpa.cpp')
-rw-r--r--src/gui/kernel/qgenericplugin_qpa.cpp18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/gui/kernel/qgenericplugin_qpa.cpp b/src/gui/kernel/qgenericplugin_qpa.cpp
index 493fc770b5..ef57ab8a9e 100644
--- a/src/gui/kernel/qgenericplugin_qpa.cpp
+++ b/src/gui/kernel/qgenericplugin_qpa.cpp
@@ -56,23 +56,17 @@ QT_BEGIN_NAMESPACE
Note that this class is only available in Qt QPA.
A mouse plugin can be created by subclassing
- QGenericPlugin and reimplementing the pure virtual keys() and
- create() functions. By exporting the derived class using the
- Q_EXPORT_PLUGIN2() macro, The default implementation of the
+ QGenericPlugin and reimplementing the pure virtual create()
+ function. By exporting the derived class using the
+ Q_PLUGIN_METADATA() macro, The default implementation of the
QGenericPluginFactory class will automatically detect the plugin and
load the driver into the server application at run-time. See \l
{How to Create Qt Plugins} for details.
- \sa QGenericPluginFactory
-*/
-
-/*!
- \fn QStringList QGenericPlugin::keys() const
-
- Implement this function to return the list of valid keys, i.e. the
- drivers supported by this plugin.
+ The json metadata file should contain a list of keys supported by this
+ plugin.
- \sa create()
+ \sa QGenericPluginFactory
*/
/*!