qtmobility/src/contacts/qcontactid.h
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 11 06b8e2af4411
--- a/qtmobility/src/contacts/qcontactid.h	Fri Apr 16 15:51:22 2010 +0300
+++ b/qtmobility/src/contacts/qcontactid.h	Mon May 03 13:18:40 2010 +0300
@@ -49,6 +49,8 @@
 
 QTM_BEGIN_NAMESPACE
 
+typedef quint32 QContactLocalId;
+
 class QContactIdPrivate;
 class Q_CONTACTS_EXPORT QContactId
 {
@@ -61,6 +63,7 @@
 
     bool operator==(const QContactId& other) const;
     bool operator!=(const QContactId& other) const;
+    bool operator<(const QContactId& other) const;
 
     QString managerUri() const;
     QContactLocalId localId() const;
@@ -72,6 +75,11 @@
     QSharedDataPointer<QContactIdPrivate> d;
 };
 
+Q_CONTACTS_EXPORT uint qHash(const QContactId& key);
+#ifndef QT_NO_DEBUG_STREAM
+Q_CONTACTS_EXPORT QDebug operator<<(QDebug dbg, const QContactId& id);
+#endif
+
 QTM_END_NAMESPACE
 
 Q_DECLARE_TYPEINFO(QTM_PREPEND_NAMESPACE(QContactId), Q_MOVABLE_TYPE);