qtmobility/src/versit/qversitproperty.h
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 11 06b8e2af4411
--- a/qtmobility/src/versit/qversitproperty.h	Fri Apr 16 15:51:22 2010 +0300
+++ b/qtmobility/src/versit/qversitproperty.h	Mon May 03 13:18:40 2010 +0300
@@ -61,6 +61,14 @@
 class Q_VERSIT_EXPORT QVersitProperty
 {
 public:
+    enum ValueType {
+        PlainType,
+        CompoundType,
+        ListType,
+        BinaryType,
+        VersitDocumentType
+    };
+
     QVersitProperty();
     QVersitProperty(const QVersitProperty& other);
     ~QVersitProperty();
@@ -90,6 +98,9 @@
     }
     QString value() const;
 
+    void setValueType(ValueType type);
+    ValueType valueType() const;
+
     bool isEmpty() const;
     void clear();
 
@@ -98,6 +109,11 @@
     QSharedDataPointer<QVersitPropertyPrivate> d;
 };
 
+Q_VERSIT_EXPORT uint qHash(const QVersitProperty& key);
+#ifndef QT_NO_DEBUG_STREAM
+Q_VERSIT_EXPORT QDebug operator<<(QDebug dbg, const QVersitProperty& property);
+#endif
+
 QTM_END_NAMESPACE
 
 #endif // QVERSITPROPERTY_H