<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qgenericpluginfactory.cpp --> <title>QGenericPluginFactory Class | Qt GUI 5.12.6</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <table><tr> <td >Qt 5.12</td><td ><a href="qtgui-index.html">Qt GUI</a></td><td ><a href="qtgui-module.html">C++ Classes</a></td><td >QGenericPluginFactory</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right"><a href="qtgui-index.html">Qt 5.12.6 Reference Documentation</a></td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"> <div class="toc"> <h3><a name="toc">Contents</a></h3> <ul> <li class="level1"><a href="#static-public-members">Static Public Members</a></li> <li class="level1"><a href="#details">Detailed Description</a></li> </ul> </div> <div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">QGenericPluginFactory Class</h1> <!-- $$$QGenericPluginFactory-brief --> <p>The <a href="qgenericpluginfactory.html">QGenericPluginFactory</a> class creates plugin drivers. <a href="#details">More...</a></p> <!-- @@@QGenericPluginFactory --> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QGenericPluginFactory></span> </td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += gui</td></tr></table></div><ul> <li><a href="qgenericpluginfactory-members.html">List of all members, including inherited members</a></li> </ul> <a name="static-public-members"></a> <h2 id="static-public-members">Static Public Members</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> QObject *</td><td class="memItemRight bottomAlign"><b><a href="qgenericpluginfactory.html#create">create</a></b>(const QString &<i>key</i>, const QString &<i>specification</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QStringList </td><td class="memItemRight bottomAlign"><b><a href="qgenericpluginfactory.html#keys">keys</a></b>()</td></tr> </table></div> <a name="details"></a> <!-- $$$QGenericPluginFactory-description --> <div class="descr"> <h2 id="details">Detailed Description</h2> <p>The <a href="qgenericpluginfactory.html">QGenericPluginFactory</a> class creates plugin drivers.</p> </div> <p><b>See also </b><a href="qgenericplugin.html">QGenericPlugin</a>.</p> <!-- @@@QGenericPluginFactory --> <div class="func"> <h2>Member Function Documentation</h2> <!-- $$$create[overload1]$$$createconstQString&constQString& --> <h3 class="fn" id="create"><a name="create"></a><code>[static] </code><span class="type"><a href="../qtcore/qobject.html">QObject</a></span> *QGenericPluginFactory::<span class="name">create</span>(const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &<i>key</i>, const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &<i>specification</i>)</h3> <p>Creates the driver specified by <i>key</i>, using the given <i>specification</i>.</p> <p>Note that the keys are case-insensitive.</p> <p><b>See also </b><a href="qgenericpluginfactory.html#keys">keys</a>().</p> <!-- @@@create --> <!-- $$$keys[overload1]$$$keys --> <h3 class="fn" id="keys"><a name="keys"></a><code>[static] </code><span class="type"><a href="../qtcore/qstringlist.html">QStringList</a></span> QGenericPluginFactory::<span class="name">keys</span>()</h3> <p>Returns the list of valid keys, i.e. the available mouse drivers.</p> <p><b>See also </b><a href="qgenericpluginfactory.html#create">create</a>().</p> <!-- @@@keys --> </div> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br/> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br/> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. </p> </div> </body> </html>