compile fixes on *nix

This commit is contained in:
hjk
2011-03-24 13:02:57 +01:00
parent 9352f4b68f
commit 8fac439e86
3 changed files with 8 additions and 8 deletions

View File

@@ -52,8 +52,6 @@
#include <QtCore/qvariant.h>
#include <QtScript/qscriptvalue.h>
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
QT_MODULE(Declarative)
@@ -74,9 +72,6 @@ public:
QGradient m_gradient;
};
Q_DECLARE_METATYPE(CanvasGradient*)
class CanvasImage: public QObject
{
Q_OBJECT
@@ -103,8 +98,6 @@ private:
QString m_src;
};
Q_DECLARE_METATYPE(CanvasImage*)
class ImageData {
};
@@ -337,6 +330,7 @@ private:
QT_END_NAMESPACE
QT_END_HEADER
Q_DECLARE_METATYPE(CanvasImage*)
Q_DECLARE_METATYPE(CanvasGradient*)
#endif // QDECLARATIVECONTEXT2D_P_H