src/hbcore/utils/hbxmlloaderabstractsyntax_p.h
changeset 30 80e4d18b72f5
parent 28 b7da29130b0e
--- a/src/hbcore/utils/hbxmlloaderabstractsyntax_p.h	Fri Sep 17 08:32:10 2010 +0300
+++ b/src/hbcore/utils/hbxmlloaderabstractsyntax_p.h	Mon Oct 04 00:38:12 2010 +0300
@@ -86,6 +86,7 @@
         ActionCreateStackedLayout,
         ActionAddStackedLayoutItem,
         ActionCreateNullLayout,
+        ActionSetBackground,
         ActionEnd
     };
 
@@ -101,25 +102,7 @@
 
 struct HB_CORE_PRIVATE_EXPORT HbXmlLengthValue
 {
-    enum Type {
-        None = 0,
-        PlainNumber,
-        Pixel,
-        Unit,
-        Millimeter,
-        Variable,
-        VariableNegative,
-        Expression,
-        ExpressionNegative
-    };
-
-    HbXmlLengthValue() : mValue(0), mHashValue(0), mString(QString()), mType(None) {};
-    HbXmlLengthValue(qreal value, Type type) : mValue(value), mHashValue(0), mString(QString()), mType(type) {};
-
-    qreal mValue;
-    quint32 mHashValue;
-    QString mString;
-    Type mType;
+    QList<int> mValues;
 };
 
 HB_CORE_PRIVATE_EXPORT QDataStream &operator<<(QDataStream &, const HbXmlLengthValue &);
@@ -307,6 +290,8 @@
         SL_ITEMNAME, 
         SL_INDEX,
 
+        TYPE_BACKGROUND, 
+
         NUMBER_OF_LEXEMS // Keep this last!
     };