qtcontactsmobility/src/versit/qversitproperty_p.h
changeset 27 de1630741fbe
parent 25 76a2435edfd4
--- a/qtcontactsmobility/src/versit/qversitproperty_p.h	Fri Apr 16 14:53:18 2010 +0300
+++ b/qtcontactsmobility/src/versit/qversitproperty_p.h	Mon May 03 12:24:20 2010 +0300
@@ -55,6 +55,7 @@
 
 #include "qversitdocument.h"
 #include "qmobilityglobal.h"
+#include "qversitproperty.h"
 
 #include <QSharedData>
 #include <QString>
@@ -68,25 +69,27 @@
 class QVersitPropertyPrivate : public QSharedData
 {
 public:
-    QVersitPropertyPrivate() : QSharedData() 
+    QVersitPropertyPrivate() : QSharedData(), mValueType(QVersitProperty::PlainType)
     {
-    }   
-    
-    QVersitPropertyPrivate(const QVersitPropertyPrivate& other) 
+    }
+
+    QVersitPropertyPrivate(const QVersitPropertyPrivate& other)
         : QSharedData(other),
         mGroups(other.mGroups),
         mName(other.mName),
         mParameters(other.mParameters),
-        mValue(other.mValue)
+        mValue(other.mValue),
+        mValueType(other.mValueType)
     {
-    }     
-    
+    }
+
     ~QVersitPropertyPrivate() {}
-    
+
     QStringList mGroups;
     QString mName;
     QMultiHash<QString,QString> mParameters;
     QVariant mValue;
+    QVersitProperty::ValueType mValueType;
 };
 
 QTM_END_NAMESPACE