Make QGenericPlugin and QGenericPluginFactory public API

These classes are not specific to QPA.

Discussed in QtCS 2012.

Change-Id: I32bc5fad4f0fa5e7095af86d61966fdf4d9e4ad7
Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
This commit is contained in:
Girish Ramakrishnan 2012-07-03 21:55:46 +05:30 committed by Qt by Nokia
parent 32c54642dd
commit 3517949390
14 changed files with 25 additions and 28 deletions

View File

@ -6,8 +6,8 @@ PRECOMPILED_HEADER = kernel/qt_gui_pch.h
KERNEL_P= kernel
HEADERS += \
kernel/qgenericpluginfactory_qpa.h \
kernel/qgenericplugin_qpa.h \
kernel/qgenericpluginfactory.h \
kernel/qgenericplugin.h \
kernel/qwindowsysteminterface.h \
kernel/qwindowsysteminterface_p.h \
kernel/qplatformintegration.h \

View File

@ -39,7 +39,7 @@
**
****************************************************************************/
#include "qgenericplugin_qpa.h"
#include "qgenericplugin.h"
#ifndef QT_NO_LIBRARY
@ -48,12 +48,9 @@ QT_BEGIN_NAMESPACE
/*!
\class QGenericPlugin
\ingroup plugins
\ingroup qpa
\brief The QGenericPlugin class is an abstract base class for
window-system related plugins in Qt QPA.
Note that this class is only available in Qt QPA.
plugins.
A mouse plugin can be created by subclassing
QGenericPlugin and reimplementing the pure virtual create()

View File

@ -39,8 +39,8 @@
**
****************************************************************************/
#ifndef QGENERICPLUGIN_QPA_H
#define QGENERICPLUGIN_QPA_H
#ifndef QGENERICPLUGIN_H
#define QGENERICPLUGIN_H
#include <QtCore/qplugin.h>
#include <QtCore/qfactoryinterface.h>
@ -70,4 +70,4 @@ QT_END_NAMESPACE
QT_END_HEADER
#endif // QGENERICPLUGIN_QPA_H
#endif // QGENERICPLUGIN_H

View File

@ -39,7 +39,7 @@
**
****************************************************************************/
#include "qgenericpluginfactory_qpa.h"
#include "qgenericpluginfactory.h"
#include "qguiapplication.h"
#include "private/qfactoryloader_p.h"
@ -60,12 +60,9 @@ Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, loader,
/*!
\class QGenericPluginFactory
\ingroup qpa
\ingroup plugins
\brief The QGenericPluginFactory class creates window-system
related plugin drivers in Qt QPA.
Note that this class is only available in Qt QPA.
\brief The QGenericPluginFactory class creates plugin drivers.
\sa QGenericPlugin
*/

View File

@ -39,8 +39,8 @@
**
****************************************************************************/
#ifndef QGENERICPLUGINFACTORY_QPA_H
#define QGENERICPLUGINFACTORY_QPA_H
#ifndef QGENERICPLUGINFACTORY_H
#define QGENERICPLUGINFACTORY_H
#include <QtCore/qstringlist.h>
@ -63,4 +63,4 @@ QT_END_NAMESPACE
QT_END_HEADER
#endif // QGENERICPLUGINFACTORY_QPA_H
#endif // QGENERICPLUGINFACTORY_H

View File

@ -65,8 +65,8 @@
#include <private/qscreen_p.h>
#include <private/qdrawhelper_p.h>
#include <QtGui/qgenericpluginfactory.h>
#include <qpa/qplatformintegration.h>
#include <QtGui/QGenericPluginFactory>
#include <QtGui/qstylehints.h>
#include <QtGui/qinputpanel.h>
#include <QtGui/qpixmapcache.h>

View File

@ -39,7 +39,7 @@
**
****************************************************************************/
#include <qgenericplugin_qpa.h>
#include <QtGui/qgenericplugin.h>
#include <QtPlatformSupport/private/qevdevkeyboardmanager_p.h>
QT_BEGIN_NAMESPACE

View File

@ -39,7 +39,7 @@
**
****************************************************************************/
#include <qgenericplugin_qpa.h>
#include <QtGui/qgenericplugin.h>
#include <QtPlatformSupport/private/qevdevmousemanager_p.h>
QT_BEGIN_NAMESPACE

View File

@ -39,7 +39,7 @@
**
****************************************************************************/
#include <qgenericplugin_qpa.h>
#include <QtGui/qgenericplugin.h>
#include <QtPlatformSupport/private/qevdevtablet_p.h>
QT_BEGIN_NAMESPACE

View File

@ -39,7 +39,7 @@
**
****************************************************************************/
#include <qgenericplugin_qpa.h>
#include <QtGui/qgenericplugin.h>
#include <QtPlatformSupport/private/qevdevtouch_p.h>
QT_BEGIN_NAMESPACE

View File

@ -39,7 +39,7 @@
**
****************************************************************************/
#include <qgenericplugin_qpa.h>
#include <QtGui/qgenericplugin.h>
#include "qmeegointegration.h"
QT_BEGIN_NAMESPACE

View File

@ -39,7 +39,7 @@
**
****************************************************************************/
#include <qgenericplugin_qpa.h>
#include <QtGui/qgenericplugin.h>
#include "qtslib.h"
QT_BEGIN_NAMESPACE

View File

@ -51,7 +51,6 @@
#include "private/qwidget_p.h"
#include "private/qevent_p.h"
#include "qgenericpluginfactory_qpa.h"
#include <qpa/qplatformintegrationfactory_p.h>
#include <qdesktopwidget.h>
#include <qpa/qplatformcursor.h>

View File

@ -90,7 +90,11 @@
"QPlatformWindow" => "qpa/qplatformwindow.h",
"qwindowsysteminterface_qpa.h" => "qpa/qwindowsysteminterface.h",
"QWindowSystemInterface" => "qpa/qwindowsysteminterface.h",
"qwindowsysteminterface_qpa_p.h" => "qpa/qwindowsysteminterface_p.h"
"qwindowsysteminterface_qpa_p.h" => "qpa/qwindowsysteminterface_p.h",
"qgenericpluginfactory_qpa.h" => "QtGui/qgenericpluginfactory.h",
"qgenericplugin_qpa.h" => "QtGui/qgenericplugin.h",
"QGenericPlugin" => "QtGui/QGenericPlugin",
"QGenericPluginFactory" => "QtGui/QGenericPluginFactory"
},
"QtWidgets" => {
"qplatformmenu_qpa.h" => "qpa/qplatformmenu.h",