aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlbundle_p.h
diff options
context:
space:
mode:
authorMatthew Vogt <matthew.vogt@nokia.com>2012-05-15 09:02:09 +1000
committerQt by Nokia <qt-info@nokia.com>2012-05-18 02:24:35 +0200
commit83e820ba767c2d37600d3536ebcfde18234d2f46 (patch)
treee1e146e5e9d0dd763415103139da9b021fa4c3e6 /src/qml/qml/qqmlbundle_p.h
parent7ac1a943b824d8624d16397fd4f8a5fa17a7dd9b (diff)
Remove unnecessary exports
Reduce library load time by removing any exports which are not required by existing clients. Task-number: QTBUG-24768 Change-Id: Ia5754d6f97bb2ed46e290820a5b092f85a4bc5b0 Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'src/qml/qml/qqmlbundle_p.h')
-rw-r--r--src/qml/qml/qqmlbundle_p.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/qml/qml/qqmlbundle_p.h b/src/qml/qml/qqmlbundle_p.h
index f09447c011..8c2cc55d95 100644
--- a/src/qml/qml/qqmlbundle_p.h
+++ b/src/qml/qml/qqmlbundle_p.h
@@ -44,7 +44,7 @@
#include <QtCore/qfile.h>
#include <QtCore/qstring.h>
-#include <QtQml/qtqmlglobal.h>
+#include <private/qtqmlglobal_p.h>
#ifdef Q_CC_MSVC
// nonstandard extension used : zero-sized array in struct/union.
@@ -53,11 +53,11 @@
QT_BEGIN_NAMESPACE
-class Q_QML_EXPORT QQmlBundle
+class Q_QML_PRIVATE_EXPORT QQmlBundle
{
Q_DISABLE_COPY(QQmlBundle)
public:
- struct Q_PACKED Q_QML_EXPORT Entry
+ struct Q_PACKED Q_QML_PRIVATE_EXPORT Entry
{
enum Kind {
File = 123, // Normal file
@@ -71,12 +71,12 @@ public:
quint64 size;
};
- struct Q_PACKED Q_QML_EXPORT RawEntry : public Entry
+ struct Q_PACKED Q_QML_PRIVATE_EXPORT RawEntry : public Entry
{
char data[]; // trailing data
};
- struct Q_PACKED Q_QML_EXPORT FileEntry : public Entry
+ struct Q_PACKED Q_QML_PRIVATE_EXPORT FileEntry : public Entry
{
quint64 link;
int fileNameLength;