Add the qt_class pragma to file listed in sync.profile classnames map
This makes header files self-contained and reduces the number of 'sources of truth' for syncqt procedure. Change-Id: I7f5865abc69934603139d23e1b5452da46ccb110 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
5fce82bc6c
commit
36ea34c714
@ -4,6 +4,10 @@
|
||||
#ifndef QTCONCURRENT_FILTER_H
|
||||
#define QTCONCURRENT_FILTER_H
|
||||
|
||||
#if 0
|
||||
#pragma qt_class(QtConcurrentFilter)
|
||||
#endif
|
||||
|
||||
#include <QtConcurrent/qtconcurrent_global.h>
|
||||
|
||||
#if !defined(QT_NO_CONCURRENT) || defined(Q_CLANG_QDOC)
|
||||
|
@ -4,6 +4,10 @@
|
||||
#ifndef QTCONCURRENT_MAP_H
|
||||
#define QTCONCURRENT_MAP_H
|
||||
|
||||
#if 0
|
||||
#pragma qt_class(QtConcurrentMap)
|
||||
#endif
|
||||
|
||||
#include <QtConcurrent/qtconcurrent_global.h>
|
||||
|
||||
#if !defined(QT_NO_CONCURRENT) || defined(Q_CLANG_QDOC)
|
||||
|
@ -4,6 +4,10 @@
|
||||
#ifndef QTCONCURRENT_RUN_H
|
||||
#define QTCONCURRENT_RUN_H
|
||||
|
||||
#if 0
|
||||
#pragma qt_class(QtConcurrentRun)
|
||||
#endif
|
||||
|
||||
#include <QtConcurrent/qtconcurrentcompilertest.h>
|
||||
|
||||
#if !defined(QT_NO_CONCURRENT) || defined(Q_CLANG_QDOC)
|
||||
|
@ -5,6 +5,10 @@
|
||||
#ifndef QENDIAN_H
|
||||
#define QENDIAN_H
|
||||
|
||||
#if 0
|
||||
#pragma qt_class(QtEndian)
|
||||
#endif
|
||||
|
||||
#include <QtCore/qfloat16.h>
|
||||
#include <QtCore/qglobal.h>
|
||||
|
||||
|
@ -5,6 +5,11 @@
|
||||
#ifndef QGLOBAL_H
|
||||
#define QGLOBAL_H
|
||||
|
||||
#if 0
|
||||
#pragma qt_class(QtGlobal)
|
||||
#pragma qt_class(QIntegerForSize)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
# include <type_traits>
|
||||
# include <cstddef>
|
||||
|
@ -5,6 +5,10 @@
|
||||
#ifndef QNAMESPACE_H
|
||||
#define QNAMESPACE_H
|
||||
|
||||
#if 0
|
||||
#pragma qt_class(Qt)
|
||||
#endif
|
||||
|
||||
#include <QtCore/qglobal.h>
|
||||
#include <QtCore/qtmetamacros.h>
|
||||
|
||||
|
@ -4,6 +4,10 @@
|
||||
#ifndef QNUMERIC_H
|
||||
#define QNUMERIC_H
|
||||
|
||||
#if 0
|
||||
#pragma qt_class(QtNumeric)
|
||||
#endif
|
||||
|
||||
#include <QtCore/qglobal.h>
|
||||
#include <cmath>
|
||||
#include <limits>
|
||||
|
@ -5,6 +5,10 @@
|
||||
#ifndef QDEBUG_H
|
||||
#define QDEBUG_H
|
||||
|
||||
#if 0
|
||||
#pragma qt_class(QtDebug)
|
||||
#endif
|
||||
|
||||
#include <QtCore/qcontainerfwd.h>
|
||||
#include <QtCore/qtextstream.h>
|
||||
#include <QtCore/qstring.h>
|
||||
|
@ -5,6 +5,10 @@
|
||||
#ifndef QPLUGIN_H
|
||||
#define QPLUGIN_H
|
||||
|
||||
#if 0
|
||||
#pragma qt_class(QtPlugin)
|
||||
#endif
|
||||
|
||||
#include <QtCore/qobject.h>
|
||||
#include <QtCore/qpointer.h>
|
||||
#include <QtCore/qjsonobject.h>
|
||||
|
@ -3,6 +3,10 @@
|
||||
#ifndef QUTF8STRINGVIEW_H
|
||||
#define QUTF8STRINGVIEW_H
|
||||
|
||||
#if 0
|
||||
#pragma qt_class(QUtf8StringView)
|
||||
#endif
|
||||
|
||||
#include <QtCore/qstringalgorithms.h>
|
||||
#include <QtCore/qstringfwd.h>
|
||||
#include <QtCore/qarraydata.h> // for QContainerImplHelper
|
||||
|
@ -4,6 +4,10 @@
|
||||
#ifndef QALGORITHMS_H
|
||||
#define QALGORITHMS_H
|
||||
|
||||
#if 0
|
||||
#pragma qt_class(QtAlgorithms)
|
||||
#endif
|
||||
|
||||
#include <QtCore/qglobal.h>
|
||||
|
||||
#if __has_include(<bit>) && __cplusplus > 201703L
|
||||
|
@ -6,6 +6,10 @@
|
||||
#ifndef QCONTAINERFWD_H
|
||||
#define QCONTAINERFWD_H
|
||||
|
||||
#if 0
|
||||
#pragma qt_class(QtContainerFwd)
|
||||
#endif
|
||||
|
||||
// std headers can unfortunately not be forward declared
|
||||
#include <utility>
|
||||
|
||||
|
@ -4,6 +4,10 @@
|
||||
#ifndef QEVENT_H
|
||||
#define QEVENT_H
|
||||
|
||||
#if 0
|
||||
#pragma qt_class(QtEvents)
|
||||
#endif
|
||||
|
||||
#include <QtGui/qtguiglobal.h>
|
||||
|
||||
#include <QtCore/qcoreevent.h>
|
||||
|
@ -4,6 +4,10 @@
|
||||
#ifndef QPASSWORDDIGESTOR_H
|
||||
#define QPASSWORDDIGESTOR_H
|
||||
|
||||
#if 0
|
||||
#pragma qt_class(QPasswordDigestor)
|
||||
#endif
|
||||
|
||||
#include <QtNetwork/qtnetworkglobal.h>
|
||||
#include <QtCore/QByteArray>
|
||||
#include <QtCore/QCryptographicHash>
|
||||
|
@ -5,6 +5,10 @@
|
||||
#ifndef QSSL_H
|
||||
#define QSSL_H
|
||||
|
||||
#if 0
|
||||
#pragma qt_class(QSsl)
|
||||
#endif
|
||||
|
||||
#include <QtNetwork/qtnetworkglobal.h>
|
||||
#include <QtCore/QFlags>
|
||||
|
||||
|
@ -4,6 +4,10 @@
|
||||
#ifndef QTSQLGLOBAL_H
|
||||
#define QTSQLGLOBAL_H
|
||||
|
||||
#if 0
|
||||
#pragma qt_class(QSql)
|
||||
#endif
|
||||
|
||||
#include <QtCore/qglobal.h>
|
||||
#include <QtSql/qtsql-config.h>
|
||||
#include <QtSql/qtsqlexports.h>
|
||||
|
@ -5,6 +5,10 @@
|
||||
#ifndef QTEST_H
|
||||
#define QTEST_H
|
||||
|
||||
#if 0
|
||||
#pragma qt_class(QTest)
|
||||
#endif
|
||||
|
||||
#include <QtTest/qttestglobal.h>
|
||||
#include <QtTest/qtestcase.h>
|
||||
#include <QtTest/qtestdata.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user