summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmlpackage.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-05-22 06:50:10 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-05-22 06:50:10 (GMT)
commit98c4fb27bb930f19365395a3fd75e4c3012640cb (patch)
treece58ff89b6baa3b8b64cd1445be702022ef3c051 /src/declarative/util/qmlpackage.h
parentce49990c3764304e76b4d2c1705fcad677ec9f73 (diff)
downloadQt-98c4fb27bb930f19365395a3fd75e4c3012640cb.zip
Qt-98c4fb27bb930f19365395a3fd75e4c3012640cb.tar.gz
Qt-98c4fb27bb930f19365395a3fd75e4c3012640cb.tar.bz2
Use the true metatype of attached properties in the compiler
Diffstat (limited to 'src/declarative/util/qmlpackage.h')
-rw-r--r--src/declarative/util/qmlpackage.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/util/qmlpackage.h b/src/declarative/util/qmlpackage.h
index 3861890..f4167fd 100644
--- a/src/declarative/util/qmlpackage.h
+++ b/src/declarative/util/qmlpackage.h
@@ -57,6 +57,7 @@ QT_MODULE(Declarative)
*****************************************************************************/
class QmlPackagePrivate;
+class QmlPackageAttached;
class QmlPackage : public QObject
{
Q_OBJECT
@@ -74,7 +75,7 @@ public:
QObject *part(const QString & = QString());
bool hasPart(const QString &);
- static QObject *qmlAttachedProperties(QObject *);
+ static QmlPackageAttached *qmlAttachedProperties(QObject *);
};
QML_DECLARE_TYPE(QmlPackage);