diff options
author | Wolfgang Beck <wolfgang.beck@nokia.com> | 2010-02-10 23:41:37 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-02-16 00:53:36 (GMT) |
commit | c6ba330bc92ad8704f53a79f8f79d87c22b1db1e (patch) | |
tree | a2a5fe116c6d10ef5239a4352aa0215325500861 /src/declarative/util | |
parent | 4460d24950614bd7c60ad7ec14e0418f1b06cc86 (diff) | |
download | Qt-c6ba330bc92ad8704f53a79f8f79d87c22b1db1e.zip Qt-c6ba330bc92ad8704f53a79f8f79d87c22b1db1e.tar.gz Qt-c6ba330bc92ad8704f53a79f8f79d87c22b1db1e.tar.bz2 |
MOBILITY-404 QS Windows.
Diffstat (limited to 'src/declarative/util')
-rw-r--r-- | src/declarative/util/qmlpixmapcache.cpp | 4 | ||||
-rw-r--r-- | src/declarative/util/qmlstategroup.cpp | 4 | ||||
-rw-r--r-- | src/declarative/util/qmlstyledtext.cpp | 4 | ||||
-rw-r--r-- | src/declarative/util/qmlstyledtext_p.h | 5 | ||||
-rw-r--r-- | src/declarative/util/qmlxmllistmodel.cpp | 4 |
5 files changed, 15 insertions, 6 deletions
diff --git a/src/declarative/util/qmlpixmapcache.cpp b/src/declarative/util/qmlpixmapcache.cpp index c03b5df..acd1b89 100644 --- a/src/declarative/util/qmlpixmapcache.cpp +++ b/src/declarative/util/qmlpixmapcache.cpp @@ -600,6 +600,6 @@ int QmlPixmapCache::pendingRequests() return qmlActivePixmapReplies()->count(); } -#include <qmlpixmapcache.moc> - QT_END_NAMESPACE + +#include <qmlpixmapcache.moc> diff --git a/src/declarative/util/qmlstategroup.cpp b/src/declarative/util/qmlstategroup.cpp index d4db2b9..aad19d9 100644 --- a/src/declarative/util/qmlstategroup.cpp +++ b/src/declarative/util/qmlstategroup.cpp @@ -55,8 +55,6 @@ QT_BEGIN_NAMESPACE DEFINE_BOOL_CONFIG_OPTION(stateChangeDebug, STATECHANGE_DEBUG); -QML_DEFINE_TYPE(Qt,4,6,StateGroup,QmlStateGroup) - class QmlStateGroupPrivate : public QObjectPrivate { Q_DECLARE_PUBLIC(QmlStateGroup) @@ -421,3 +419,5 @@ void QmlStateGroup::removeState(QmlState *state) } QT_END_NAMESPACE + +QML_DEFINE_TYPE(Qt,4,6,StateGroup,QmlStateGroup) diff --git a/src/declarative/util/qmlstyledtext.cpp b/src/declarative/util/qmlstyledtext.cpp index 36b5e49..63f341e 100644 --- a/src/declarative/util/qmlstyledtext.cpp +++ b/src/declarative/util/qmlstyledtext.cpp @@ -58,6 +58,8 @@ The opening and closing tags must be correctly nested. */ +QT_BEGIN_NAMESPACE + class QmlStyledTextPrivate { public: @@ -341,3 +343,5 @@ QStringRef QmlStyledTextPrivate::parseValue(const QChar *&ch, const QString &tex return QStringRef(&textIn, valStart, valLength); } + +QT_END_NAMESPACE diff --git a/src/declarative/util/qmlstyledtext_p.h b/src/declarative/util/qmlstyledtext_p.h index 0cfb43e..502a4b5 100644 --- a/src/declarative/util/qmlstyledtext_p.h +++ b/src/declarative/util/qmlstyledtext_p.h @@ -44,10 +44,13 @@ #include <QSizeF> +QT_BEGIN_NAMESPACE + class QPainter; class QPointF; class QString; class QmlStyledTextPrivate; + class Q_DECLARATIVE_EXPORT QmlStyledText { public: @@ -60,4 +63,6 @@ private: QmlStyledTextPrivate *d; }; +QT_END_NAMESPACE + #endif diff --git a/src/declarative/util/qmlxmllistmodel.cpp b/src/declarative/util/qmlxmllistmodel.cpp index d31fadf..b2c2e61 100644 --- a/src/declarative/util/qmlxmllistmodel.cpp +++ b/src/declarative/util/qmlxmllistmodel.cpp @@ -126,8 +126,6 @@ private: QString m_query; }; -QML_DECLARE_TYPE(QmlXmlListModelRole) - class QmlXmlListModelPrivate; struct QmlXmlRoleList : public QmlConcreteList<QmlXmlListModelRole *> { @@ -725,4 +723,6 @@ void QmlXmlListModel::queryCompleted(int id, int size) QT_END_NAMESPACE +QML_DECLARE_TYPE(QmlXmlListModelRole) + #include <qmlxmllistmodel.moc> |