qtmobility/src/contacts/qcontactactiondescriptor.h
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
--- a/qtmobility/src/contacts/qcontactactiondescriptor.h	Fri Apr 16 15:51:22 2010 +0300
+++ b/qtmobility/src/contacts/qcontactactiondescriptor.h	Mon May 03 13:18:40 2010 +0300
@@ -53,7 +53,7 @@
 class Q_CONTACTS_EXPORT QContactActionDescriptor
 {
 public:
-    QContactActionDescriptor(const QString& actionName = QString(), const QString& vendorName = QString(), int vendorVersion = -1);
+    explicit QContactActionDescriptor(const QString& actionName = QString(), const QString& vendorName = QString(), int vendorVersion = -1);
     QContactActionDescriptor(const QContactActionDescriptor& other);
     QContactActionDescriptor& operator=(const QContactActionDescriptor& other);
     ~QContactActionDescriptor();
@@ -61,6 +61,7 @@
     bool isEmpty() const;
     bool operator==(const QContactActionDescriptor& other) const;
     bool operator!=(const QContactActionDescriptor& other) const;
+    bool operator<(const QContactActionDescriptor& other) const;
 
     void setActionName(const QString& actionName);
     void setVendorName(const QString& vendorName);
@@ -74,6 +75,8 @@
     QSharedDataPointer<QContactActionDescriptorPrivate> d;
 };
 
+Q_CONTACTS_EXPORT uint qHash(const QContactActionDescriptor& key);
+
 QTM_END_NAMESPACE
 
 Q_DECLARE_TYPEINFO(QTM_PREPEND_NAMESPACE(QContactActionDescriptor), Q_MOVABLE_TYPE);