Do not install headers for private classes

When merging the accessibility plugin into the widgets library, the
headers were just moved. They should have gotten the _p at that time.

Task-number: QTBUG-47569
Change-Id: I0a2290dae3a8187596e9d7541ccf69beeb603296
Reviewed-by: Dimitar Dobrev
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Frederik Gladhorn 2015-08-03 10:07:17 +02:00
parent 0e895c47b0
commit 0552331d0e
15 changed files with 96 additions and 19 deletions

View File

@ -4,12 +4,12 @@ contains(QT_CONFIG, accessibility) {
HEADERS += \ HEADERS += \
accessible/qaccessiblewidget.h \ accessible/qaccessiblewidget.h \
accessible/qaccessiblewidgetfactory_p.h \ accessible/qaccessiblewidgetfactory_p.h \
accessible/complexwidgets.h \ accessible/complexwidgets_p.h \
accessible/itemviews.h \ accessible/itemviews_p.h \
accessible/qaccessiblemenu.h \ accessible/qaccessiblemenu_p.h \
accessible/qaccessiblewidgets.h \ accessible/qaccessiblewidgets_p.h \
accessible/rangecontrols.h \ accessible/rangecontrols_p.h \
accessible/simplewidgets.h accessible/simplewidgets_p.h
SOURCES += \ SOURCES += \
accessible/qaccessiblewidget.cpp \ accessible/qaccessiblewidget.cpp \

View File

@ -31,7 +31,7 @@
** **
****************************************************************************/ ****************************************************************************/
#include "complexwidgets.h" #include "complexwidgets_p.h"
#include <qaccessible.h> #include <qaccessible.h>
#include <qapplication.h> #include <qapplication.h>

View File

@ -34,6 +34,17 @@
#ifndef COMPLEXWIDGETS_H #ifndef COMPLEXWIDGETS_H
#define COMPLEXWIDGETS_H #define COMPLEXWIDGETS_H
//
// W A R N I N G
// -------------
//
// This file is not part of the Qt API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//
#include <QtCore/qpointer.h> #include <QtCore/qpointer.h>
#include <QtWidgets/qaccessiblewidget.h> #include <QtWidgets/qaccessiblewidget.h>
#include <QtWidgets/qabstractitemview.h> #include <QtWidgets/qabstractitemview.h>

View File

@ -31,7 +31,7 @@
** **
****************************************************************************/ ****************************************************************************/
#include "itemviews.h" #include "itemviews_p.h"
#include <qheaderview.h> #include <qheaderview.h>
#include <qtableview.h> #include <qtableview.h>

View File

@ -34,6 +34,17 @@
#ifndef ACCESSIBLE_ITEMVIEWS_H #ifndef ACCESSIBLE_ITEMVIEWS_H
#define ACCESSIBLE_ITEMVIEWS_H #define ACCESSIBLE_ITEMVIEWS_H
//
// W A R N I N G
// -------------
//
// This file is not part of the Qt API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//
#include "QtCore/qpointer.h" #include "QtCore/qpointer.h"
#include <QtGui/qaccessible.h> #include <QtGui/qaccessible.h>
#include <QtWidgets/qaccessiblewidget.h> #include <QtWidgets/qaccessiblewidget.h>

View File

@ -31,7 +31,7 @@
** **
****************************************************************************/ ****************************************************************************/
#include "qaccessiblemenu.h" #include "qaccessiblemenu_p.h"
#include <qmenu.h> #include <qmenu.h>
#include <qmenubar.h> #include <qmenubar.h>

View File

@ -34,6 +34,17 @@
#ifndef QACCESSIBLEMENU_H #ifndef QACCESSIBLEMENU_H
#define QACCESSIBLEMENU_H #define QACCESSIBLEMENU_H
//
// W A R N I N G
// -------------
//
// This file is not part of the Qt API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//
#include <QtWidgets/qaccessiblewidget.h> #include <QtWidgets/qaccessiblewidget.h>
#include <QtCore/qpointer.h> #include <QtCore/qpointer.h>

View File

@ -31,12 +31,12 @@
** **
****************************************************************************/ ****************************************************************************/
#include "qaccessiblewidgets.h" #include "qaccessiblewidgets_p.h"
#include "qaccessiblemenu.h" #include "qaccessiblemenu_p.h"
#include "simplewidgets.h" #include "simplewidgets_p.h"
#include "rangecontrols.h" #include "rangecontrols_p.h"
#include "complexwidgets.h" #include "complexwidgets_p.h"
#include "itemviews.h" #include "itemviews_p.h"
#include <qpushbutton.h> #include <qpushbutton.h>
#include <qtoolbutton.h> #include <qtoolbutton.h>

View File

@ -36,6 +36,17 @@
#ifndef QACCESSIBLEWIDGETFACTORY_H #ifndef QACCESSIBLEWIDGETFACTORY_H
#define QACCESSIBLEWIDGETFACTORY_H #define QACCESSIBLEWIDGETFACTORY_H
//
// W A R N I N G
// -------------
//
// This file is not part of the Qt API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QAccessibleInterface *qAccessibleFactory(const QString &classname, QObject *object); QAccessibleInterface *qAccessibleFactory(const QString &classname, QObject *object);

View File

@ -31,7 +31,7 @@
** **
****************************************************************************/ ****************************************************************************/
#include "qaccessiblewidgets.h" #include "qaccessiblewidgets_p.h"
#include "qabstracttextdocumentlayout.h" #include "qabstracttextdocumentlayout.h"
#include "qapplication.h" #include "qapplication.h"
#include "qclipboard.h" #include "qclipboard.h"

View File

@ -34,6 +34,17 @@
#ifndef QACCESSIBLEWIDGETS_H #ifndef QACCESSIBLEWIDGETS_H
#define QACCESSIBLEWIDGETS_H #define QACCESSIBLEWIDGETS_H
//
// W A R N I N G
// -------------
//
// This file is not part of the Qt API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//
#include <QtWidgets/qaccessiblewidget.h> #include <QtWidgets/qaccessiblewidget.h>
#ifndef QT_NO_ACCESSIBILITY #ifndef QT_NO_ACCESSIBILITY

View File

@ -31,7 +31,7 @@
** **
****************************************************************************/ ****************************************************************************/
#include "rangecontrols.h" #include "rangecontrols_p.h"
#include <qslider.h> #include <qslider.h>
#include <qdial.h> #include <qdial.h>
@ -47,7 +47,7 @@
#include <qmath.h> #include <qmath.h>
#include <private/qmath_p.h> #include <private/qmath_p.h>
#include "simplewidgets.h" // let spinbox use line edit's interface #include "simplewidgets_p.h" // let spinbox use line edit's interface
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE

View File

@ -34,6 +34,17 @@
#ifndef RANGECONTROLS_H #ifndef RANGECONTROLS_H
#define RANGECONTROLS_H #define RANGECONTROLS_H
//
// W A R N I N G
// -------------
//
// This file is not part of the Qt API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//
#include <QtWidgets/qaccessiblewidget.h> #include <QtWidgets/qaccessiblewidget.h>
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE

View File

@ -31,7 +31,7 @@
** **
****************************************************************************/ ****************************************************************************/
#include "simplewidgets.h" #include "simplewidgets_p.h"
#include <qabstractbutton.h> #include <qabstractbutton.h>
#include <qcheckbox.h> #include <qcheckbox.h>

View File

@ -34,6 +34,17 @@
#ifndef SIMPLEWIDGETS_H #ifndef SIMPLEWIDGETS_H
#define SIMPLEWIDGETS_H #define SIMPLEWIDGETS_H
//
// W A R N I N G
// -------------
//
// This file is not part of the Qt API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//
#include <QtCore/qcoreapplication.h> #include <QtCore/qcoreapplication.h>
#include <QtWidgets/qaccessiblewidget.h> #include <QtWidgets/qaccessiblewidget.h>