equal
deleted
inserted
replaced
30 #include <QGraphicsLinearLayout> |
30 #include <QGraphicsLinearLayout> |
31 #include <QGraphicsGridLayout> |
31 #include <QGraphicsGridLayout> |
32 |
32 |
33 #include <QMetaObject> |
33 #include <QMetaObject> |
34 #include <QMetaEnum> |
34 #include <QMetaEnum> |
|
35 #include <QDebug> |
35 |
36 |
36 #include <hbanchorlayout.h> |
37 #include <hbanchorlayout.h> |
37 #include <hbstackedlayout.h> |
38 #include <hbstackedlayout.h> |
38 #include <hbdocumentloader.h> |
39 #include <hbdocumentloader.h> |
39 |
40 |
281 } |
282 } |
282 |
283 |
283 QVariant value; |
284 QVariant value; |
284 bool ok = variableToQVariant(variable, value); |
285 bool ok = variableToQVariant(variable, value); |
285 if (ok) { |
286 if (ok) { |
286 current->setProperty( propertyName, value ); |
287 bool isQProperty = current->setProperty( propertyName, value ); |
|
288 if ( !isQProperty ) { |
|
289 qWarning() << "DOCML warning: Dynamic property" << propertyName << "set. Property may have been removed from" << current->metaObject()->className(); |
|
290 } |
287 } |
291 } |
288 return ok; |
292 return ok; |
289 } |
293 } |
290 |
294 |
291 bool HbDocumentLoaderActions::pushRef( const QString &name, const QString &role ) |
295 bool HbDocumentLoaderActions::pushRef( const QString &name, const QString &role ) |