summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-04-08 04:13:41 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-04-08 04:13:41 (GMT)
commit23e57fcf957bf6337591656ea0071df1b0bd9651 (patch)
treeb93fb1b7f7303cbc485c2ff13f9217c335c5c6a0
parent948263bf4bdfec1383f22fc0db50bafca2f8b5c8 (diff)
downloadQt-23e57fcf957bf6337591656ea0071df1b0bd9651.zip
Qt-23e57fcf957bf6337591656ea0071df1b0bd9651.tar.gz
Qt-23e57fcf957bf6337591656ea0071df1b0bd9651.tar.bz2
unwarn
-rw-r--r--tests/auto/declarative/qdeclarativevaluetypes/testtypes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativevaluetypes/testtypes.h b/tests/auto/declarative/qdeclarativevaluetypes/testtypes.h
index 0ad8449..64e4980 100644
--- a/tests/auto/declarative/qdeclarativevaluetypes/testtypes.h
+++ b/tests/auto/declarative/qdeclarativevaluetypes/testtypes.h
@@ -134,6 +134,7 @@ QML_DECLARE_TYPE(MyTypeObject);
class MyConstantValueSource : public QObject, public QDeclarativePropertyValueSource
{
Q_OBJECT
+ Q_INTERFACES(QDeclarativePropertyValueSource)
public:
virtual void setTarget(const QDeclarativeProperty &p) { p.write(3345); }
};
@@ -142,6 +143,7 @@ QML_DECLARE_TYPE(MyConstantValueSource);
class MyOffsetValueInterceptor : public QObject, public QDeclarativePropertyValueInterceptor
{
Q_OBJECT
+ Q_INTERFACES(QDeclarativePropertyValueInterceptor)
public:
virtual void setTarget(const QDeclarativeProperty &p) { prop = p; }
virtual void write(const QVariant &value) { QDeclarativePropertyPrivate::write(prop, value.toInt() + 13, QDeclarativePropertyPrivate::BypassInterceptor); }