Remove use of QT_MODULE from library

These defines were there to aid in the commercial
licensing scheme we used long ago, and are no longer needed.

Keep a QT_MODULE(x) define so other modules continue compiling.

Change-Id: I8fd76cd5270df8f14aee746b6cf32ebf7c23fec7
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
This commit is contained in:
Gunnar Sletta 2012-01-09 08:53:17 +01:00 committed by Qt by Nokia
parent 00c8984b4e
commit 4ecf82795d
561 changed files with 25 additions and 732 deletions

View File

@ -1341,7 +1341,6 @@ if($check_includes) {
my $iheader = $subdir . "/" . $header; my $iheader = $subdir . "/" . $header;
if($public_header) { if($public_header) {
if(open(F, "<$iheader")) { if(open(F, "<$iheader")) {
my $qt_module_found = 0;
my $qt_begin_header_found = 0; my $qt_begin_header_found = 0;
my $qt_end_header_found = 0; my $qt_end_header_found = 0;
my $qt_begin_namespace_found = 0; my $qt_begin_namespace_found = 0;
@ -1376,8 +1375,6 @@ if($check_includes) {
$qt_begin_namespace_found = 1; $qt_begin_namespace_found = 1;
} elsif ($header_skip_qt_begin_namespace_test == 0 and $line =~ /^QT_END_NAMESPACE\s*$/) { } elsif ($header_skip_qt_begin_namespace_test == 0 and $line =~ /^QT_END_NAMESPACE\s*$/) {
$qt_end_namespace_found = 1; $qt_end_namespace_found = 1;
} elsif ($header_skip_qt_module_test == 0 and $line =~ /^QT_MODULE\(.*\)\s*$/) {
$qt_module_found = 1;
} }
} }
if ($header_skip_qt_begin_header_test == 0) { if ($header_skip_qt_begin_header_test == 0) {
@ -1400,11 +1397,6 @@ if($check_includes) {
} }
} }
if ($header_skip_qt_module_test == 0) {
if ($qt_module_found == 0) {
print "$lib: WARNING: $iheader does not include QT_MODULE\n";
}
}
close(F); close(F);
} }
} }

View File

@ -54,7 +54,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Gui)
#ifndef QT_NO_ANIMATION #ifndef QT_NO_ANIMATION

View File

@ -48,7 +48,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_ANIMATION #ifndef QT_NO_ANIMATION

View File

@ -48,7 +48,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_ANIMATION #ifndef QT_NO_ANIMATION

View File

@ -48,7 +48,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_ANIMATION #ifndef QT_NO_ANIMATION

View File

@ -48,7 +48,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_ANIMATION #ifndef QT_NO_ANIMATION

View File

@ -48,7 +48,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_ANIMATION #ifndef QT_NO_ANIMATION

View File

@ -48,7 +48,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_ANIMATION #ifndef QT_NO_ANIMATION

View File

@ -52,7 +52,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_ANIMATION #ifndef QT_NO_ANIMATION

View File

@ -42,16 +42,12 @@
#ifndef QATOMIC_ARM_H #ifndef QATOMIC_ARM_H
#define QATOMIC_ARM_H #define QATOMIC_ARM_H
QT_BEGIN_HEADER
#if defined(__ARM_ARCH_7__) \ #if defined(__ARM_ARCH_7__) \
|| defined(__ARM_ARCH_7A__) \ || defined(__ARM_ARCH_7A__) \
|| defined(__ARM_ARCH_7R__) \ || defined(__ARM_ARCH_7R__) \
|| defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7M__)
# define QT_ARCH_ARMV7 # define QT_ARCH_ARMV7
QT_BEGIN_INCLUDE_HEADER
# include "QtCore/qatomic_armv7.h" # include "QtCore/qatomic_armv7.h"
QT_END_INCLUDE_HEADER
#elif defined(__ARM_ARCH_6__) \ #elif defined(__ARM_ARCH_6__) \
|| defined(__ARM_ARCH_6J__) \ || defined(__ARM_ARCH_6J__) \
|| defined(__ARM_ARCH_6T2__) \ || defined(__ARM_ARCH_6T2__) \
@ -61,16 +57,10 @@ QT_END_INCLUDE_HEADER
|| defined(__ARM_ARCH_6M__) \ || defined(__ARM_ARCH_6M__) \
|| (defined(__TARGET_ARCH_ARM) && (__TARGET_ARCH_ARM-0 >= 6)) || (defined(__TARGET_ARCH_ARM) && (__TARGET_ARCH_ARM-0 >= 6))
# define QT_ARCH_ARMV6 # define QT_ARCH_ARMV6
QT_BEGIN_INCLUDE_HEADER
# include "QtCore/qatomic_armv6.h" # include "QtCore/qatomic_armv6.h"
QT_END_INCLUDE_HEADER
#else #else
# define QT_ARCH_ARMV5 # define QT_ARCH_ARMV5
QT_BEGIN_INCLUDE_HEADER
# include "QtCore/qatomic_armv5.h" # include "QtCore/qatomic_armv5.h"
QT_END_INCLUDE_HEADER
#endif #endif
QT_END_HEADER
#endif // QATOMIC_ARM_H #endif // QATOMIC_ARM_H

View File

@ -42,8 +42,6 @@
#ifndef QATOMIC_ARMV7_H #ifndef QATOMIC_ARMV7_H
#define QATOMIC_ARMV7_H #define QATOMIC_ARMV7_H
QT_BEGIN_HEADER
// use the DMB instruction when compiling for ARMv7, ... // use the DMB instruction when compiling for ARMv7, ...
#ifndef Q_CC_RCVT #ifndef Q_CC_RCVT
# define Q_DATA_MEMORY_BARRIER asm volatile("dmb\n":::"memory") # define Q_DATA_MEMORY_BARRIER asm volatile("dmb\n":::"memory")
@ -52,10 +50,6 @@ QT_BEGIN_HEADER
#endif #endif
// ... but the implementation is otherwise identical to that for ARMv6 // ... but the implementation is otherwise identical to that for ARMv6
QT_BEGIN_INCLUDE_HEADER
#include "QtCore/qatomic_armv6.h" #include "QtCore/qatomic_armv6.h"
QT_END_INCLUDE_HEADER
QT_END_HEADER
#endif // QATOMIC_ARMV7_H #endif // QATOMIC_ARMV7_H

View File

@ -49,7 +49,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_TEXTCODEC #ifndef QT_NO_TEXTCODEC

View File

@ -53,7 +53,6 @@
QT_BEGIN_HEADER QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
template <typename T> template <typename T>
class QFutureWatcher; class QFutureWatcher;

View File

@ -54,7 +54,6 @@
QT_BEGIN_HEADER QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
template <typename T> class QFuture; template <typename T> class QFuture;
class QFutureInterfaceBasePrivate; class QFutureInterfaceBasePrivate;

View File

@ -49,7 +49,6 @@
QT_BEGIN_HEADER QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
template <typename T> template <typename T>
class QFutureSynchronizer class QFutureSynchronizer

View File

@ -51,7 +51,6 @@
QT_BEGIN_HEADER QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QEvent; class QEvent;

View File

@ -47,7 +47,6 @@
QT_BEGIN_HEADER QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QRunnable class QRunnable
{ {

View File

@ -49,7 +49,6 @@
QT_BEGIN_HEADER QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#if defined (Q_CC_MSVC) && (_MSC_VER < 1300) #if defined (Q_CC_MSVC) && (_MSC_VER < 1300)
# define QT_TYPENAME # define QT_TYPENAME

View File

@ -56,7 +56,6 @@
QT_BEGIN_HEADER QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
namespace QtConcurrent namespace QtConcurrent
{ {

View File

@ -52,7 +52,6 @@
QT_BEGIN_HEADER QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifdef qdoc #ifdef qdoc

View File

@ -53,7 +53,6 @@
QT_BEGIN_HEADER QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef qdoc #ifndef qdoc

View File

@ -49,7 +49,6 @@
QT_BEGIN_HEADER QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef qdoc #ifndef qdoc

View File

@ -57,7 +57,6 @@
QT_BEGIN_HEADER QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef qdoc #ifndef qdoc

View File

@ -54,7 +54,6 @@
QT_BEGIN_HEADER QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifdef qdoc #ifdef qdoc

View File

@ -52,7 +52,6 @@
QT_BEGIN_HEADER QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef qdoc #ifndef qdoc
namespace QtConcurrent { namespace QtConcurrent {

View File

@ -52,7 +52,6 @@
QT_BEGIN_HEADER QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef qdoc #ifndef qdoc

View File

@ -57,7 +57,6 @@
QT_BEGIN_HEADER QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
namespace QtConcurrent { namespace QtConcurrent {

View File

@ -52,7 +52,6 @@
QT_BEGIN_HEADER QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
/* /*
ResultStore stores indexed results. Results can be added and retrieved ResultStore stores indexed results. Results can be added and retrieved

View File

@ -53,7 +53,6 @@
QT_BEGIN_HEADER QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifdef qdoc #ifdef qdoc

View File

@ -53,7 +53,6 @@
QT_BEGIN_HEADER QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef qdoc #ifndef qdoc

View File

@ -51,7 +51,6 @@
QT_BEGIN_HEADER QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef qdoc #ifndef qdoc

View File

@ -57,7 +57,6 @@
QT_BEGIN_HEADER QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef qdoc #ifndef qdoc

View File

@ -52,7 +52,6 @@
QT_BEGIN_HEADER QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QThreadPoolPrivate; class QThreadPoolPrivate;
class Q_CORE_EXPORT QThreadPool : public QObject class Q_CORE_EXPORT QThreadPool : public QObject

View File

@ -55,7 +55,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
/* /*
* ENDIAN FUNCTIONS * ENDIAN FUNCTIONS

View File

@ -143,13 +143,9 @@ namespace QT_NAMESPACE {}
#if defined(Q_OS_MAC) && !defined(Q_CC_INTEL) #if defined(Q_OS_MAC) && !defined(Q_CC_INTEL)
#define QT_BEGIN_HEADER extern "C++" { #define QT_BEGIN_HEADER extern "C++" {
#define QT_END_HEADER } #define QT_END_HEADER }
#define QT_BEGIN_INCLUDE_HEADER }
#define QT_END_INCLUDE_HEADER extern "C++" {
#else #else
#define QT_BEGIN_HEADER #define QT_BEGIN_HEADER
#define QT_END_HEADER #define QT_END_HEADER
#define QT_BEGIN_INCLUDE_HEADER
#define QT_END_INCLUDE_HEADER extern "C++"
#endif #endif
/* /*
@ -2440,138 +2436,7 @@ inline int qIntCast(float f) { return int(f); }
Q_CORE_EXPORT void qsrand(uint seed); Q_CORE_EXPORT void qsrand(uint seed);
Q_CORE_EXPORT int qrand(); Q_CORE_EXPORT int qrand();
/* #define QT_MODULE(x)
This gives us the possibility to check which modules the user can
use. These are purely compile time checks and will generate no code.
*/
/* Qt modules */
#define QT_MODULE_CORE 0x000001
#define QT_MODULE_GUI 0x000002
#define QT_MODULE_NETWORK 0x000004
#define QT_MODULE_OPENGL 0x000008
#define QT_MODULE_SQL 0x000010
#define QT_MODULE_XML 0x000020
#define QT_MODULE_SVG 0x000100
#define QT_MODULE_ACTIVEQT 0x000200
#define QT_MODULE_GRAPHICSVIEW 0x000400
#define QT_MODULE_SCRIPT 0x000800
#define QT_MODULE_XMLPATTERNS 0x001000
#define QT_MODULE_HELP 0x002000
#define QT_MODULE_TEST 0x004000
#define QT_MODULE_DBUS 0x008000
#define QT_MODULE_SCRIPTTOOLS 0x010000
#define QT_MODULE_OPENVG 0x020000
#define QT_MODULE_MULTIMEDIA 0x040000
#define QT_MODULE_DECLARATIVE 0x080000
/* Qt editions */
#define QT_EDITION_CONSOLE (QT_MODULE_CORE \
| QT_MODULE_NETWORK \
| QT_MODULE_SQL \
| QT_MODULE_SCRIPT \
| QT_MODULE_MULTIMEDIA \
| QT_MODULE_XML \
| QT_MODULE_XMLPATTERNS \
| QT_MODULE_TEST \
| QT_MODULE_DBUS)
#define QT_EDITION_DESKTOPLIGHT (QT_MODULE_CORE \
| QT_MODULE_GUI \
| QT_MODULE_TEST \
| QT_MODULE_DBUS)
#define QT_EDITION_OPENSOURCE (QT_MODULE_CORE \
| QT_MODULE_GUI \
| QT_MODULE_NETWORK \
| QT_MODULE_OPENGL \
| QT_MODULE_OPENVG \
| QT_MODULE_SQL \
| QT_MODULE_MULTIMEDIA \
| QT_MODULE_XML \
| QT_MODULE_XMLPATTERNS \
| QT_MODULE_SCRIPT \
| QT_MODULE_SCRIPTTOOLS \
| QT_MODULE_SVG \
| QT_MODULE_DECLARATIVE \
| QT_MODULE_GRAPHICSVIEW \
| QT_MODULE_HELP \
| QT_MODULE_TEST \
| QT_MODULE_DBUS \
| QT_MODULE_ACTIVEQT)
#define QT_EDITION_DESKTOP (QT_EDITION_OPENSOURCE)
#define QT_EDITION_UNIVERSAL QT_EDITION_DESKTOP
#define QT_EDITION_ACADEMIC QT_EDITION_DESKTOP
#define QT_EDITION_EDUCATIONAL QT_EDITION_DESKTOP
#define QT_EDITION_EVALUATION QT_EDITION_DESKTOP
/* Determine which modules can be used */
#ifndef QT_EDITION
# ifdef QT_BUILD_QMAKE
# define QT_EDITION QT_EDITION_DESKTOP
# else
# error "Qt not configured correctly, please run configure"
# endif
#endif
#define QT_LICENSED_MODULE(x) \
enum QtValidLicenseFor##x##Module { Licensed##x = true };
/* qdoc is really unhappy with the following block of preprocessor checks,
making it difficult to document classes properly after this point. */
#if (QT_EDITION & QT_MODULE_CORE)
QT_LICENSED_MODULE(Core)
#endif
#if (QT_EDITION & QT_MODULE_GUI)
QT_LICENSED_MODULE(Gui)
#endif
#if (QT_EDITION & QT_MODULE_NETWORK)
QT_LICENSED_MODULE(Network)
#endif
#if (QT_EDITION & QT_MODULE_OPENGL)
QT_LICENSED_MODULE(OpenGL)
#endif
#if (QT_EDITION & QT_MODULE_OPENVG)
QT_LICENSED_MODULE(OpenVG)
#endif
#if (QT_EDITION & QT_MODULE_SQL)
QT_LICENSED_MODULE(Sql)
#endif
#if (QT_EDITION & QT_MODULE_MULTIMEDIA)
QT_LICENSED_MODULE(Multimedia)
#endif
#if (QT_EDITION & QT_MODULE_XML)
QT_LICENSED_MODULE(Xml)
#endif
#if (QT_EDITION & QT_MODULE_XMLPATTERNS)
QT_LICENSED_MODULE(XmlPatterns)
#endif
#if (QT_EDITION & QT_MODULE_HELP)
QT_LICENSED_MODULE(Help)
#endif
#if (QT_EDITION & QT_MODULE_SCRIPT) || defined(QT_BUILD_QMAKE)
QT_LICENSED_MODULE(Script)
#endif
#if (QT_EDITION & QT_MODULE_SCRIPTTOOLS)
QT_LICENSED_MODULE(ScriptTools)
#endif
#if (QT_EDITION & QT_MODULE_SVG)
QT_LICENSED_MODULE(Svg)
#endif
#if (QT_EDITION & QT_MODULE_DECLARATIVE)
QT_LICENSED_MODULE(Declarative)
#endif
#if (QT_EDITION & QT_MODULE_ACTIVEQT)
QT_LICENSED_MODULE(ActiveQt)
#endif
#if (QT_EDITION & QT_MODULE_TEST)
QT_LICENSED_MODULE(Test)
#endif
#if (QT_EDITION & QT_MODULE_DBUS)
QT_LICENSED_MODULE(DBus)
#endif
#define QT_MODULE(x) \
typedef QtValidLicenseFor##x##Module Qt##x##Module;
#ifdef QT_NO_CONCURRENT #ifdef QT_NO_CONCURRENT
# define QT_NO_QFUTURE # define QT_NO_QFUTURE

View File

@ -49,7 +49,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_SETTINGS #ifndef QT_NO_SETTINGS

View File

@ -48,7 +48,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef Q_MOC_RUN #ifndef Q_MOC_RUN
namespace namespace

View File

@ -48,7 +48,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
Q_CORE_EXPORT bool qIsInf(double d); Q_CORE_EXPORT bool qIsInf(double d);
Q_CORE_EXPORT bool qIsNaN(double d); Q_CORE_EXPORT bool qIsNaN(double d);

View File

@ -52,7 +52,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QFileExtension; class QFileExtension;
class QFileExtensionResult; class QFileExtensionResult;

View File

@ -49,7 +49,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QObject; class QObject;
class QBufferPrivate; class QBufferPrivate;

View File

@ -54,7 +54,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QByteArray; class QByteArray;
class QIODevice; class QIODevice;

View File

@ -57,7 +57,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class Q_CORE_EXPORT QDebug class Q_CORE_EXPORT QDebug
{ {

View File

@ -51,7 +51,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QDirPrivate; class QDirPrivate;

View File

@ -48,7 +48,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QDirIteratorPrivate; class QDirIteratorPrivate;
class Q_CORE_EXPORT QDirIterator { class Q_CORE_EXPORT QDirIterator {

View File

@ -57,7 +57,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QAbstractFileEngine; class QAbstractFileEngine;
class QFilePrivate; class QFilePrivate;

View File

@ -50,7 +50,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QDir; class QDir;
class QDirIteratorPrivate; class QDirIteratorPrivate;

View File

@ -50,7 +50,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QFileSystemWatcherPrivate; class QFileSystemWatcherPrivate;

View File

@ -53,7 +53,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QFSFileEnginePrivate; class QFSFileEnginePrivate;

View File

@ -58,7 +58,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QByteArray; class QByteArray;
class QIODevicePrivate; class QIODevicePrivate;

View File

@ -50,7 +50,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_PROCESS #ifndef QT_NO_PROCESS

View File

@ -51,7 +51,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QResourcePrivate; class QResourcePrivate;

View File

@ -49,7 +49,6 @@
QT_BEGIN_HEADER QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
QT_END_NAMESPACE QT_END_NAMESPACE
#ifndef QT_NO_SETTINGS #ifndef QT_NO_SETTINGS

View File

@ -48,7 +48,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_STANDARDPATHS #ifndef QT_NO_STANDARDPATHS

View File

@ -49,7 +49,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_TEMPORARYFILE #ifndef QT_NO_TEMPORARYFILE

View File

@ -53,7 +53,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_TEMPORARYFILE #ifndef QT_NO_TEMPORARYFILE

View File

@ -58,7 +58,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QTextCodec; class QTextCodec;
class QTextDecoder; class QTextDecoder;

View File

@ -52,7 +52,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QUrlPrivate; class QUrlPrivate;
class QDataStream; class QDataStream;

View File

@ -64,7 +64,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QWinOverlappedIoNotifier; class QWinOverlappedIoNotifier;

View File

@ -63,7 +63,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_THREAD #ifndef QT_NO_THREAD

View File

@ -51,7 +51,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QAbstractItemModel; class QAbstractItemModel;
class QPersistentModelIndex; class QPersistentModelIndex;

View File

@ -48,7 +48,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_PROXYMODEL #ifndef QT_NO_PROXYMODEL

View File

@ -51,7 +51,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QIdentityProxyModelPrivate; class QIdentityProxyModelPrivate;

View File

@ -51,7 +51,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_ITEMVIEWS #ifndef QT_NO_ITEMVIEWS

View File

@ -52,7 +52,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QSortFilterProxyModelPrivate; class QSortFilterProxyModelPrivate;
class QSortFilterProxyModelLessThan; class QSortFilterProxyModelLessThan;

View File

@ -49,7 +49,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_STRINGLISTMODEL #ifndef QT_NO_STRINGLISTMODEL

View File

@ -49,7 +49,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QAbstractEventDispatcherPrivate; class QAbstractEventDispatcherPrivate;
class QSocketNotifier; class QSocketNotifier;

View File

@ -49,7 +49,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QObject; class QObject;

View File

@ -54,7 +54,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QCoreApplicationPrivate; class QCoreApplicationPrivate;
class QTextCodec; class QTextCodec;

View File

@ -50,7 +50,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QEventPrivate; class QEventPrivate;
class Q_CORE_EXPORT QEvent // event base class class Q_CORE_EXPORT QEvent // event base class

View File

@ -48,7 +48,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QEventLoopPrivate; class QEventLoopPrivate;

View File

@ -56,7 +56,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
extern "C" { extern "C" {

View File

@ -65,7 +65,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
#ifdef QT_BUILD_CORE_LIB #ifdef QT_BUILD_CORE_LIB
QT_MODULE(Core)
#endif #endif
QT_END_NAMESPACE QT_END_NAMESPACE

View File

@ -60,7 +60,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
#ifdef QT_BUILD_CORE_LIB #ifdef QT_BUILD_CORE_LIB
QT_MODULE(Core)
#endif #endif
QT_END_NAMESPACE QT_END_NAMESPACE

View File

@ -50,7 +50,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#define QT_SINE_TABLE_SIZE 256 #define QT_SINE_TABLE_SIZE 256

View File

@ -49,7 +49,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
template <typename T> class QList; template <typename T> class QList;

View File

@ -55,7 +55,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
// F is a tuple: (QMetaType::TypeName, QMetaType::TypeNameID, RealType) // F is a tuple: (QMetaType::TypeName, QMetaType::TypeNameID, RealType)
#define QT_FOR_EACH_STATIC_PRIMITIVE_TYPE(F)\ #define QT_FOR_EACH_STATIC_PRIMITIVE_TYPE(F)\

View File

@ -49,7 +49,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QUrl; class QUrl;
class QMimeDataPrivate; class QMimeDataPrivate;

View File

@ -60,7 +60,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QEvent; class QEvent;
class QTimerEvent; class QTimerEvent;

View File

@ -49,7 +49,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
namespace QtPrivate { namespace QtPrivate {
template <typename T> struct RemoveRef { typedef T Type; }; template <typename T> struct RemoveRef { typedef T Type; };

View File

@ -48,7 +48,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class Q_CORE_EXPORT QObjectCleanupHandler : public QObject class Q_CORE_EXPORT QObjectCleanupHandler : public QObject
{ {

View File

@ -48,7 +48,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QByteArray; class QByteArray;

View File

@ -48,7 +48,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#if QT_DEPRECATED_SINCE(5,0) #if QT_DEPRECATED_SINCE(5,0)

View File

@ -48,7 +48,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_SHAREDMEMORY #ifndef QT_NO_SHAREDMEMORY

View File

@ -48,7 +48,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_SIGNALMAPPER #ifndef QT_NO_SIGNALMAPPER
class QSignalMapperPrivate; class QSignalMapperPrivate;

View File

@ -48,7 +48,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class Q_CORE_EXPORT QSocketNotifier : public QObject class Q_CORE_EXPORT QSocketNotifier : public QObject
{ {

View File

@ -49,7 +49,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_SYSTEMSEMAPHORE #ifndef QT_NO_SYSTEMSEMAPHORE

View File

@ -51,7 +51,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class Q_CORE_EXPORT QTimer : public QObject class Q_CORE_EXPORT QTimer : public QObject
{ {

View File

@ -49,7 +49,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_TRANSLATION #ifndef QT_NO_TRANSLATION

View File

@ -54,7 +54,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QBitArray; class QBitArray;
class QDataStream; class QDataStream;

View File

@ -54,7 +54,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class Q_CORE_EXPORT QWinEventNotifier : public QObject class Q_CORE_EXPORT QWinEventNotifier : public QObject
{ {

View File

@ -49,7 +49,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
struct Q_CORE_EXPORT QFactoryInterface struct Q_CORE_EXPORT QFactoryInterface
{ {

View File

@ -48,7 +48,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#if defined(QT_NO_LIBRARY) && defined(Q_OS_WIN) #if defined(QT_NO_LIBRARY) && defined(Q_OS_WIN)
#undef QT_NO_LIBRARY #undef QT_NO_LIBRARY

View File

@ -49,7 +49,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef Q_EXTERN_C #ifndef Q_EXTERN_C
# ifdef __cplusplus # ifdef __cplusplus

View File

@ -55,7 +55,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QLibraryPrivate; class QLibraryPrivate;

View File

@ -63,7 +63,6 @@ typedef struct _GUID
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class Q_CORE_EXPORT QUuid class Q_CORE_EXPORT QUuid
{ {

View File

@ -48,7 +48,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_STATEMACHINE #ifndef QT_NO_STATEMACHINE

View File

@ -50,7 +50,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_STATEMACHINE #ifndef QT_NO_STATEMACHINE

View File

@ -49,7 +49,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_STATEMACHINE #ifndef QT_NO_STATEMACHINE

View File

@ -48,7 +48,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_STATEMACHINE #ifndef QT_NO_STATEMACHINE

View File

@ -48,7 +48,6 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
QT_MODULE(Core)
#ifndef QT_NO_STATEMACHINE #ifndef QT_NO_STATEMACHINE

Some files were not shown because too many files have changed in this diff Show More